Bug 31362

Summary: Start Catalina under JPDA debugger with "-security" option fails
Product: Tomcat 5 Reporter: sherold
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 5.0.28   
Target Milestone: ---   
Hardware: Other   
OS: Windows XP   

Description sherold 2004-09-22 13:25:15 UTC
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%
Comment 1 Yoav Shapira 2004-09-23 20:21:29 UTC
OK, fixed.  Thanks for pointing it out ;)