Configure Java Debug Interface (JDI)
For each TIBCO BusinessEvents engine you want to enable for remote debugging, perform the following actions.
- Procedure
- Open the BE_HOME
/bin/be-engine.tra
file for editing. - 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
Where
5192
is the default value. If multiple engines run on the same machine, ensure that each has a unique port. - Uncomment the following line:
-Xrunjdwp:transport=dt_socket,address=%JDI_PORT%,suspend=na,server=y
- Start or restart the engine with the
-d
(or-debug
) command.