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