-
1. Re: Tibco EMS jar doesn't work in Wildfly
ehugonnet Dec 19, 2019 4:45 AM (in response to pawannhere)How is this related to tibco as it doesn't even shows in the exception trace ?
[TIBCO EMS] :[j][SSL] WARNING : server verification is disabled, will trust any server is just a warning about the fact that the certificate of the TibCo server is not verified.
-
2. Re: Tibco EMS jar doesn't work in Wildfly
pawannhere Dec 19, 2019 5:01 AM (in response to ehugonnet)We have an application which this jar uses. The jar is inside lib and used to work fine when we had jboss4. Also java earlier was java 5. Now we're at java 8. So basically same application with same set of jars in lib used to work fine in jboss4. In wildfly this gives error and tibco related functionality fails.
-
3. Re: Tibco EMS jar doesn't work in Wildfly
pawannhere Dec 19, 2019 5:36 AM (in response to pawannhere)The log with more trace. Added xxx to hide package name.
Creating topic connection with username='***********'
2019-11-11 07:39:32,184 ERROR [stderr] (Thread-179) 2019-11-11 07:39:32.184 [1680942830 Thread-179] [TIBCO EMS]: [J] [SSL] initializing security with vendor 'j2se-default'
2019-11-11 07:39:32,191 ERROR [stderr] (Thread-179) 2019-11-11 07:39:32.191 [1680942830 Thread-179] [TIBCO EMS]: [J] [SSL] client version 6.3.0, security version 3.0.0, SSL initialized with vendor 'j2se'
2019-11-11 07:39:32,191 ERROR [stderr] (Thread-179) 2019-11-11 07:39:32.191 [1680942830 Thread-179] [TIBCO EMS]: [J] [SSL] WARNING: server verification is disabled, will trust any server.
2019-11-11 07:39:32,196 ERROR [stderr] (Thread-179) Exception in thread "Thread-179" java.lang.ExceptionInInitializerError
2019-11-11 07:39:32,196 ERROR [stderr] (Thread-179) at java.lang.Class.forName0(Native Method)
2019-11-11 07:39:32,196 ERROR [stderr] (Thread-179) at java.lang.Class.forName(Class.java:264)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.security.impl.ooOO.init(SecurityVendor.java:128)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.security.impl.ooOO.init(SecurityVendor.java:84)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.security.impl.ooOO.getInstance(SecurityVendor.java:161)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.security.TrustedCertsFactory.o00000(TrustedCertsFactory.java:92)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.security.TrustedCertsFactory.createTrustedCerts(TrustedCertsFactory.java:59)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.security.ssl.NullCertificateVerifier.<init>(NullCertificateVerifier.java:32)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.tibjms.TibjmsxLinkSSL._initSSL(TibjmsxLinkSSL.java:282)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.tibjms.TibjmsxLinkSSL.connect(TibjmsxLinkSSL.java:390)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:1308)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:4185)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:36)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:191)
2019-11-11 07:39:32,197 ERROR [stderr] (Thread-179) at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:253)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTopicConnectionFactory.java:88)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.mbi.config.event.TIBEMSConfigListener.createConnection(TIBEMSConfigListener.java:563)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.mba2.SessionManager.getConnection(SessionManager.java:101)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.mba2.SessionManagerNewInstance.createSession(SessionManagerNewInstance.java:80)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.mba2.MbaObjectPolicy.<init>(MbaObjectPolicy.java:105)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.mba2.MbaManager.getMbaNew(MbaManager.java:1147)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.mba2.MbaManager.getMba(MbaManager.java:1366)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.space.connector.MBAConnector.startMessageListeners(MBAConnector.java:425)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.space.connector.MBAConnector.start(MBAConnector.java:499)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.space.connector.EMSMBAConnector.start(EMSMBAConnector.java:125)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.space.server.StandardService.start(StandardService.java:344)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.space.server.StandardServer.start(StandardServer.java:243)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.space.startup.Space.start(Space.java:72)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.space.startup.Space.main(Space.java:22)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at com.****.****.space.startup.SpaceWrapper.run(SpaceWrapper.java:11)
2019-11-11 07:39:32,198 ERROR [stderr] (Thread-179) at java.lang.Thread.run(Thread.java:745)
2019-11-11 07:39:32,199 ERROR [stderr] (Thread-179) Caused by: java.lang.RuntimeException: cannot find JSSE security provider: check CLASSPATH
2019-11-11 07:39:32,199 ERROR [stderr] (Thread-179) at com.tibco.security.providers.SecurityVendor_j2se.<clinit>(SecurityVendor_j2se.java:53)
2019-11-11 07:39:32,199 ERROR [stderr] (Thread-179) ... 31 more
I think its last few lines causing issue. It didn't occurred with (jboss4+java5 combination)
-
4. Re: Tibco EMS jar doesn't work in Wildfly
ehugonnet Dec 19, 2019 5:59 AM (in response to pawannhere)Did you folow Tibco installation ? https://docs.tibco.com/pub/mdm/8.3.2/doc/html/TIB_cim_installation/wwhelp/wwhimpl/common/html/wwhelp.htm#href=tib_mdm_Co…
-
5. Re: Tibco EMS jar doesn't work in Wildfly
pawannhere Dec 19, 2019 6:07 AM (in response to ehugonnet)I believe we've tried this. I will give it another try. Thanks ehugonnet
-
6. Re: Tibco EMS jar doesn't work in Wildfly
pawannhere Dec 20, 2019 11:16 AM (in response to ehugonnet)Looks like issue got resolved when we used new version of tibco jars. I will wait for our team to confirm but I got a note that error is gone now after using new jar and making wildfly use 1.9_92 java version. Thanks for the previous suggestion ehugonnet