Hi

We have an application running on the JBoss 2.2.1 and Tomcat 3.2.1 
distribution and we have a problem mixing it with CORBA.  We have a stateful 
session EJB that wraps a legacy CORBA service.  Using Sun's Java IDL CORBA 
implementation, we call the legacy CORBA service from the EJB.  Or we'd like 
to.  We get a NullPointerException in the guts of Sun's CORBA implementation 
when the result comes back from the first call to the CORBA service:

com.sun.corba.se.internal.core.IOR.getCodebase(IOR.java:256)

If we call the EJB from another VM (running a standalone JUnit test), /and/ 
we remove the java.rmi.server.codebase mapping from the system properties 
before calling ORB.init(), we can successfully use the CORBA service.  
However, when we call the EJB (and hence invoke the wrapped CORBA service) 
from the Tomcat servlet engine, we get the blowup, regardless of whether we 
do or don't zap java.rmi.server.codebase.  My feeling is that, perhaps, we 
ought to be setting java.rmi.server.codebase (and possibly another system 
property) to something specifically, but I don't know what.

We are using Sun's JDK 1.3.02 on Win32.

Clues, please.

Marcus

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to