book
Article ID: KB0090282
calendar_today
Updated On:
Description
Resolution:
Description:
==========
Remotely debugging TIBCO BusinessEvents project.
Environment:
===========
TIBCO BusinessEvents 4.x , 5.x
Operating System(s): All
Resolution:
==========
In order to remotely debug an already running BusinessEvents project in debug mode, be sure that the remote project is started with the -d (or -debug) flag command.
Steps:
Either do 1.a or 1.b in the be-engine.tra .
1.a). Add the following to the java.extended.properties -Xrunjdwp:transport=dt_socket,address=5007,suspend=n,server=y
(or)
1.b) Specify the port on which you want the engine to listen, using the environment variable tibco.env.JDI_PORT, for example:
tibco.env.JDI_PORT 5192 and Uncomment the following line:-Xrunjdwp:transport=dt_socket,address=%JDI_PORT%,suspend=na,server=y
2). Open a command prompt and run FraudDetectionCache with the following command line and using the above modified tra.
(Note the -d flag at the end to enable debugging) be-engine.exe -c C:\tibco_home_511be\be\5.1\examples\standard\FraudDetectionCache\FraudDetectionCache\fdcache.cdd -u default C:\test\fdcache511.ear -d
3). Open BusinessEvents studio and do the following:
a). For remote debugging, select Remote TIBCO BusinessEvents Application and add a new configuration by clicking the New Configuration button
b). Select the project source that needs to be debugged using browse.
c). Give hostname and port according to what has been mentioned in the be-engine.tra
d). Set a break point in the BusinessEvents project source and click debug.
Issue/Introduction
Remotely debugging TIBCO BusinessEvents project.