I have a war file I has been used in weblogic that I am in the process of porting to wildfly 23 docker image. The WS-RS services make corba calls using the glassfish orb to an oracle Tuxedo system). The war file deploys correctly (can see services in wildfly console) but when the webservice is invoked the initial time the orb is created (code snippet):
props.put("org.omg.CORBA.ORBSingletonClass", "com.sun.corba.ee.impl.orb.ORBImpl");
props.put("org.omg.CORBA.ORBClass", "com.sun.corba.ee.impl.orb.ORBImpl");
props.put("com.sun.corba.ee.transport.ORBSocketFactoryClass", YSocketFactory.class.getName());
myOrb = ORB.init(new String[] {}, props);
The following exception is thrown in ORB.init():
2021-04-20 15:31:20,225 ERROR [com.ge.trans.tms.mws.MWSTracksCorba] (default task-1) initializeOrb() failed; : java.lang.IllegalStateException: Cannot modify frozen instance for org.omg.CORBA.portable.InputStream
at deployment.mobility-ws.war//org.glassfish.gmbal.typelib.DeclarationFactory$EvaluatedClassDeclarationImpl.checkFrozen(DeclarationFactory.java:324)
...
at deployment.mobility-ws.war//com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:553)
at deployment.mobility-ws.war//com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:676)
at deployment.mobility-ws.war//org.omg.CORBA.ORB.init(ORB.java:352)
snippet of maven dependency tree info:
[INFO] +- org.glassfish.corba:glassfish-corba-omgapi:jar:4.2.3:compile
[INFO] +- org.glassfish.corba:glassfish-corba-csiv2-idl:jar:4.2.3:compile
[INFO] \- org.glassfish.corba:glassfish-corba-orb:jar:4.2.3:compile
[INFO] +- org.glassfish.corba:glassfish-corba-internal-api:jar:4.2.3:compile
[INFO] +- org.glassfish.corba:exception-annotation-processor:jar:4.2.3:compile
[INFO] +- org.osgi:org.osgi.core:jar:6.0.0:compile
[INFO] +- org.glassfish.gmbal:gmbal:jar:4.0.0:compile
[INFO] | +- org.glassfish.external:management-api:jar:3.2.1:compile
[INFO] | +- org.glassfish.pfl:pfl-basic-tools:jar:4.0.1:compile
[INFO] | \- org.glassfish.pfl:pfl-tf-tools:jar:4.0.1:compile
[INFO] +- org.glassfish.pfl:pfl-basic:jar:4.1.0:compile
[INFO] +- org.glassfish.pfl:pfl-dynamic:jar:4.1.0:compile
[INFO] | \- org.glassfish.pfl:pfl-asm:jar:4.1.0:compile
[INFO] \- org.glassfish.pfl:pfl-tf:jar:4.1.0:compile
I saw a reference to a similar case where the parent loader priority was mentioned as the issue... but no further details were provided.
Anyone know the cause and how I might resolve this issue or track it down? I am fairly new to java and its my first time using wildfly. Any information would help.
Thanks