facebook

Tomcat 5.0 fails to start [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    elgringo
    Member

    Hi,
    i am using Tomcat 5.0, Eclipse 3.0.1, and MyEclipse 3.8.4.
    I configured Tomcat as follow:

    Home Dir: E:\Programme\Apache Software Foundation\Tomcat 5.0
    Base Dir: E:\Programme\Apache Software Foundation\Tomcat 5.0
    Temp Dir: E:\Programme\Apache Software Foundation\Tomcat 5.0\temp
    JDK:
    jdk1.4
    optional
    -Dcatalina.home=E:\Programme\Apache Software Foundation\Tomcat 5.0
    -Djava.endorsed.dirs=E:\Programme\Apache Software Foundation\Tomcat 5.0\common\endorsed
    -Djava.io.tmpdir=E:\Programme\Apache Software Foundation\Tomcat 5.0
    Launch: Debug mode
    

    When starting Tomcat through Eclipse i get 2 errors.
    First is

    Could not find the main class. Program will exit. 

    Second is

    A configuration error occurred during startup . Please verify the preference field with the prompt: java.langNoClassDefFoundError: Software

    Starting Eclipse externally works fine.

    thx

    #226113

    Riyad Kalla
    Member

    What happens when you get rid of all the optional flags? You shouldn’t need to set any of them…

    #226152

    elgringo
    Member

    Can’nt believe it was that simple! It worked!

    I thought i would have to use the Same params that Tomcat uses in its service manager. I deleted them all, as you told me, and Tomcat started perfectly.

    Thanks alot!

    “You may now savely close this thread” 😆

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Tomcat 5.0 fails to start [Closed]

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