RE: Tomcat, eclipse and jpda

2003-12-06 Thread Sergi Erola
y look into your catalina.sh. By default, it uses port 8000. I'm not sure if I understand you question, but I hope this is what you're asking. SC -Original Message- From: Sergi Erola [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 7:26 AM To: [EMAIL PROTECTED] Subject

RE: Tomcat, eclipse and jpda

2003-12-05 Thread Simon Chou
r 05, 2003 7:26 AM To: [EMAIL PROTECTED] Subject: Tomcat, eclipse and jpda Hi, I read the message in tomcat-user list about eclipse, tomcat and jpda, but i don't understand very well. I have two machines, one is a tomcat server and the other machine is my workstation. I execute tomcat

Re: Tomcat, eclipse and jpda

2003-12-05 Thread Jeff Tulley
The source code must be on the client machine, in an eclipse project. The binary build of it will be in your normal web application, in a jar file in WEB-INF\lib or as a .class file under WEB-INF\classes You call the servlet as you normally would, by its mapping that is specified in your web.x

Re: Tomcat, eclipse and jpda

2003-12-05 Thread Sergi Erola
Thanks Jeff But, I have one question... The servlet code must be in server machine or client machine?Or two machines? I call client machine the machine that has eclipse. And I must call servlet in with server url? Moreover, where is the debug information? Jeff Tulley <[EMAIL PROTECTED]> wrote

Re: Tomcat, eclipse and jpda

2003-12-05 Thread Jeff Tulley
For debugging servlets, you simply start Tomcat up on the server machine in jpda mode, make sure you have a project in eclipse with all of your servlet code (compile with debug information, which in my eclipse is the default), and put a breakpoint in the servlet code. Connect to the Tomcat debu

Tomcat, eclipse and jpda

2003-12-05 Thread Sergi Erola
Hi, I read the message in tomcat-user list about eclipse, tomcat and jpda, but i don't understand very well. I have two machines, one is a tomcat server and the other machine is my workstation. I execute tomcat with "./catalina.sh jpda run" and i can connect with eclipse when I try to debug.