Enabling SSL debug for BW process deployed in Administrator.

Enabling SSL debug for BW process deployed in Administrator.

book

Article ID: KB0094015

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:

The SSL tracing messages will not be logged for BW process started from Administrator. They can only be logged for BW applications started from the command line. 


Symptoms:
SSL tracing not captured in BW application log.
Cause:
SSL tracing is redirected to system.out .

Issue/Introduction

Enabling SSL debug for BW process deployed in Administrator.

Resolution

To enable SSL tracing using property:


java.property.javax.net.debug=ssl


If you start the deployment .cmd file from the command line, you will see the SSL tracing info in the console.You can redirect the console output to a file by changing the .cmd file (or .sh file if in Unix).


You can use “>” to redirect the command line output. 


Example:


Change 


"<TIBCO_HOME>/bw/5.x/bin/bwengine.exe" --run --propFile "<TIBCO_HOME>/tra/domain/<domain_name>/application/myapp/myapp-Process_Archive.tra"


To


"<TIBCO_HOME>/bw/5.x/bin/bwengine.exe" --run --propFile  "TIBCO_HOME>/tra/domain/<domain_name>/application/myapp/myapp-Process_Archive.tra" > "<TIBCO_HOME>/tra/domain/<domain_name>/application/myapp/debug.out" 2>&1


The SSL handshake info will now be redirected to debug.out file.