hi I am encountering the following error in jboss whose internal ip 172.16.1.1 and external ip is 59.145.145.71 ie, this is a NAT. When i try to connect to 59.145.145.71:1099 port i get the following error. I am running Win2K Advanced Server behind PIX 515e Firewall
I have followed the wiki guide of jboss behind firewall and have opened all the ports mentioned there in my pix firewall and also specified the arguments in run.bat anonymous wrote : -Djava.rmi.server.hostname=59.145.145.71 | -Djava.rmi.server.useLocalHostname=false the part of the run.bat which says above is anonymous wrote : rem Setup JBoss specific properties | set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -Djava.rmi.server.hostname=59.145.145.71 -Djava.rmi.server.useLocalHostname=false -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8080 | set JBOSS_HOME=%DIRNAME%\.. i have removed the rmi-il-service.xml & snmp-adaptor.sar also as per the wiki. and the client code reflects this as anonymous wrote : jnp://59.145.145.71:1099 the full error output is anonymous wrote : [15-11 16:34:04,609] [ INFO] [Main Thread] [(PropertiesFileReader.java)] - Modem plugin properties file successfully read | [15-11 16:34:04,656] [ INFO] [Main Thread] [(ModemPlugin.java)] - Properties file successfully read | [15-11 16:34:04,656] [ INFO] [Main Thread] [(ModemPlugin.java)] - Starting JmsSenderPool | [15-11 16:34:58,344] [ WARN] [Main Thread] [(ServiceLocator.java)] - ***Any exception stack trace (possibly the javax.naming.CommunicationException) printed above is printed by JNDI connection factory used, which cannot be masked. The exception is handled properly | [15-11 16:34:58,344] [ERROR] [Main Thread] [(JmsSender.java)] - Failed to lookup JMS Queue | [15-11 16:34:58,344] [ERROR] [Main Thread] [(JmsSender.java)] - class com.mobiapps.mtrak.modemplugin.JmsSender | javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 172.16.1.71; nested exception is: | java.net.NoRouteToHostException: Operation timed out] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at com.mobiapps.mtrak.modemplugin.ServiceLocator.lookup(ServiceLocator.java:124) | at com.mobiapps.mtrak.modemplugin.JmsSender.getReferences(JmsSender.java:77) | at com.mobiapps.mtrak.modemplugin.JmsSender.(JmsSender.java:56) | at com.mobiapps.mtrak.modemplugin.JmsSenderPool.(JmsSenderPool.java:40) | at com.mobiapps.mtrak.modemplugin.JmsSenderPool.getInstance(JmsSenderPool.java:51) | at com.mobiapps.mtrak.modemplugin.ModemPlugin.main(ModemPlugin.java:97) | Caused by: java.rmi.ConnectIOException: Exception creating connection to: 172.16.1.71; nested exception is: | java.net.NoRouteToHostException: Operation timed out | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:587) | at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) | at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94) | at org.jnp.server.NamingServer_Stub.lookup(Ljavax.naming.Name;)Ljava.lang.Object;(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) | ... 8 more | Caused by: java.net.NoRouteToHostException: Operation timed out | at jrockit.net.SocketNativeIO.connect(Ljava.io.FileDescriptor;Ljava.net.InetAddress;III)I(Unknown Source) | at java.net.AbstractSocketImpl.doConnect(Ljava.net.InetAddress;II)V(Unknown Source) | at java.net.PlainSocketImpl.doConnect(Ljava.net.InetAddress;II)V(Unknown Source) | at java.net.PlainSocketImpl.connectToAddress(Ljava.net.InetAddress;II)V(Unknown Source) | at java.net.PlainSocketImpl.connect(Ljava.net.SocketAddress;I)V(Unknown Source) | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) | at java.net.Socket.connect(Socket.java:507) | at java.net.Socket.connect(Socket.java:457) | at java.net.Socket.(Socket.java:365) | at java.net.Socket.(Socket.java:178) | at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) | at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) | ... 13 more | [15-11 16:35:26,125] [ WARN] [Main Thread] [(ServiceLocator.java)] - ***Any exception stack trace (possibly the javax.naming.CommunicationException) printed above is printed by JNDI connection factory used, which cannot be masked. The exception is handled properly | [15-11 16:35:26,125] [ERROR] [Main Thread] [(JmsSender.java)] - Failed to lookup JMS Queue | [15-11 16:35:26,125] [ERROR] [Main Thread] [(JmsSender.java)] - class com.mobiapps.mtrak.modemplugin.JmsSender | javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 172.16.1.71; nested exception is: | java.net.NoRouteToHostException: Operation timed out] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at com.mobiapps.mtrak.modemplugin.ServiceLocator.lookup(ServiceLocator.java:124) | at com.mobiapps.mtrak.modemplugin.JmsSender.getReferences(JmsSender.java:77) | at com.mobiapps.mtrak.modemplugin.JmsSender.(JmsSender.java:56) | at com.mobiapps.mtrak.modemplugin.JmsSenderPool.(JmsSenderPool.java:40) | at com.mobiapps.mtrak.modemplugin.JmsSenderPool.getInstance(JmsSenderPool.java:51) | at com.mobiapps.mtrak.modemplugin.ModemPlugin.main(ModemPlugin.java:97) | Caused by: java.rmi.ConnectIOException: Exception creating connection to: 172.16.1.71; nested exception is: | java.net.NoRouteToHostException: Operation timed out | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:587) | at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) | at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94) | at org.jnp.server.NamingServer_Stub.lookup(Ljavax.naming.Name;)Ljava.lang.Object;(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) | ... 8 more | Caused by: java.net.NoRouteToHostException: Operation timed out | at jrockit.net.SocketNativeIO.connect(Ljava.io.FileDescriptor;Ljava.net.InetAddress;III)I(Unknown Source) | at java.net.AbstractSocketImpl.doConnect(Ljava.net.InetAddress;II)V(Unknown Source) | at java.net.PlainSocketImpl.doConnect(Ljava.net.InetAddress;II)V(Unknown Source) | at java.net.PlainSocketImpl.connectToAddress(Ljava.net.InetAddress;II)V(Unknown Source) | at java.net.PlainSocketImpl.connect(Ljava.net.SocketAddress;I)V(Unknown Source) | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) | at java.net.Socket.connect(Socket.java:507) | at java.net.Socket.connect(Socket.java:457) | at java.net.Socket.(Socket.java:365) | at java.net.Socket.(Socket.java:178) | at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) | at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) | ... 13 more | please guide me how to proceed regards shann View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907196#3907196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907196 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user