KB Article #178686

how to set the debug on the deployment server

Problem

-- how to troubleshoot issues related to the deployment server

ex : the deploymenbt server does not start

ERROR :20170613:00.02.53.41:r4edi(b2bx_server):b2bi_process.s4m:536:Failed to add/start 'B2Bi Deployment Server': Wait B2Bi Deployment Server timed out


Resolution

1- set the environment variable B2BI_DEPLOYMENT_SERVER_DEBUG in $CORE_LOCAL/config/environment.dat

B2BI_DEPLOYMENT_SERVER_DEBUG=1s an environment variable and restart.

2- add the following lines in $CORE_LOCAL/config/environment.dat

B2Bi Deployment Server:
R4EDI_OPTIONS=-T -N $CORE_DATA/deployment_debug_trace.txt

3- restart the server and analyze :

- $CORE_DATA/deployment_debug_trace.txt
- $CORE_DATA/starter.log
- Integrator trace file

Note : the debug is verbose. monitor the size of the log files and unset the debug once the logs have been collected