This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Remote debugging in JBuilder (Tomcat)

 
Mike London
Ranch Hand
Posts: 1208
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anybody set up JBuilder Enterprise to do remote debugging of JSP/Bean/etc. code in Tomcat?
Any ideas on how to set this up?
Thanks in advance.
- Mike
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the IDE forum.
 
Michael Bronshteyn
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remote debugging with JBuilder is a pain in the neck. I would suggest BugSeeker, which is cheaper than JBuilder Enterprise and much much better.
To setup tomcat modifoy tomcat.bat ( .sh ) in the way that it can accept remote connection from debugger:
%_STARTJAVA% -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
in the example above tomcat is going to start and accept socket connection on port 8000. You will also need to setup your remote debugging project in JBuilder.
Again, if you would decide to use BugSeeker, you will be able to choose remote debugging project and specify host name where your debug tomcat is running and port.
good luck.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic