[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException error when access
jaikiran
do-not-reply at jboss.com
Mon Mar 5 22:32:02 EST 2007
emcwoo, i havent tried this before so i might not be of much help. However, you could try changing
anonymous wrote : java.naming.provider.url=http://localhost:8080/invoker/JMXInvokerServlet
to
anonymous wrote : java.naming.provider.url=http://<your-machine-name>:8080/invoker/JMXInvokerServlet
I did the following to figure out what provider url to specify:
- Go to http://localhost:8080/jmx-console
- Click on service=invoker,target=Naming,type=http
- On the page that comes up, check what's the value in the textbox corresponding to the 'InvokerURL' property.
- Use this exact value as the value for java.naming.provider.url and then use it for running your application
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025273#4025273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025273
More information about the jboss-user
mailing list