Forum Moderators: phranque

Message Too Old, No Replies

Debugging servlets

How to configure debugging in apache, tomcat, eclipse

         

Solver

4:19 pm on Jun 20, 2005 (gmt 0)

10+ Year Member



OK

I am an experienced developer, my web server development has been Microsoft to date.

Now I am trying to get a minimal java servlet setup configured and I am having problems finding documentation and clarity on this subject.

All I want (initially) is a simple environment that allows me to write web server functionality in Java.

To this end I have installed and configured:

1. Apache (2.0.54)
2. Tomcat (5.5.9)
3. Eclipse (3.0.2)
4. Various libraries (JDK, JRE etc) from Sun etc

From what I gather these technologies should be adequate for a basic servlet setup and so far they appear to be.

However, a serious drawback with all this is that I cannot find reliable, up to date explanations on how to do various things.

There are so many version specific articles, so many possible permutations of product configurations that it is a time intensive and risk ridden activity trying to make progress.

I have Apache, Tomcat and Eclipse working "together" to an extent, but need to get debugging working.

I specifically want to:

1. Be able to set breakpoints in servlet code
2. Be able to start a debug session
3. Be able to debug servlet and/or JSP code
4. Be abel to do this on same box or remote boxes

I have read some articles, but frankly the quality is of some concern and I cannot get clear answers to many questions.

The dev system is a Win XP SP1 machine, and all of the above are running locally for this initial setup phase.

Any info much appreciated

Hugh

jdMorgan

4:34 pm on Jul 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hugh,

Welcome to WebmasterWorld!

Because your questions cover a lot of ground, a lot of it outside of Apache itself, this thread will likely get better answers in our Website Technology [webmasterworld.com] forum, or in forums specific to the technology in question.

Jim