Remote EJB lookup from another App Server on a different net
ryeager Nov 22, 2004 5:55 PMI have an application that is running on Linux boxes in it's own ethernet network. The application can access all session beans on any of the boxes. I am now trying to access one session bean from WebSphere Application Developer through an installed token ring card. I keep failing on the context lookup. The operation times out with the following exception.
[11/22/04 17:20:44:753 EST] 5f3ee10c WebGroup I SRVE0181I: [ATP-Example] [/ATP_Example] [Servlet.LOG]: Failed to configure EJB proxy: javax.naming.CommunicationException. Root exception is java.rmi.ConnectException: Connection refused to host: 172.17.1.1; nested exception is:
java.net.ConnectException: Operation timed out: connect
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:345)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:157)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:144)
at java.net.Socket.(Socket.java:294)
at java.net.Socket.(Socket.java:121)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:38)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:133)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:521)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:217)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:201)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:96)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:493)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:472)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at InitServlet2.init(InitServlet2.java:63)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:903)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:266)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:583)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1252)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:274)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:345)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:208)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:968)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:133)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:397)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:751)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:347)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:539)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:250)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:524)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:415)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:524)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:415)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:131)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:228)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Any help determining why I cannot access my session bean via the internal ethernet network and an external token ring network would be appreciated.