Debug application server

S

steve

Any idea how to debug an application server; such as, tomcat or jboss?

Any hint or guide are welcome.
 
R

Roedy Green

Any idea how to debug an application server; such as, tomcat or jboss?

Any hint or guide are welcome.

I have been working on simple Servlets and have found Caucho-Resin
just gets in the way of debugging. What a pain in the butt! You can't
place your source code in an easily accessible place. You can't
compile in your normal way. You get error messages on the browser
which don't take you back the corresponding source code, and the womb
keeps giving you the old code. You can't use any debugging tools.
Every compile-test cycle takes at least 5 times as long as it would
normally.


Further you work blind -- not seeing the traffic in and out in the
sockets to the client or to MySQL.


I think the way out, at least for Servlets, would be to write or find
an absolutely minimalist Servlet womb. You compile and run everything
in the traditional way. Once you get it all working, then you move it
to a full blown womb. Then when you get that working, you move to a
server.
 
S

Sudsy

Roedy said:
I have been working on simple Servlets and have found Caucho-Resin
just gets in the way of debugging. What a pain in the butt! ...
<snip>

Whereas I've been using Eclipse and have been very pleasantly surprised
by how transparent debugging has become. Creating breakpoints, setting
watches, etc., easy as pie. Sure beats printlns and following the logs
with "tail -f"...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top