HTTP Receiver activities configured with SSL fails when upgrading TRA to 5.9.0 HF-07.

HTTP Receiver activities configured with SSL fails when upgrading TRA to 5.9.0 HF-07.

book

Article ID: KB0092798

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
There will be no error in the Service startup but on hitting the HTTP receiver activities configured with SSL, the following exception will be thrown on the client.

javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Symptoms:
Following error will be seein designer console or application log file

++++
java.lang.NoSuchMethodError: com.tibco.security.ssl.SSLInfo.getProtocol()Ljava/lang/String;
com.tibco.plugin.share.security.TIBCryptSSLSupport.getProtocol(Unknown Source)
org.apache.coyote.http11.Http11Processor.actionInternal(Http11Processor.java:268)
org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:911)
org.apache.coyote.Request.action(Request.java:347)
org.apache.catalina.connector.Request.getAttribute(Request.java:956)
org.apache.catalina.connector.RequestFacade.getAttribute(RequestFacade.java:283)
com.tibco.bw.service.binding.bwhttp.tomcat.TomcatRequest.getAttribute(Unknown Source)
com.tibco.bw.service.binding.bwhttp.impl.HttpTransportApplication.a(Unknown Source)
com.tibco.bw.service.binding.bwhttp.impl.HttpTransportApplication.invokeServiceEndpoint(Unknown Source)
com.tibco.bw.service.binding.bwhttp.impl.HttpTransportApplication.processMessage(Unknown Source)
com.tibco.plugin.share.http.TransportApplicationDemux.processMessage(Unknown Source)
com.tibco.bw.service.binding.bwhttp.impl.HttpServer.processMessage(Unknown Source)
com.tibco.bw.service.binding.bwhttp.impl.HttpServerDispatcher.processMessage(Unknown Source)
com.tibco.plugin.share.http.servlet.BwServlet.a(Unknown Source)
com.tibco.plugin.share.http.servlet.BwServlet.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

+++++



Cause:
TIBCO Runtime Agent 5.9.0 is bundled with a new TIBCrypt.jar file (version 2.18.100.) as part of a fix for TRA-3874 in TRA 5.9.0 HF 7. A new method  "getProtocol()" has been added for "com.tibco.security.ssl.SSLInfo" class in this JAR. If a prior version of the JAR is found in the classpath without the implementation for this method, an error will be thrown.

Issue/Introduction

HTTP Receiver activities configured with SSL fails when upgrading TRA to 5.9.0 HF-07.

Resolution

 Prepend the following to the tibco.env.CUSTOM_CP_EXT / tibco.env.CUSTOM_EXT_PREPEND  property in the Designer/ Application .tra file. (Shown below for Windows platform).


tibco.env.CUSTOM_CP_EXT %TRA_HOME%/hotfix/lib/TIBCrypt.jar;C:/tibco/bw/5.12/hotfix/lib;..


tibco.env.CUSTOM_EXT_PREPEND_CP=%TRA_HOME%/hotfix/lib/TIBCrypt.jar;C:/tibco/bw/5.12/hotfix/lib;..