-
1. Re: EJB CORBA and JBoss 3.0.0 RC1
davidjencks Apr 17, 2002 9:56 PM (in response to pensejer)I really have no idea, but there is more iiop support in jboss rc1. is it possible that your corba stuff is conflicting with that in jboss?
-
2. Re: EJB CORBA and JBoss 3.0.0 RC1
pensejer Apr 18, 2002 4:09 AM (in response to pensejer)I use the following code (the line causing the problem is marked):
=============================
java.util.Hashtable env = new java.util.Hashtable();
env.put( Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory" );
env.put( context.PROVIDER_URL, "iiop://lx00003.coi.com:4500" );
javax.naming.InitialContext delegateContext = new javax.naming.InitialContext( env );
// The following line leads to the block
org.omg.CORBA.Object obj = (org.omg.CORBA.Object)
delegateContext.lookup( "corba/session/SessionAdminService" );
=========================================
If i only lookup the namespace (for example corba/session) the call is successfull.
Our stubs are BOA stubs. Can this be the problem
or is it a sun orb problem again? -
3. Re: EJB CORBA and JBoss 3.0.0 RC1
pensejer Apr 18, 2002 11:32 AM (in response to pensejer)I switched to jacORB and it seems that this solves
the problem.