https://issues.apache.org/bugzilla/show_bug.cgi?id=57263
Bug ID: 57263
Summary: NoClassDefFoundError:
sun/management/ExtendedPlatformComponent with JDK
1.8.0_40-ea-b15
Product: Tomcat 7
Version: 7.0.57
Hardware: Macintosh
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
As part of my work (so not running this in production!), I'm testing the latest
JDK8 early access versions.
> java version "1.8.0_40-ea"
> Java(TM) SE Runtime Environment (build 1.8.0_40-ea-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 25.40-b18, mixed mode)
I get the following exception:
Using CATALINA_BASE: /Users/bclozel/devtools/apache-tomcat-7.0.57
Using CATALINA_HOME: /Users/bclozel/devtools/apache-tomcat-7.0.57
Using CATALINA_TMPDIR: /Users/bclozel/devtools/apache-tomcat-7.0.57/temp
Using JRE_HOME:
/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
Using CLASSPATH:
/Users/bclozel/devtools/apache-tomcat-7.0.57/bin/bootstrap.jar:/Users/bclozel/devtools/apache-tomcat-7.0.57/bin/tomcat-juli.jar
nov. 26, 2014 10:14:37 AM org.apache.catalina.startup.Bootstrap
initClassLoaders
GRAVE: Class loader creation threw exception
java.lang.NoClassDefFoundError: sun/management/ExtendedPlatformComponent
at
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:494)
at
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:157)
at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:90)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:226)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
In two different occasions:
* when launching an embedded tomcat
* or easier to reproduce, when shutting down a tomcat instance with
tomcat/bin/shutdown.sh
Note: I can't reproduce this issue on Tomcat 8.0.15
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]