Engineering for Information Technology: Business Process, Automation, Architecture, and Integration
Back to our Home Page

Lombardi TeamWorks: Remote debugging JSP and Java files in TeamWorks process server

A simple modification to wrapper.conf provides debugger connectivity

Here is the section I added to the wrapper.conf file:

# Java Additional Parameters for REMOTE DEBUGGING
# -----------------------------------------------
wrapper.java.additional.9=-Xdebug wrapper.java.additional.10=-Xnoagent wrapper.java.additional.11=-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
# or:
# wrapper.java.additional.3=-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y
# If you enable suspend, the JVM stops and waits for a connection before the serviceapplication starts. If you
# disable it, the service/application runs normal until a debug client connects and sends breakpoints.
# Step two: Connect with your favourite debug client (eclipse in my case) and start debugging.

Copyright ©2007 Gary Samuelson, All Rights Reserved.

 

Back to Last Page Visited