facebook

Can’t start Tomcat within MyEclipse [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #225976 Reply

    bradm
    Member

    Suddenly, every attempt to start Tomcat from within MyEclipse bails. I can start the server externally and it does its job, but MyEclipse is having a hell of a time with it. The error Tomcat returns (in the MyEclipse Debug window, which suddenly appears next to the Console tab) is:

    Thread [main] (Suspended (exception FileNotFoundException))
    URLClassPath$JarLoader.getJarFile(URL) line: 577
    URLClassPath$JarLoader.<init> (URL,URLStreamHandler, HashMap) Line: 546
    ….

    Any ideas? (Eclipse 3.1M4; MyEclipse 3.8.4; Tomcat 5.5.7)

    #226018 Reply

    Riyad Kalla
    Member

    It’s not bailing, it is just stopping at a ghost breakpoint (I’ve had this happen as well as a few other users), it is really weird. The Eclipse debugger things there are break points or just stops on the exceptions on startup.

    Do this:
    1) Shut down Tomcat
    2) Switch to debug persecptive
    3) Click on “Break points” Tab, right click > REMOVE ALL
    4) Shut down MyEclipse
    5) Edit the shortcut you use to start MyEclipse and add the -clean command line argument as outlined here: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343
    6) Restart MyEclipse (now you can remove -clean)
    7) Try and start Tomcat

    If that doesn’t work, the workaround is a new clean workspace, we have yet to nail down what causes this as it happens so randomly and infrequently. Even I couldn’t run it down on my own setup when it happened, and I’ve never had it happen again.

    #226034 Reply

    bradm
    Member

    Thanks Riyad! Actually, just steps 1-4 cleared it up. Cheers.

    #226035 Reply

    Riyad Kalla
    Member

    Glad to hear it.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Can’t start Tomcat within MyEclipse [Closed]

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