JBoss does not effect CORBA at all.  Maybe you're missing some classes/jars?
Maybe Sun's implementation tries to narrow an object right away on a
string_to_object and it can't find your stubs?  I've got no clue dude.

Bill

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Coetmeur,
> Alain
> Sent: Thursday, November 15, 2001 2:04 PM
> To: '[EMAIL PROTECTED]'
> Subject: [JBoss-user] problem calling remote corba servers from an
> EJB... does jboss ha ck something with sun ORB ?
> Sensitivity: Private
>
>
>
> I'm using an EJB that try to contact a corba service
>
> I can easily contact the service from
> classic application outside Jboss
>
> however the same code fails inside the EJB
> when resolving the orb.string_to_object(lilaIOR);
>
> [Default] LilaFactoryClientImpl.init():java.lang.NullPointerException
> [Default] java.lang.NullPointerException
> [Default]       at
> com.sun.corba.se.internal.core.IOR.getCodebase(IOR.java:256)
> [Default]       at com.sun.corba.se.internal.core.IOR.read(IOR.java:215)
> [Default]       at
> com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInput
> Stream.jav
> a:585)
> [Default]       at
> com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInput
> Stream.jav
> a:578)
> [Default]       at
> com.sun.corba.se.internal.corba.ORB.string_to_object(ORB.java:1075)
>                                                        ^^^^^^^^^^^^^^^^^^^
> what I try to call !!!
> my code is
>    eLila.LilaFactory _lilaFactory;
>    String lilaIOR=
>
> "IOR:010000001a00000049444c3a654c696c612f4c696c61466163746f72793a3
> 12e300000"
> +
>
> "0001000000000000002400000001010000100000006d6175692e6964742e63646
> 32e6672008
> 51a00"+
>    "00040000006c696c61";
>     ORB orb = org.omg.CORBA.ORB.init(args, System.getProperties());
>     System.out.println("lilaior="+lilaIOR);
>     org.omg.CORBA.Object ref = orb.string_to_object(lilaIOR);
>       // ...
>
> does Jboss change something in Sun ORB configuration ...
> I've heard of a java.rmi.server.codebase,
> but what is this... what does jboss change about that...
>
> thank in advance...
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



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

Reply via email to