facebook

Starting Tomcat fails in debug mode

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #227006 Reply

    I have Eclipse 3.0.1 (buildID: 200409161125) installed with myEclipse version 3.8.4 (buildID: 200501171200-3.8.4) on Mac OS X. I experience some trouble starting Tomcat 5.0.28 in debug mode.

    I have configured the tomcat server as in the documentation and enabled the server. When i start tomcat from eclipse in debug-mode the loading fails with the message “Source not found for StandardContext.start(): line 4151.

    This is the console output:

    22-mrt-2005 23:05:49 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    22-mrt-2005 23:05:49 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 3390 ms
    22-mrt-2005 23:05:50 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    22-mrt-2005 23:05:50 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    22-mrt-2005 23:05:50 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    22-mrt-2005 23:05:50 org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx ) 
    22-mrt-2005 23:05:50 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:/Users/chris/opt/jakarta-tomcat-5.0.28/conf/Catalina/localhost/admin.xml
    

    Loading in run mode works just fine. What am i doing wrong?
    Please tell me if you need more info, i’ll try to post it.

    #227022 Reply

    Riyad Kalla
    Member

    I think you are missing some console output, please paste ALL of it (what you posted makes it look like it ran fine 😉

    #227034 Reply

    I’m sorry. This is _all_ console output. The error is raised after each xml-file. If i press run in the debug window after the message is stops at Catalina/localhost/balancer.xml. Is there another location where error’s are written?

    #227038 Reply

    Riyad Kalla
    Member

    The error is raised after each xml-file.

    Please explain “raised”, I don’t see any errors in your console so are you getting popup messages? Where are these errors occuring?

    If i press run in the debug window after the message is stops at Catalina/localhost/balancer.xml

    Do you mean “continue” in the debug view? You shouldn’t be *running* the app server except by using the app server button on the tool bar and seleting Start or Stop, the normal run buttons that are part of Eclipse have no roll in this, so when you said “click the Run button” it made me think maybe you are either not doing what I think you are doing, or you are trying to run the server incorrectly.

    Is there another location where error’s are written?

    You can try the Eclipse log file, it might shed some light for us: <workspace dir>\.metadata\.log

    #227045 Reply

    with raised i mean that an editor is opened with the error i gave in my start post, the source not found… Yes, i meant continue.

    I did a little search and found the solution on this thread in the last message: http://www.eclipseplugincentral.com/PNphpBB2+file-viewtopic-t-1244-sid-eac05662be45c53882df657dbe861436.html

    #227046 Reply

    Riyad Kalla
    Member

    Wait so this was a Sysdeo Tomcat Plugin issue and not MyEclipse?

    #227053 Reply

    I don’t no sysdeo, i only use MyEclipse as j2ee dev plugin but the error raised was exactly the same. tried the hints and it seems to work.

    #227055 Reply

    Riyad Kalla
    Member

    Ahh very strange, glad it is fixed though.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Starting Tomcat fails in debug mode

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