Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Problem using opmn to connect to an EJB service

Problem using opmn to connect to an EJB service

From: ledeange <ledeange_at_gmail.com>
Date: 27 Mar 2006 05:27:01 -0800
Message-ID: <1143466021.753473.320320@j33g2000cwa.googlegroups.com>


Hi all,
i have some problems connecting remotely to an ejb application using opmn.
I use OAS 10.1.2 installed on a linux redhat, on my machine (windows xp) i have j2ee application deployed in a oc4j stand alone 10.1.2 , whose services must connect via rmi to an ejb application deployed in the application server on the server. I have defined a file of properties on the local machine, where i have set the paramters to connect to the server, the content of this file is like this:

java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
java.naming.provider.url=opmn:ormi://deploy:6004:S3/EjbApp
java.naming.security.principal=userlogin
java.naming.security.credentials=userpassword
dedicated.rmicontext=true

where S3 is the name of the instance in the oas. Trying to connect to the application EjbApp, as described in the properties i have the error:

javax.naming.NamingException: Lookup error: java.io.EOFException: Disconnected; nested exception is:
java.io.EOFException: Disconnected [Root exception is java.io.EOFException: Disconnected]
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168) at javax.naming.InitialContext.lookup(InitialContext.java:347)
.......
.......

There are not problems if i decide to connect to the ejb application directly using the rmi port, when i try to use the opmn there is the error reported above.
Moreover connecting using opmn to another ejb application, deployed in to another instance of the same application server, all works fine. It seem to be the particular instance S3 has some problems, but i don't know what.

Thanks for your help Received on Mon Mar 27 2006 - 07:27:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US