Tomcat 5 in debug mode

2004-07-29 Thread Martin
Hi all,

could somebody please tell me how to start tomcat 5 on Windows in debug
mode? I would like to use it for remote debugging, but I just recently
upgraded to tomcat 5 and could not find any description how to do this.

Is there maybe any generic solution to start tomcat 5 on windows and linux
in debug mode?

Many thanks,
Martin

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl


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



Tomcat 5 in debug Mode

2004-11-08 Thread Akacem Mohammed
Hello 


I tried to remote debug from eclipse 3.0. but I got this error Message from 
eclipse: 

Fail to connect to the VM ( I checked the port which is 8080 an d the host 
whici is 127.0.0.1 ).

How do I start tomcat in debug mode ( I tried startup -debug without success ).

thanks for any help

Mohammed

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



RE: Tomcat 5 in debug mode

2004-07-29 Thread Dale, Matt

You can set the debug parameter on various different entities in the server.xml. It 
all depends exactly what you wish to debug.

This will work on both windows and linux.

Ta
Matt

-Original Message-
From: Martin [mailto:[EMAIL PROTECTED]
Sent: 29 July 2004 10:56
To: [EMAIL PROTECTED]>
Subject: Tomcat 5 in debug mode


Hi all,

could somebody please tell me how to start tomcat 5 on Windows in debug
mode? I would like to use it for remote debugging, but I just recently
upgraded to tomcat 5 and could not find any description how to do this.

Is there maybe any generic solution to start tomcat 5 on windows and linux
in debug mode?

Many thanks,
Martin

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl


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

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

RE: Tomcat 5 in debug mode

2004-07-29 Thread Ralph Einfeldt

Have a look at catalina.bat/sh.

> -Original Message-
> From: Martin [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 29, 2004 11:56 AM
> To: [EMAIL PROTECTED]>
> Subject: Tomcat 5 in debug mode
> 
> 
> could somebody please tell me how to start tomcat 5 on 
> Windows in debug
> mode? I would like to use it for remote debugging, but I just recently
> upgraded to tomcat 5 and could not find any description how 
> to do this.
> 
> Is there maybe any generic solution to start tomcat 5 on 
> windows and linux in debug mode?
> 

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



Re: Tomcat 5 in debug mode

2004-07-29 Thread Christophe Thiébaud
I use this on windows:
1.
in bin\catalina.bat, set JPDA_TRANSPORT and JPDA_ADDRESS to fit your needs
e.g. mine are:
set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
I also change the default suspend=n to suspend=y on the last lines of 
the script (starting with %_EXECJAVA%)

2.
start command prompt in TOMCAT_HOME
3.
enter
bin\catalina.bat jpda start
CT
Martin wrote:
Hi all,
could somebody please tell me how to start tomcat 5 on Windows in debug
mode? I would like to use it for remote debugging, but I just recently
upgraded to tomcat 5 and could not find any description how to do this.
Is there maybe any generic solution to start tomcat 5 on windows and linux
in debug mode?
Many thanks,
Martin
 


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


Re: Tomcat 5 in debug mode

2004-07-29 Thread Martin
Thanks a lot for your answers. I figured out that the problem was that
tomcat was running as a windows service - I changed this and it is working
fine now. Besides this I found a good tutorial concerning remote debugging
at http://jakarta.apache.org/site/idedev-rdtomcat.html

Best regards,
Martin

> -Ursprüngliche Nachricht-
> Von: Christophe Thiébaud [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 29. Juli 2004 14:21
> An: Tomcat Users List
> Betreff: Re: Tomcat 5 in debug mode
> 
> 
> I use this on windows:
> 
> 1.
> in bin\catalina.bat, set JPDA_TRANSPORT and JPDA_ADDRESS to 
> fit your needs e.g. mine are: set JPDA_TRANSPORT=dt_socket 
> set JPDA_ADDRESS=8000
> 
> I also change the default suspend=n to suspend=y on the last lines of 
> the script (starting with %_EXECJAVA%)
> 
> 2.
> start command prompt in TOMCAT_HOME
> 
> 3.
> enter
> bin\catalina.bat jpda start
> 
> CT
> 
> Martin wrote:
> 
> >Hi all,
> >
> >could somebody please tell me how to start tomcat 5 on 
> Windows in debug 
> >mode? I would like to use it for remote debugging, but I 
> just recently 
> >upgraded to tomcat 5 and could not find any description how 
> to do this.
> >
> >Is there maybe any generic solution to start tomcat 5 on windows and 
> >linux in debug mode?
> >
> >Many thanks,
> >Martin

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl


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