Hi,
We ran into a problem with corba using glassfish. A piece of code uses corba iiop to connect to a remote server. This works well under tomcat 6 but the code in glassfish throws the following exception:
java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.getInvocationInfo(ORBImpl.java:1981)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.getClientRequestDispatcher(CorbaClientDelegateImpl.java:268)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.releaseReply(CorbaClientDelegateImpl.java:250)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:197)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:147)
at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:225)
According to this stack the implementation of ORB is in the package com.sun.corba.ee.impl.orb and the package in jdk1.6 is com.sun.corba.se.impl.orb.
Is there a difference between the two implementations and is it possible to let glassfish use the com.sun.corba.se implementation. Or is it a settings issue in glassfish? In our solution the application in glassfish acts as corba client.
Some pointers would be welcome.
Johan
[Message sent by forum member 'jcstover']
http://forums.java.net/jive/thread.jspa?messageID=481129