facebook

JSP Tomcat 5 debugging fails

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #198680 Reply

    rjfhendriks
    Member

    Hi

    Hi trying to get the JSP debugger to work on W2000, JDK1.4.2, Eclipse 2.1.0 200303272130, MyEclipse 2.6.2 and TomCat 5.0.12.
    I followed the manual (Web Development Tutoral – Part 2) and set a breakpoint at a out.println() but the JSP doesn’t stop. There no check at the breakpoint too. Can I check something “under water” to see if there’s something wrong?

    #198697 Reply

    Scott Anderson
    Participant

    The first place to look for anything is the Eclipse log file, located at <workspace>/.metadata/.log. Are you positive that you’re launching Tomcat with JDK 1.4.2 (Window > Preferences > MyEclipse > AppServers > Tomcat 5 > JDK.

    The next thing to try is generating a default JSP using the JSP wizard into your application and setting a breakpoint on one of the first two lines of Java. Is that breakpoint hit?

    Are there any other external plugins installed? How many plugins begin with org.eclipse.pde.* in the plugins directory?

    –Scott
    MyEclipse Support

    #198735 Reply

    rjfhendriks
    Member

    After rebooting my PC I know see a check with the breakpoint but if I start a debug session the browser seems too hang and the Eclipse session doesn’t show anything either.
    I found another post about this one but no answer with it ;(. I’m sure i’m using JDK 142 and have 6 org.eclipse.pde.* plus a org.eclipse.pde_210 directory.
    Maybe its the following plugin that causes the trouble? fr.helloworld.eclipse.resin >> The debug from java itself did work for this one (before the installation of myeclipse) but not anymore (i have to pause resume too go on and eclipse doesn’t show anything).

    #198739 Reply

    rjfhendriks
    Member

    — notify on

    #198740 Reply

    rjfhendriks
    Member

    I removed the resin plugin bus this doesn’t seem to work either. Now the checkbox is gone with the breakpoint (i’m using the myeclipse jsp editor). I can even change the code and rerun but no break appears. This is my startup command:

    C:\j2sdk1.4.2\bin\javaw.exe -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 5.0 -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 5.0 -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin;C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/endorsed -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 5.0\temp -Djava.library.path=C:\j2sdk1.4.2\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin -classpath C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin/bootstrap.jar;C:\j2sdk1.4.2/lib/tools.jar -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,suspend=y,address=localhost:12141 org.apache.catalina.startup.Bootstrap start

    #198742 Reply

    rjfhendriks
    Member

    No succes with Jetty5 either.

    #198755 Reply

    support-michael
    Keymaster

    Can you check your Eclipse error log for unusual errors? See the file at <workbench>/.metadata/.log.

    Michael
    MyEclipse Support

    #198756 Reply

    support-michael
    Keymaster

    Can you check your Eclipse error log for unusual errors? See the file at <workbench>/.metadata/.log.

    Michael
    MyEclipse Support

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: JSP Tomcat 5 debugging fails

You must be logged in to post in the forum log in