Starting Catalina under JPDA debugger with "-security" option fails. You will get following error message: Error occurred during initialization of VM -Xrun library failed to init: jdwp JDWP unable to access JVMDI Version 1. Maybe you need to start the VM with the -Xdebug option This is a windows jdk1.4 specific bug. It can be fixed by modifying the bin/catalina.bat startup script like this: - %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% + %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS%
OK, fixed. Thanks for pointing it out ;)