You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by cam r <ca...@gmail.com> on 2005/05/24 16:04:20 UTC

JPDA and Tomcat 5.5.9 Service on Windows

Hi all,

  I am trying to set up debugging on Tomcat while it is running as a
Windows service. The requirements of the project negate me from being
able to run it as a script.

  I have tried adding;

   -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y

  to the Java Options in the Java tab of the Apache Tomcat Properties
gui screen. I have also added;

   jpda start

  to the Arguments in the Startup tab of the Apache Tomcat Proeprties
gui screen. But have had no luck getting Tomcat to run.

 I have also tried setting the arguments for Tomcat through
environment variablesin;

   My Computer > Properties > Environment Variables > System Variables
> CATALINA_OPTS

 but this has not worked either.

 Has anyone set up debugging for Tomcat 5.5.9 while it is running as a
service? Any tips would be most welcome.


cam

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JPDA and Tomcat 5.5.9 Service on Windows

Posted by 毛建明 <ma...@gmail.com>.
hi cam,
this url maybe useful for you.

http://www.pauaware.co.nz/tomcatntservice.htm

maojm

On 5/24/05, cam r <ca...@gmail.com> wrote:
> Hi all,
> 
>  I am trying to set up debugging on Tomcat while it is running as a
> Windows service. The requirements of the project negate me from being
> able to run it as a script.
> 
>  I have tried adding;
> 
>   -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
> 
>  to the Java Options in the Java tab of the Apache Tomcat Properties
> gui screen. I have also added;
> 
>   jpda start
> 
>  to the Arguments in the Startup tab of the Apache Tomcat Proeprties
> gui screen. But have had no luck getting Tomcat to run.
> 
>  I have also tried setting the arguments for Tomcat through
> environment variablesin;
> 
>   My Computer > Properties > Environment Variables > System Variables
> > CATALINA_OPTS
> 
>  but this has not worked either.
> 
>  Has anyone set up debugging for Tomcat 5.5.9 while it is running as a
> service? Any tips would be most welcome.
> 
> 
> cam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org