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?
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?
I switched to jacORB and it seems that this solves