>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.

I have now tried this with the JBoss 2.2.2 + Tomcat 3.2.2 distro and it 
fails in exactly the same way, with a NullPointerException in the guts of 
Sun's CORBA implementation:

[WrapperBean] Bean error : java.lang.NullPointerException
[WrapperBean] java.lang.NullPointerException
[WrapperBean] at com.sun.corba.se.internal.core.IOR.getCodebase 
IOR.java:256)
[WrapperBean] at com.sun.corba.se.internal.core.IOR.read(IOR.java:215)
[WrapperBean] at 
com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:579)
[WrapperBean] at com.foo.corba.WrappedServiceHelper.read(WrappedService
Helper.java:45)
[WrapperBean] at 
com.foo.corba._OurOwnBrokerStub.getWrappedService(_OurOwnBrokerStub.java:87)
[WrapperBean] at 
com.foo.ejb.WrapperBean.getCORBAReference(WrapperBean.java:327)

I downloaded the JDK 1.3.0 Win32 source from java.sun.com and had a look at 
IOR.java.  The problem is that getProfile().getTaggedCompontents() returns 
null.  I had a look through the JDK's Profile.java and, from my sketchy 
understanding of this rather arcane source, it looks like the kind of thing 
that is going wrong is that the WrappedService object (which is returned by 
the CORBA call OurOwnBroker.getWrappedService()) is not getting marshalled 
from the OurOwnBroker CORBA service properly - but I think we really could 
have guessed that much already!

>From a previous posting to jboss-user, I thought I'd better try the 
following setting in jboss.properties:

java.rmi.server.codebase=http://myserver:1099/

It didn't change anything :-(.

Help, 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