Hi, This could be because Tomcat uses other -D option, which I am not exactly sure of (refer the doc). Besides, you need jdk 1.5XXX and you have to start the server from the TOMCAT_HOME directory.
Also try to set the "suspend=n" option to "suspend=y" this will make the debuggee to wait till the debugger joins the debuggee. Hope this helps u Vinod -----Original Message----- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 4:56 PM To: 'Tomcat Users List'; 'Will Norris' Subject: Remote debugging with tomcat windows Hello I am running tomcat 5 on windoze xp and trying to get remote debugging to work. I can do it fine when the server is linux but can not get it to work with windoze. In the java options (in the tomcat properties dialog) I put the following -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 In my log file I get ::: (even if all I add is -Xdebug) Thanks for any help [2005-03-07 15:54:16] [415 javajni.c] [error] CreateJavaVM Failed [2005-03-07 15:54:16] [770 prunsrv.c] [error] Failed initializing java C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar [2005-03-07 15:54:16] [982 prunsrv.c] [error] ServiceStart returned 2 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]