You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nagender Taalla <na...@hotmail.com> on 2002/02/07 17:10:38 UTC

Connected : How to start Tomcat 4.0 in debug mode

Hi Dave,

I have used an alternate CATALINA_OPTS

-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socke
t,server=y,suspend=n,address=9999

and it works ... Thanks anyways

Regards,
Nagender Taalla
1bigthink
7361 Calhoun Place
Suite 302
Rockville, Maryland 20855
Phone 301.251.8570 (x) 211
Fax 301.251.8573


----- Original Message -----
From: "Nagender Taalla" <na...@hotmail.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, February 07, 2002 9:55 AM
Subject: Re: How to start Tomcat 4.0 in debug mode


> Hi,
>
> Thanks for replying Dave, but I have seen the startup.bat file and it
seems
> to be calling catalina.bat, so I modified the CATALINA_OPTS in
catalina.bat
> to be set to
>
"-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server
> =y,suspend=n,address=5000"
>
>
> rem ----- Set Up The Runtime
> Classpath ----------------------------------------
>
> if not "%CATALINA_OPTS%" == "" goto cool
> set CATALINA_OPTS=
>
"-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server
> =y,suspend=n,address=5000"
> :cool
> set CP=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar
> if "%JSSE_HOME%" == "" goto noJsse
> set
>
CP=%CP%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\j
> sse.jar
> :noJsse
> set CLASSPATH=%CP%
> echo Using CATALINA_BASE: %CATALINA_BASE%
> echo Using CATALINA_HOME: %CATALINA_HOME%
> echo Using CLASSPATH:     %CLASSPATH%
> echo Using JAVA_HOME:     %JAVA_HOME%
>
>
> But there is no difference, Tomcat starts as usual and I am not able to
use
> the remote debugger at port 5000. When I try to connect to it from the IDE
> it says connection refused. I would greatly appreciate any help.
>
> Regards
> Nagender Taalla
> 1bigthink
> 7361 Calhoun Place
> Suite 302
> Rockville, Maryland 20855
> Phone 301.251.8570 (x) 211
> Fax 301.251.8573
> ----- Original Message -----
> From: "Dave Whitla" <da...@nationalmortgage.com.au>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Wednesday, February 06, 2002 6:04 PM
> Subject: Re: How to start Tomcat 4.0 in debug mode
>
>
> > The start script in the bin directory of the binary distribution.
> >
> > ----- Original Message -----
> > From: "Nagender Taalla" <na...@hotmail.com>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Thursday, February 07, 2002 8:09 AM
> > Subject: How to start Tomcat 4.0 in debug mode
> >
> >
> > > Hi,
> > >
> > > I am using an external debugger and need to have tomcat running its
JVM
> > with
> > > these parameters :
> > >
> >
>
> -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,serve
> > r=
> > > y,suspend=n,address=5000
> > >
> > > where do I set these parameters for the JVM that tomcat starts with.
> > >
> > > Nagender Taalla
> > > 1bigthink
> > > 7361 Calhoun Place
> > > Suite 302
> > > Rockville, Maryland 20855
> > > Phone 301.251.8570 (x) 211
> > > Fax 301.251.8573
> > >
> > > --
> > > To unsubscribe:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>