- This topic has 3 replies, 2 voices, and was last updated 19 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
laurent.kMemberI’m using ME and its functionality of starting Tomcat for 3 months in order to access easily in debugging JSP & servlets !
All always work fine, but yet I encountered always the same problem when I start Tomcat within ME and I don’t understand why because when I start Tomcat manually using the “$CATALINA_HOME/bin/startup.bat” there’s no such behaviour/problem !
In fact, the problem it is dealing with is that Tomcat tries to load every webapp context that it founds in “$CATALINA/conf/Catalina/localhost/*.xml” and also directly looking in subdirectories of “$CATALINA/webapps/” and for each of this context I’m automatically forwarding to the Eclipse debug perspective with the following error message :
Source not found for StandardContext.start() line: 4151
Then I click on the “Resume” button and after each context being loaded, Tomcat seems to be normally started and to work fine because I put some breakpoints in my JSP/servlet and it responds well !
But I’m getting more and more crazy with this Tomcat start procedure using ME.
Thanks for replying asap.
Riyad KallaMemberLauren,
This is *very* frustrating as I have had it happen to me as well, except it stops in FileNotFoundException when I run into it. We had 2 other users run into this and it seems to be some problem with the Eclipse debugger interacting with Tomcat.First try and shut down Tomcat, then go to your debug perspective, click on the “Breakpoints” tab, right click and say “Remove all”, now close all your editors AND your projeccts and exit Eclipse. Now edit the shortcut you use to start MYEclipse and add -clean to your command line arguments outlined here: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343
After MyEclipse starts up, you can remove -clean, now try and debug. Does it work?
If it doesn’t, the only known workaround for this is to create a new workspace, last time I checked into this it was filed in bugs.eclipse.org but I don’t have a link handy.
laurent.kMemberOk, it works yet normally again since I have restarted Eclipse with “-clean” option in shortcut command line !
Thanks again & again for your reactivity.
Best regards.
Riyad KallaMemberI am glad it worked.
-
AuthorPosts