TIBCO ActiveMatrix Business Studio BPM Edition terminates while connecting to an SSL enabled administrator URL.

TIBCO ActiveMatrix Business Studio BPM Edition terminates while connecting to an SSL enabled administrator URL.

book

Article ID: KB0093405

calendar_today

Updated On:

Products Versions
TIBCO Business Studio - BPM Edition -
Not Applicable -

Description

Description:
While creating a Deployment Server for deployments from Business Studio, an Administrator server URL is required. If the Administrator URL is SSL enabled, Business Studio v3.8.0 will terminate during the initial handshake. Note that this crash is not seen in all environments.

Symptoms:
1). Business Studio generates a JVM crash log when this issue is encountered. This JVM crash log is named as hs_err_pid<process ID>.log and is generated at STUDIO_HOME/studio/3.6/eclipse.

2). The crash is seen when Studio performs an initial handshake with the SSL enabled Administrator. I.E., after entering the URL, the crash would occur if you click on a test connection or refresh.

3). The crash continues to occur even if the certificates are imported manually as per the steps detailed in the documentation (https://docs.tibco.com/pub/activematrix_bpm/3.0.0-july-2014/doc/html/GUID-D512B3A8-EE0A-46B7-A3C1-2D35494B7C85.html). In this case, the error below can be seen in the BPM.log -

30 Oct 2014 21:20:38,375 [amxAdminDefaultHttpConnector_1168] [WARN ] [] org.mortbay.log.Logger - Socket connection problem: client /10.97.24.224
javax.net.ssl.SSLException: Received fatal alert: internal_error
        at sun.security.ssl.Alerts.getSSLException(Unknown Source)
        at sun.security.ssl.Alerts.getSSLException(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:632)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

4). This issue does not occur with TIBCO Business Studio - BPM Edition v3.7.0 and v3.9.0

Cause:
This issue is caused by the JRE version installed with Business Studio v3.8.0. This JRE is installed at - STUDIO_HOME/tibcojre64/1.7.0/

For a comparison of this behavior with different versions of Business Studio, the following are the JRE versions installed: 

Business Studio         JRE

        3.7.0               1.7.0_55
        3.8.0               1.7.0_65
        3.9.0               1.7.0_55

Issue/Introduction

TIBCO ActiveMatrix Business Studio BPM Edition terminates while connecting to an SSL enabled administrator URL.

Resolution

1). Download latest 1.7 JRE update (for example u72) from the Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/index.html
2). Install it (or unzip if you choose not to use the Installer).
3). Update the path to the new JVM in STUDIO_HOME/studio/3.6/eclipse/TIBCOBusinessStudio.ini (next line after -vm) (WARNING: each parameter needs to be in a separate line in the TIBCOBusinessStudio.ini file).

Workaround: 
Add the JVM parameter - "-Dcom.sun.net.ssl.enableECC=false" in a new line in STUDIO_HOME/studio/3.6/eclipse/TIBCOBusinessStudio.ini . 

Additional Information