Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat debug mode

 
Lukas Alamar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, im trying to start tomcat 5.5 in debug mode, im using eclipse and want to debug a small web app.

I modified startup.bat and catalina.bat but there's something wrong,
here's the lines i modified:

1 - startup.bat:
call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%

2 - catalina.bat
set JPDA_TRANSPORT=dt_socket
...
set JPDA_ADDRESS=5000

When i run startup.bat it wont start but if i remove jpda from it it works ok, what did i miss?

Maybe i need to add somrthing more but i cant figure it out, can you help me??
thanks!
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a question for the tomcat forum.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I'll move this there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic