AW: Problem Accessing EJB's in one weblogic server to another

Andreas Berg <[email protected]> Thu, 23 Mar 2006 09:22:54 +0100
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
Have you checked whether the TCP connection is working? A low level =
check like "telnet sienna.dev.com 1599" executed from the other =
application server will show you whether you have a =
firewall/network/infrastructure problem or if it's related to Weblogic. =
Another common fault is the setup of your initial context settings.
=20
Kind regards,
=20
Andreas.
=20
=20
Andreas Berg
Zelfi AG
Hechtsheimer Stra=DFe 33
55131 Mainz
Telefon: 06131-9064850
Telefax: 06131-9064853
[email protected]
http://www.zelfi.com/
=20

________________________________

Von: A mailing list for Enterprise JavaBeans development =
[mailto:[email protected]] Im Auftrag von manoranjan_Bv
Gesendet: Dienstag, 21. M=E4rz 2006 15:58
An: [email protected]
Betreff: Problem Accessing EJB's in one weblogic server to another


Hi All,
=20
I have a Enterprise application installed on a Weblogic 7.0 Server. =
There are a couple of EJB's running in this application. I have a =
webapplication which accesses the EJB's of the enterprise application. =
The initial setup is having both the applications installed on the same =
Weblogic instance on a single machine. However when I install the web =
application on a Weblogic 8.1 with SP5, I am getting the following =
Exception -=20
=20
javax.naming.CommunicationException [Root exception is =
java.net.ConnectException: t3://sienna.dev.com:1599: Destination =
unreachable; nested exception is:=20
 java.net.ConnectException: Connection refused: connect; No available =
router to destination]
 at =
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTra=
nslator.java:47)
 at =
weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitial=
ContextFactoryDelegate.java:636)
 at =
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitial=
ContextFactoryDelegate.java:306)
 at =
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitial=
ContextFactoryDelegate.java:239)
 at =
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextF=
actory.java:135)
 at =
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
 at =
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
 at javax.naming.InitialContext.init(InitialContext.java:219)
 at javax.naming.InitialContext.<init>(InitialContext.java:195)
 at =
com.workflow.services.dao.BizLogicInteraction.setBLServer(BizLogicInterac=
tion.java:1122)
 at =
com.workflow.services.dao.BizLogicInteraction.connect(BizLogicInteraction=
.java:1076)
 at =
com.workflow.services.dao.BizLogicInteraction.getInstance(BizLogicInterac=
tion.java:146)
 at =
com.workflow.web.controller.action.LoginAction.initBLInteraction(LoginAct=
ion.java:89)
 at =
com.workflow.web.controller.action.LoginAction.initSession(LoginAction.ja=
va:64)
 at =
com.workflow.web.controller.action.LoginAction.doExecute(LoginAction.java=
:37)
 at =
com.workflow.web.controller.action.BaseAction.execute(BaseAction.java:78)=

 at =
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro=
cessor.java:484)
 at =
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2=
74)
 at =
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
 at =
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at =
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Ser=
vletStubImpl.java:1072)
 at =
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j=
ava:465)
 at =
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j=
ava:348)
 at =
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.ru=
n(WebAppServletContext.java:6981)
 at =
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSub=
ject.java:321)
 at =
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)=

 at =
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServle=
tContext.java:3892)
 at =
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.j=
ava:2766)
 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: java.net.ConnectException: t3://sienna.cisco.com:1599: =
Destination unreachable; nested exception is:=20
 java.net.ConnectException: Connection refused: connect; No available =
router to destination
 at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:200)
 at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
 at =
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitial=
ContextFactoryDelegate.java:296)
=20
What might be the problem.
=20
Thanks in advance,
=20
Regards,
Leela Manoranjan BV
Consulting and Enterprise Solutions
Process Consulting Practice
Satyam Computer Services Ltd.
Mob: (+91) 98660-75374


DISCLAIMER:
This email (including any attachments) is intended for the sole use of =
the intended recipient/s and may contain material that is CONFIDENTIAL =
AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or =
copying or distribution or forwarding of any or all of the contents in =
this message is STRICTLY PROHIBITED. If you are not the intended =
recipient, please contact the sender by email and delete all copies; =
your cooperation in this regard is appreciated.. =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 To unsubscribe, send email to [email protected] and include in the =
body of the message "signoff EJB-INTEREST". For general help, send email =
to [email protected] and include in the body of the message "help".=20

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".