Tomcat
adding this stuff to your startup script so that you are always running tomcat in debug mode.
use the following points to enable the debug port
adding this stuff to your startup script so that you are always running tomcat in debug mode.
- Open the startup script in (your_tomcat_home)/bin (WIN: startup.bat, UNIX: startup.sh)
- Add the following lines at the first blank line in the file (around line 8)
WIN:set JPDA_ADDRESS=8000 set JPDA_TRANSPORT=dt_socket
export JPDA_ADDRESS=8000 export JPDA_TRANSPORT=dt_socket
- Change the execute line at the end to include jpda start
WIN:call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"
- Run the startup script when starting tomcat to run tomcat in debug mode
use the following points to enable the debug port
- go to the domain in the weblogic
- open the bin
- edit the setDomainEnv.sh
- past the JAVA_DEBUG="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8087,server=y,suspend=n -Djava.compiler=NONE"
- then execute the startWeblogic.sh
0 comments:
Post a Comment