Re: the listening port in client and cross firewall

Tim Anderson <[email protected]> Sat, 03 Jun 2006 22:03:36 +1000
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
?? wrote:

hi Tim
i took your device about removing other connector configuration.
but i got fellow exception:(openjms , tomcat ,client in one computer)

javax.naming.CommunicationException: Failed to get registry service for URL: http://127.0.0.1:8080 [Root exception is java.rmi.ConnectIOException: Failed to create connection; nested exception is:
org.exolab.jms.net.connector.ConnectException: Failed to connect to URI= http://127.0.0.1:8080/openjms-tunnel/tunnel ]

at org.exolab.jms.jndi.InitialContextFactory.getInitialContext(InitialContextFactory.java:145)

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)

at javax.naming.InitialContext.init(InitialContext.java:223)

at javax.naming.InitialContext.<init>(InitialContext.java:197)

the httpConfiguration in openjms.xml is "<HttpConfiguration host="127.0.0.1" webServerPort="8080" port="3030" servlet="/openjms-tunnel/tunnel" />"
and i put openjms-tunnel.war in the webapp directory of tomcat.
i don't know how to resolve it.

Sounds like the tunnel isnt deployed correctly. To check this, go to
http://localhost:8080/manager/html/

You should see:

Path
Display Name
Running
Sessions
Commands

/manager
Tomcat Manager
Application
true
0
Start Stop
Reload Undeploy

/openjms-tunnel
OpenJMS HTTP tunnel
true
0
Start Stop Reload Undeploy

_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user