• Post Reply Bookmark Topic Watch Topic
  • New Topic

Which port number of Naming service for J2EE RI  RSS feed

 
John Zoetebier
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My JNDI.properties file is:
java.naming.factory.initialcom.sun.jndi.rmi.registry.RegistryContextFactory
#java.naming.provider.urlrmi://localhost:1099
java.naming.provider.urlrmi://localhost:4848
Port 1099 does not work: javax.naming.ServiceUnavailableException
Port 4848 gets a timeout.
I use asadmin to start the default domain domain1.
Version 1.3.1 did have j2EE -verbose, but there does not seem to be an equivalent option for asadmin.
Is there any way I can see which port the Naming service is running on ?
 
Vinod John
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually you can specify the port in one of the property file. Just check you app server (admin) documentation.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!