File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes Debugging J2EE apps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Debugging J2EE apps" Watch "Debugging J2EE apps" New topic

Debugging J2EE apps

Smythe Smythe

Joined: Apr 12, 2003
Posts: 7
Hi all,
got a problem trying to debug a j2ee application using JPDA. But both the IDE and app server live on the same machine. I set up the application server and the IDE for debugging. The the first time debugging works fine and the IDE can "attach" itself to the appserver debug port OK, step through, etc.
But when I stop debugging and start again, I get a message saying "Connection refused: connect". When I restart the applcation server I can now debug again. Is it the case that after each debug session the JVM has to be restated? or am i missing something? Im on windows xp, jdk1.4.2, J2EE1.4 RI, IDEA and NetBeans.
I agree. Here's the link:
subject: Debugging J2EE apps
It's not a secret anymore!