Connection unsuccesful error with WebLogic
Specifications
- JMSToolBox version: 5.3.0
- OS (Name, version, 32/64bits): Windows 10 64-bit
- Q provider (kind, version) : Oracle WebLogic 12c
Expected Behavior
JTB will allow me to connect to the WebLogic server
Actual Behavior
Error message: Connection unsuccessful Reason: java.lang.ClassNotFoundException: org.omg.COBRA.SystemException cannot be found by org.titou10.jtb.qm.weblogic.resource)1.0.0
Steps to Reproduce the Problem
- Unpack JTB
- Configure Oracle WebLogic Server on the Q Managers tab in accordance with https://github.com/jmstoolbox/jmstoolbox/wiki/2.9-Setup-for-Oracle-WebLogic-Server
- Add a new WebLogic session
- Double-click the session to attempt to connect
Logs
This is due to the WebLogic client that depends internally to CORBA...and CORBA is not part anymore of Java 11
I tried to add a jar with CORBA implementation (glassfish-corba-omgapi-4.2.1) in the classpath but another error appeared (NullPointerException in some internal WebLogic ServiceLocator class)
Until WebLogic provides a fully Java 11 client (ie wlthint3client.jar), I fear you'll have to stay with the latest JMSToolBox version that runs with Java 8, ie v4.14.0
..or try to find some additional jars to add to JMSToolBox alongsidewlthint3client.jarto make a Java 11 client be able to connect to WLS
You can add to the variable of the Oracle Q Manager the rt.jar from an existing oracle java8 installation. I was able to connect with that.
@Macs75, Mixing Java 11 and Java 8 internal jars is a good idea. Fine if it works but the best workaround for now is still to use the latest version of JMSToolBox that works with Java 8: v4.14.0