facebook

JSP online compiler, debugging, Tomcat 4.24 [Closed]

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

    Hi,

    After installing and following basic instructions for tutorial 1, I’m getting the following anomalies:
    – The online comiler does not show any errors (on the left). I do get the smart param/functions for a specific class once I press the “.”.
    – Whenever I stop tomcat, I get <not responding> on the debug pane.

    org.apache.catalina.startup.Bootstrap at localhost:14778
    <not responding>
    <not responding>
    <not responding>

    – I cant debug the JSP either. I don’t get any valid breakpoints.

    I’m using Eclipse 2.1.0, tomcat 4.24, j2sdk1.4.0_02

    Thanks,

    Julio

    #199073 Reply

    support-michael
    Keymaster

    Julio,

    The MyEclipse JSP debugger will only function with appservers that support the JSR045 specification. In the case of Tomcat that means Tomcat5. Consider upgrading your development server to Tomcat5 and you should have good success.

    Regards,

    Michael
    MyEclipse Support

    #199137 Reply

    Ok. I moved to Tomcat 5. I made a new install of Eclipse 2.1.1 and MyEclipse also. Here are my problems still:
    – I can get online compilation for jsp, but I have to “Recompile all JSPs” in order to reflect changes. OK, I can live with it for now.
    – I import a whole bunch of classes I have built, rebuild all and….. all of my class files get DELETED???? Wow! I tried this a whole bunch of times. I tried copying them through the file manager, but whenever I rebuild all, ALL of the files and directories under the “Web Root\WEB-INF\classes” directory get deleted. Where do they go?
    – Finally, whenever I start Tomcat 5 and stop it, I still get:

    org.apache.catalina.startup.Bootstrap at localhost:14778
    <not responding>
    <not responding>
    <not responding>

    Thanks for the help.

    Julio 😕

    #199138 Reply

    support-michael
    Keymaster

    – I can get online compilation for jsp, but I have to “Recompile all JSPs” in order to reflect changes. OK, I can live with it for now.

    We have an enhancement request on this.

    whenever I rebuild all, ALL of the files and directories under the “Web Root\WEB-INF\classes” directory get deleted. Where do they go?

    The default rebuild/buildAll behavior of Eclipse Java tooling which MyEclipse uses is to delete (i.e., scrub) the output folder(s). You can disable the policy in the Java preferences. Go to Window menu > Preferences > Java > Compiler > Build Path tab. Then unselect the “Scrub output folders on full build” option.

    org.apache.catalina.startup.Bootstrap at localhost:14778
    <not responding>
    <not responding>

    Is your Tomcat5 configuration special in some way? Also are you still using JDK 1.4.0_02? I’ll consult with Scott and see if he is familiar with this one. In a worse case scenario you can manually terminate Tomcat JVM process from the debugger perspective.

    Michael
    MyEclipse Support

    #199140 Reply

    Thanks Michael!

    I have everything under control except debuging and:

    org.apache.catalina.startup.Bootstrap at localhost:14778
    <not responding>
    <not responding>

    This appears when I stop the tomcat process. No special configuration. I did it on a clear installation:
    -Windows XP (with latest service packs)
    -New installation Eclipse 2.1.1
    -New installation MyEclipse 2.6.2
    -JDK 1.4.0_02

    Is there any special configuration for: Preferences>MyEclipse>Tomcat 5>Paths ??? In the manual nothing is mentioned. I remember my Sysdeo Tomcat installation had something there. I think it was tools.jar and rt.jar.

    Any other configuration tips greatly appreciated!

    I don’t know it this has any relation to my debuging problem. But I can place a valid breakpoint (dot with a check mark), but when I execute the page, it just hangs. I saw something in the forum with regards to debuging. I’ll check it out.

    Thanks again!

    Julio

    PS: Good support!

    #199141 Reply

    support-michael
    Keymaster

    I believe several users experienced JSP debugging problems using early 1.4.0 JDKs. Can you try upgrading to the latest GA JSDK and see if the problem still persists. There were several known problems with JPDA (the Java debug service) in the earlier 1.4 releases.

    Michael
    MyEclipse Support Dude

    #199144 Reply

    OK!!!! I MOVED TO JSDK 1.4.2_01 AND EVERYTHING IS OK!!!

    Don’t ask me why but the jsp online compilation upon “save” works also!!!

    —-

    NICE!!!

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: JSP online compiler, debugging, Tomcat 4.24 [Closed]

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