2009/11/12 Christopher Schultz <ch...@christopherschultz.net> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > To whom it may concern, > > On 11/11/2009 9:52 AM, maven apache wrote: > > So I start to config remot debug in tomcat . > > How do you start Tomcat? Using bin\startup.bat? > > > After modify the catalina.bat > > Okay, you are using bin\startup.bat, then? You ought to be able to use > environment variables to affect this and not actually change > catalina.bat, but it's okay to do that, too. > > Please post the changes you made to catalina.bat. >
Thanks for your attention. Actually I did not modify the catalina.bat directly , I create a new bat named debug.bat in the same directory, the content of the debug.bat is : ----------------------------------------------------------------------------------------------------------- cd %CATALINE_HOME%/bin set JPDA_ADDRESS=1044 set JPDA_TRANSPORT=dt_socket set CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 startup --------------------------------------------------------------------------------------------------------------- Then I start the tomcat with the debug.bat. > > Also, please confirm that you start Tomcat by using bin\startup.bat. If > you use Eclipse to start Tomcat, it might be ignoring that configuration. > I think so , I start the tomcat manually. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkr7MZIACgkQ9CaO5/Lv0PDSzQCeIhaqMMi6pj2xmGzWk7jkAt/c > 4VEAn1yUnfwMJJZBRWvyyHT4t8dGkmsr > =J582 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >