You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/11/26 10:24:14 UTC
[Bug 57263] New: NoClassDefFoundError:
sun/management/ExtendedPlatformComponent with JDK 1.8.0_40-ea-b15
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: dev@tomcat.apache.org
Reporter: bclozel@pivotal.io
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57263] NoClassDefFoundError:
sun/management/ExtendedPlatformComponent with JDK 1.8.0_40-ea-b15
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57263
bclozel <bc...@pivotal.io> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from bclozel <bc...@pivotal.io> ---
Note: I can't reproduce this issue with Tomcat 8.0.15 standalone, but I can
when using it in embedded mode.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57263] NoClassDefFoundError:
sun/management/ExtendedPlatformComponent with JDK 1.8.0_40-ea-b15
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57263
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Looks like a JVM packaging bug on OSX:
http://tomcat.markmail.org/thread/kpkgz6j6xofsuzi7
This is one for Apple.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57263] NoClassDefFoundError:
sun/management/ExtendedPlatformComponent with JDK 1.8.0_40-ea-b15
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57263
Koen S. <ko...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Macintosh |All
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57263] NoClassDefFoundError:
sun/management/ExtendedPlatformComponent with JDK 1.8.0_40-ea-b15
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57263
Koen S. <ko...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #4 from Koen S. <ko...@gmail.com> ---
I just got the same thing under linux.
tc@8208c76bea75:/tomcat# bin/catalina.sh run
Using CATALINA_BASE: /tomcat
Using CATALINA_HOME: /tomcat
Using CATALINA_TMPDIR: /tomcat/temp
Using JRE_HOME: /jre1.8.0_40
Using CLASSPATH: /tomcat/bin/bootstrap.jar:/tomcat/bin/tomcat-juli.jar
28-Nov-2014 09:48:16.029 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache
Tomcat/8.0.14
28-Nov-2014 09:48:16.031 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 24
2014 09:01:51
28-Nov-2014 09:48:16.031 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.14.0
28-Nov-2014 09:48:16.032 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
28-Nov-2014 09:48:16.032 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:
3.10.53-56.140.amzn1.x86_64
28-Nov-2014 09:48:16.033 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
28-Nov-2014 09:48:16.033 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:
1.8.0_40-ea-b15
28-Nov-2014 09:48:16.041 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle
Corporation
28-Nov-2014 09:48:17.664 SEVERE [main]
org.apache.tomcat.util.digester.Digester.startElement Begin event threw error
java.lang.NoClassDefFoundError: sun/management/ExtendedPlatformComponent
at
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:494)
at
org.apache.tomcat.util.modeler.Registry.getMBeanServer(Registry.java:443)
at org.apache.catalina.mbeans.MBeanUtils.createServer(MBeanUtils.java:580)
at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:77)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57263] NoClassDefFoundError:
sun/management/ExtendedPlatformComponent with JDK 1.8.0_40-ea-b15
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57263
--- Comment #3 from bclozel <bc...@pivotal.io> ---
Thanks, missed that message in the ML...
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57263] NoClassDefFoundError:
sun/management/ExtendedPlatformComponent with JDK 1.8.0_40-ea-b15
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57263
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Mark Thomas <ma...@apache.org> ---
OK. That makes it an Oracle problem then.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org