Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues

Bug 1034

Summary: jacorb 3.7 can not work with Websphere client lib
Product: JacORB Reporter: Li Ross <ross.li>
Component: SSL/IIOPAssignee: Nicolas Noffke <Nicolas.Noffke>
Status: NEW ---    
Severity: critical    
Priority: P5    
Version: 3.7   
Hardware: PC   
OS: Windows NT   

Description Li Ross 2016-06-19 23:08:15 CEST
Hi

In out application, we will receive Corba message from outside. Then we will access EJB in Websphere as standalone application.
When we upgrade jacorb from 3.1 to 3.7, we can not connect to EJB again. After debug, we find if we remove jacorb, the problem will not happen. We find jacorb-omgapi-3.7.jar has problem when work with IBM EJB client libs. The EJB client libs are:
        <dependency>
            <groupId>com.ibm.ws.ejb</groupId>
            <artifactId>thinclient</artifactId>
            <version>8.5.5.7</version>
        </dependency>
        <dependency>
	    <groupId>com.ibm.ws.thinclient</groupId>
	    <artifactId>orb</artifactId>
	    <version>8.5.5.7</version>
	</dependency>

Original exception is:
CWPKI0019E: Error parsing the SSL client configuration file file://d:/temp/sas.client.props.  The error returned is java.lang.NullPointerException.
Exception in thread "P=858203:O=0:CT" javax.naming.NamingException: Error during resolve [Root exception is org.omg.CORBA.INTERNAL: Major Code[13] Minor Code[0] Message[ Java exception in initSecContext:  Original exception = Major Code[18] Minor Code[0] Message[ Exception getting codec factory and encoding Any.  Original exception: org.omg.CORBA.BAD_OPERATION: Any without object  vmcid: 0x4942f000  minor code: 414  completed: No]]  vmcid: 0x49421000  minor code: 177  completed: No]
	at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1868)
	at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1777)
	at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1434)
	at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:616)
	at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:165)
	at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
	at javax.naming.InitialContext.lookup(Unknown Source)