facebook

Can’t start Tomcat 5 – Java error

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

    tenjin
    Member

    Hi,

    I have installed MyEclipseIDE and Tomcat 5.0 on my Windows XP machine no problem. However, after installing the same software on my Windows 2000 machine I get the following error when trying to start Tomcat from within the IDE:

    Nov 21, 2003 11:26:34 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on port 8080
    Exception during startup processing
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    Caused by: java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:709)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:941)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:941)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:621)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:958)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1097)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:579)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    … 5 more

    Any ideas?

    Thanks

    D.

    #200237 Reply

    tenjin
    Member

    Hi,

    I should have added:

    Eclipse 2.1.1
    Latest MyEclipseIDE (downloaded in the last few days)
    Latest Tomcat (5.0.14).

    Thanks

    D.

    #200240 Reply

    support-michael
    Keymaster

    I just upgraded to TC 5.0.14 and it starts without complaint on a similar set up. I did notice that when it starts it output log includes a statement We have seen a similar problem with the most recent Tomcat 4.1.29 release

    Caused by: java.lang.NoClassDefFoundError: javax/management/MBeanRegistration

    We are researching this and will resolve it ASAP. For the short-term consider rolling back to an earlier version of TC, e.g., TC 5.0.12.

    Michael
    MyEclipse Support

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Can’t start Tomcat 5 – Java error

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