Debugging Jetty

Follow the below steps to debug Jetty in Linux and AIX environments:
  1. Enable jetty debug log in the GUI.
  2. Backup the <install_dir>/noapp/bin/startNoApp.sh.in file.
  3. Search for JAVA_SERVER_ASI in the startNoApp.sh.in file.
  4. Copy the first line where the JAVA_SERVER_ASI variable is assigned and comment it out.
  5. Add JAVA_SERVER_ASI="$JAVA_SERVER_ASI -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.StdErrLog -Dorg.eclipse.jetty.LEVEL=DEBUG".
  6. Run setupfiles.sh.
  7. Stop or start SI.
Note: Disable debugging once the capturing is done.
Follow the below steps to debug Jetty in Windows environment:
  1. Enable jetty debug log in the GUI.
  2. Backup the tmp.cmd_asset_ext file.
  3. Search for SERVER_FLAGS in tmp.cmd_asset_ext file.
  4. Copy the - Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.StdErrLog -Dorg.eclipse.jetty.LEVEL=DEBUG where SERVER_FLAGS line end.
  5. Stop or start SI.
Note: Disable debugging once the capturing is done.