facebook

tomcat 4.1.29 integration error

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

    Dirk de Kok
    Member

    hi there,

    I am trying to get the Tomcat 4 integration to work, but it fails. When I go to Run/stop Servers ->Tomcat 4 -> Start, MyEclipse starts, but throws this error:

    java.lang.NoClassDefFoundError: javax/management/MBeanRegistration

    see below for complete error

    this class is located in mx4j-jmx.jar, but adding this to the classpath (either prepend or append) doesn’t work…
    Starting tomcat from the command line by calling the startup.bat file works fine

    somewhere on the net I found that using the Tomcat 5 instead of Tomcat 4 application server integration would fix it, but no success. Also, setting up integration with Orion 2.02 works fine

    Anybody any ideas?

    OS: windows XP
    eclipse: 2.1.2
    MyEclipse workbench: 2.6.4
    Tomcat : 4.1.29
    JDK: 1.4.1_05

    =================================
    complete stack:

    ov 23, 2003 4:01:55 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:723)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    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:315)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    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:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    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

    #200272 Reply

    Scott Anderson
    Participant

    Dirk,

    This problem is a result of changes made in the startup configuration in the 4.1.29 build of Tomcat. The problem was first discovered in this thread:
    https://www.genuitec.com/forums/topic/can-not-start-tomcat-4-1-29-enhancement/#post-199835

    This will be addressed in our next service release. The current workaround is to use a slightly earlier version of Tomcat (4.1.27).

    –Scott
    MyEclipse Support

    #200273 Reply

    Dirk de Kok
    Member

    ha,

    I searched the wrong forum:)

    Thanks Scott for the quick answer, I’ll downgrade in anticipation of your service release

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: tomcat 4.1.29 integration error

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