Remote debugging with tomcat windows

2005-03-07 Thread Randy Paries
Hello I am running tomcat 5 on windoze xp and trying to get remote debugging
to work. I can do it fine when the server is linux but can not get it to
work with windoze.

In the java options (in the tomcat properties dialog) I put the following

-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

In my log file I get ::: (even if all I add is -Xdebug)

Thanks for any help

[2005-03-07 15:54:16] [415  javajni.c] [error] CreateJavaVM Failed
[2005-03-07 15:54:16] [770  prunsrv.c] [error] Failed initializing java
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar
[2005-03-07 15:54:16] [982  prunsrv.c] [error] ServiceStart returned 2




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



RE: Remote debugging with tomcat windows

2005-03-07 Thread Ramu, Vinod
Hi, 

This could be because Tomcat uses other -D option, which I am not
exactly sure of (refer the doc).
 
Besides, you need jdk 1.5XXX and you have to start the server from the
TOMCAT_HOME directory. 

Also try to set the suspend=n option to suspend=y this will make the
debuggee to wait till the debugger joins the debuggee.

Hope this helps u

Vinod

-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 4:56 PM
To: 'Tomcat Users List'; 'Will Norris'
Subject: Remote debugging with tomcat windows


Hello I am running tomcat 5 on windoze xp and trying to get remote
debugging to work. I can do it fine when the server is linux but can not
get it to work with windoze.

In the java options (in the tomcat properties dialog) I put the
following

-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

In my log file I get ::: (even if all I add is -Xdebug)

Thanks for any help

[2005-03-07 15:54:16] [415  javajni.c] [error] CreateJavaVM Failed
[2005-03-07 15:54:16] [770  prunsrv.c] [error] Failed initializing java
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar
[2005-03-07 15:54:16] [982  prunsrv.c] [error] ServiceStart returned 2




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


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



RE: Remote debugging with tomcat windows

2005-03-07 Thread Randy Paries
If I only do  -Xdebug I still get the error messages

Is 1.5 a requirement for windoze??? I have remote debugged before with way
earlier versions on linux

Thanks

-Original Message-
From: Ramu, Vinod [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 4:07 PM
To: Tomcat Users List; Will Norris
Subject: RE: Remote debugging with tomcat windows

Hi, 

This could be because Tomcat uses other -D option, which I am not exactly
sure of (refer the doc).
 
Besides, you need jdk 1.5XXX and you have to start the server from the
TOMCAT_HOME directory. 

Also try to set the suspend=n option to suspend=y this will make the
debuggee to wait till the debugger joins the debuggee.

Hope this helps u

Vinod

-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 4:56 PM
To: 'Tomcat Users List'; 'Will Norris'
Subject: Remote debugging with tomcat windows


Hello I am running tomcat 5 on windoze xp and trying to get remote
debugging to work. I can do it fine when the server is linux but can not
get it to work with windoze.

In the java options (in the tomcat properties dialog) I put the
following

-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

In my log file I get ::: (even if all I add is -Xdebug)

Thanks for any help

[2005-03-07 15:54:16] [415  javajni.c] [error] CreateJavaVM Failed
[2005-03-07 15:54:16] [770  prunsrv.c] [error] Failed initializing java
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar
[2005-03-07 15:54:16] [982  prunsrv.c] [error] ServiceStart returned 2




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


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





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



RE: Remote debugging with tomcat windows

2005-03-07 Thread Caldarale, Charles R
 From: Randy Paries [mailto:[EMAIL PROTECTED]
 Subject: RE: Remote debugging with tomcat windows
 
 If I only do  -Xdebug I still get the error messages

Have you tried running it from the command line rather than as a service?

 Is 1.5 a requirement for windoze???

No; have no idea why anyone would think that.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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



RE: Remote debugging with tomcat windows

2005-03-07 Thread Ramu, Vinod
This is what I found in the documentation
 
If using a J2SE 1.4 JRE, the compatibility package must be downloaded and 
expanded inside the folder where Tomcat was installed
 
I am using tomcat 5.5
 
I was not able to get my debugger join the server until I ran the tomcat on the 
command using java.exe directly.
 
I am using java 
-Xrunjdwp:transport=dt_socket,server=y,address=9000... command (just 
for development) :-). Yeah there are other ways by which you could set these 
values. I am using jdk1.5XX
 
Again, as I said earlier make sure that you have set all the -D options that 
the server needs.
 
Vinod


From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Mon 3/7/2005 5:25 PM
To: Tomcat Users List
Subject: RE: Remote debugging with tomcat windows



 From: Randy Paries [mailto:[EMAIL PROTECTED]
 Subject: RE: Remote debugging with tomcat windows

 If I only do  -Xdebug I still get the error messages

Have you tried running it from the command line rather than as a service?

 Is 1.5 a requirement for windoze???

No; have no idea why anyone would think that.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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




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