6 Replies Latest reply on Dec 20, 2019 11:16 AM by pawannhere

    Tibco EMS jar doesn't work in Wildfly

    pawannhere

      Hello Experts,

       

      We have a tibco.jar file with us which was deployed and working fine in old JBOSS version9(Jboss4). We have upgraded AS to wildfly after which the tibco jar gives below error in server.log.

      Any hints if this needs a setting at WILDFLY?

       

      ERROR[stderr] [default task-4] 2019-12-16 11:50:42.517[24463701 default task-4] [TIBCO EMS] :[j][SSL] WARNING : server verification is disabled, will trust any server

      11:50:42,527 ERROR [io.undertow.request] (default task-4) UT005023: Exception handling request to /DmMethods/servlet/DoMethod: javax.servlet.ServletException: java.lang.reflect.invocationTargetException

      at com.documentum.mthdservlet.DoMethod.involeMethod(unknown Source)

      at com.documentum.mthdservlet.DoMethod.doPost(Unkown Source)

      at javaxx.servlet.http.HttpServlet.service(HttpServlet.java:707)

      at javaxx.servlet.http.HttpServlet.service(HttpServlet.java:790)

      at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)

      at io.undertow.servlet.handlers.security.ServletSecurityRolehandler.handleRequest(servletSecurityRoleHandler.java:62)

      at io.undertow.servlet.handlers.security.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      at org.wildlfy.extension.undertow.security.SecurityContextAssociationhandler.handleRequest[SecurityContextAssociationhandler.java:78)

      at io.undertow.servlet.handlers.Predicatehandler.handleRequest(PredicateHandler.java:43)

      at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

      at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCalHandler.java:57)

        • 1. Re: Tibco EMS jar doesn't work in Wildfly
          ehugonnet

          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

            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

              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)

              • 5. Re: Tibco EMS jar doesn't work in Wildfly
                pawannhere

                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

                  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