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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> 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:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to