File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes remote EJB server's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "remote EJB server Watch "remote EJB server New topic
Author

remote EJB server's

Moriceau S�bastien
Greenhorn

Joined: Jan 26, 2004
Posts: 3
Hello,
i have a server websphere that would like to connect to an another EJB server, but when in configure my file web.xml iiop://myserverEJB:900
i have this error :
Thanks for your answer
Seb.

null; Caught CORBA.COMM_FAILURE when resolving initial reference=WsnNameService
Stack trace javax.servlet.ServletException at ru.kck.web.ServletController.service(ServletController.java:78) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code)) at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Inlined Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code)) at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code)) at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code)) at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code)) at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code)) at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code)) at com.ibm.ws.util.CachedThread.run(ThreadPool.java(Compiled Code))
[ORIGIN OF SERVLET EXCEPTION]
ru.kck.error.ApplicationException at ru.kck.web.SessionFactory.(SessionFactory.java:63) at sp.factory.com.TranslatorSessionFactory.(TranslatorSessionFactory.java:27) at sp.factory.com.TranslatorSessionFactory.getInstance(TranslatorSessionFactory.java:32) at sp.com.conf.I18NManager.init(I18NManager.java:30) at sp.service.com.FideliService.initService(FideliService.java:36) at sp.service.connection.LoginService.initService(LoginService.java:31) at ru.kck.web.ApplicationService.execute(ApplicationService.java:39) at ru.kck.web.ServletController.service(ServletController.java:66) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code)) at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Inlined Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code)) at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code)) at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code)) at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code)) at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code)) at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code)) at com.ibm.ws.util.CachedThread.run(ThreadPool.java(Compiled Code))
[ORIGIN OF APPLICATION EXCEPTION]
javax.naming.CommunicationException: Caught CORBA.COMM_FAILURE when resolving initial reference=WsnNameService. Root exception is org.omg.CORBA.COMM_FAILURE: minor code: 3 completed: No at com.ibm.CORBA.iiop.HTTPConnection.send(HTTPConnection.java:447) at com.ibm.CORBA.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java(Compiled Code)) at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java(Compiled Code)) at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java(Compiled Code)) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java(Compiled Code)) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java(Compiled Code)) at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java(Compiled Code)) at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:37) at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:600) at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:354) at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:229) at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98) at com.ibm.ws.naming.util.WsnInitCtx.(WsnInitCtx.java:79) at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137) at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java(Compiled Code)) at javax.naming.InitialContext.init(InitialContext.java:231) at javax.naming.InitialContext.(InitialContext.java:207) at ru.kck.web.SessionFactory.(SessionFactory.java:57) at sp.factory.com.TranslatorSessionFactory.(TranslatorSessionFactory.java:27) at sp.factory.com.TranslatorSessionFactory.getInstance(TranslatorSessionFactory.java:32) at sp.com.conf.I18NManager.init(I18NManager.java:30) at sp.service.com.FideliService.initService(FideliService.java:36) at sp.service.connection.LoginService.initService(LoginService.java:31) at ru.kck.web.ApplicationService.execute(ApplicationService.java:39) at ru.kck.web.ServletController.service(ServletController.java:66) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code)) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code)) at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled Code)) at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Inlined Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code)) at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code)) at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code)) at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code)) at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code)) at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code)) at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code)) at com.ibm.ws.util.CachedThread.run(ThreadPool.java(Compiled Code))
Peter Kristensson
Ranch Hand

Joined: Jul 02, 2001
Posts: 118
Hi.
It looks like you're running version WAS version 4. can you be more specific on which fixlevel you're on?
Du you run with security enabled?
Have you checked out the recent issues that have arisen due to expired certificates in the IBM JVM?
Regards
/Peter
Moriceau S�bastien
Greenhorn

Joined: Jan 26, 2004
Posts: 3
Hello,
Sorry for the version.
I used websphere 4.0.7
I didn't used security parameter.
Thanks.
Seb
prem lall
Greenhorn

Joined: Jun 21, 2003
Posts: 15
Hi,
This exception seems to be root of your problem:
http://java.sun.com/j2se/1.3/docs/api/javax/naming/CommunicationException.html
This indicates that your naming service may be down or cant be reached..
Perhaps the url you are using to locate the JNDI name is incorrect. Make sure your admin server has been installed using the default port of 900.
Moriceau S�bastien
Greenhorn

Joined: Jan 26, 2004
Posts: 3
Hello,
Thanks, for your answer.
I have found my problem.
My firewall block all port between my ejb server and my server.
I have open this port 900, 9000 and 3000 - 4000 and now it's OK.
Best regards,
Seb.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: remote EJB server's
 
Similar Threads
IllegalStateException RequestDispatcher.forward
Prob. in websphere4.0
GET is not defined in RFC 2068
IllegalStateException
Call servlet from action class