As far as I can tell the instructions for the use of Jswat 
with tomcat are not correct (at least a bit missleading).

If you use %CATALINA_HOME%\bin\catalina.[bat|sh] jpda start
you shouldn't set the CATALINA_OPTS, otherwise the vm will 
get started with 2 sets of options (one that you specified
and one that is defined by catalina.[bat|sh], have a look 
at this script and you will understand better what happens) 
This will work if the 2 sets are identical, but if they are 
different I don't know which will win. To change the default 
address for the debugger you can use the environment variable 
JPDA_ADDRESS. (The default is 8000 in catalina.[bat|sh])

> -----Urspr�ngliche Nachricht-----
> Von: petra staub [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 11. Juli 2002 10:09
> An: [EMAIL PROTECTED]
> Betreff: Debugging Servlets
> 
> I am using Tomcat 4.0.3 and 4.1.7beta, have
> CATALINA_OPTS set (-Xdebug -Xnoagent -Djava.compiler=NONE 
> -Xrunjdwp:transport=dt_socket,server=y,address=8888,
> suspend=n) and still is does't work.
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to