tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Gifvars" <...@gifvars.com>
Subject Tomcat 4.1.29 and MBeanRegistration class not found
Date Sun, 01 Feb 2004 15:13:14 GMT
Hello,

I've got serious problem starting Tomcat 4.1.29 from my
IntelliJ/IDEA-ide.
I also run JSDK 1.4.1_07.

When starting the coyote HTTP server says that it can't find
javax/management/MBeanRegistration class.
But what I understand this is a J2EE 1.4 class and I don't understand
how anyone can reference the class yet.
Anyone knows a solution to this?
It works fine when starting from the Windows/XP command prompt.

Below you find the stacktrace.

Best regards,

Jan Gifvars


2004-feb-01 15:12:02 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.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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(StandardClassLo
ader.java:941)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.java:857)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.java:941)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.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(StandardClassLo
ader.java:621)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.java:958)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.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.jav
a:1097)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java
:579)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2
246)
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
Process terminated with exit code 2

------------------ startup parameters ----------------------------

C:\java\j2sdk1.4.1_07\bin\javaw.exe
-Dcatalina.base=D:\users\gifvars\RelaySource\utveckling\tomcat\jakarta-t
omcat-4.1.29
-Dcatalina.home=D:\users\gifvars\RelaySource\utveckling\tomcat\jakarta-t
omcat-4.1.29
-Djava.endorsed.dirs=D:\users\gifvars\RelaySource\utveckling\tomcat\jaka
rta-tomcat-4.1.29\bin;D:\users\gifvars\RelaySource\utveckling\tomcat\jak
arta-tomcat-4.1.29\common\endorsed -classpath
C:\java\j2sdk1.4.1_07\lib\tools.jar;D:\users\gifvars\RelaySource\utveckl
ing\tomcat\jakarta-tomcat-4.1.29\bin\bootstrap.jar;C:\java\j2sdk1.4.1_07
\jre\lib\charsets.jar;C:\java\j2sdk1.4.1_07\jre\lib\jaws.jar;C:\java\j2s
dk1.4.1_07\jre\lib\jce.jar;C:\java\j2sdk1.4.1_07\jre\lib\jsse.jar;C:\jav
a\j2sdk1.4.1_07\jre\lib\rt.jar;C:\java\j2sdk1.4.1_07\jre\lib\sunrsasign.
jar;C:\java\j2sdk1.4.1_07\jre\lib\ext\dnsns.jar;C:\java\j2sdk1.4.1_07\jr
e\lib\ext\ldapsec.jar;C:\java\j2sdk1.4.1_07\jre\lib\ext\localedata.jar;C
:\java\j2sdk1.4.1_07\jre\lib\ext\sunjce_provider.jar;D:\users\gifvars\Re
laySource\utveckling\tomcat\jakarta-tomcat-4.1.29\webapps\groopiweb\WEB-
INF\classes org.apache.catalina.startup.Bootstrap start



 
 
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message