Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debugging J2EE apps

 
Smythe Smythe
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Cheers,
Smythe...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic