Find my comment inline: On Mon, Nov 24, 2014 at 3:25 PM, Edoardo Panfili <edoa...@aspix.it> wrote:
> Il 24/11/14 10:04, Fabio Ricci ha scritto: > >> Hi Ameer >> >> thank you again for the link to the JDK - But I had it already installed >> on my yosemite. This JDK 8.25 has also the spoken peculiarity. >> > I am using Tomcat 8.0.15 with jdk1.8.0_25 on Yosemite and it works fine > (only some troubles setting up the startup script). > > As I said, the issue lies ONLY with jdk/jre *1.8.0_40 EA* release. Try understand, the difference between 1.8.0_40 and release like 1.8.0_25. Both are java8 but different update release. 1.8.0_40 is an EARLY Access release and not officially released yet. You can expect things like this with an EA release. That why I said, go with a stable release, latest one available at oracle is 1.8.0_25 and that should work fine. I switched to Linux - there there seem to be less peculiarities as on osx. >> > completely agree! > > I have verified 1.8.0_40 on window, it has issue to. I didn't got the chance to verify with Linux version of this release, but I guess, issue lies with all the platform of this release. > Edoardo > > >> :) >> >> >> >> Kind regards / Meilleures salutations / Freundliche Grüsse >> Fabio Ricci >> semweb >> Semantic Web Technologies · Records Management >> Software systems · ICT coaching · ICT Projects leading >> www.semweb.ch >> >> Weinmanngasse 26 >> CH-8700 Küsnacht ZH (Switzerland) >> >> Tel. >> >> +41 (076) 5281961 >> +39 (389) 0681334 >> >> Skype: >> >> semweb-llc >> >> Confidentiality Warning: This message and any attachments are intended >> only for the use of the intended recipients, are confidential and maybe >> privileged. If you are not the intended recipient, you are hereby notified >> that any review, retransmission, conversion to hard copy, copying, >> circulation or other use of this message and any attachments is strictly >> prohibited. If you are not the intended recipient, please notify the sender >> immediately by return email, and delete this message and any attachments >> from your system. Thank you. >> >> >> From: Ameer Mawia <ameer.ma...@gmail.com> >> Reply: Tomcat Users List <users@tomcat.apache.org>> >> Date: 24 November 2014 at 00:44:45 >> To: Tomcat Users List <users@tomcat.apache.org>> >> Subject: Re: Tomcat 8 does not start with java 8 on YOSEMITE >> >> Hi Fabio, >> >> There seems to be an issue with update 40 Early Access release of >> jre/jdk8(1.8.0_40). Compared with update 20 of jre/jdk8 release, you will >> see following lines of code has been added to getPlatfromMBeanServer: >> >> for (final PlatformManagedObject o : >> >> ExtendedPlatformComponent.getMXBeans()) >> { >> if (!platformMBeanServer.isRegistered(o.getObjectName())) >> { >> addMXBean(platformMBeanServer, o); >> } >> >> But if you look into the accompanied rt.jar of the jre, this newly >> introduced class(ExtendedPlatformComponent) can NO-WHERE be found. >> >> This issue, seems to be there across all the JAVA_VERSION="1.8.0_40" EA >> release, irrespective of platform. >> >> Your remedy is to move back to a stable release. Latest stable release >> seems to be Java SE 8u25. >> >> Regards, >> Ameer Mawia >> >> On Sun, Nov 23, 2014 at 4:09 AM, Fabio Ricci <fabio.ri...@semweb.ch> >> wrote: >> Dear tomcat community >> >> Maybe someone did have this before (and possibly solved it) >> >> On a mac book pro/JOSEMITE I installed Java 8 "1.8.0_40-ea" with JDK. >> My $JAVA_HOME is /Library/Java/JavaVirtualMachines/jdk1.8.0_ >> 40.jdk/Contents/Home >> >> Then I downloaded a tomcat 8 core from http://tomcat.apache.org/ >> download-80.cgi >> When I start this tomcat 8 I get the following Java exceptio - see below. >> >> With this Java 8 also my older tomcat 7 throws the same exception. >> The official oracle java test page (https://www.java.com/en/ >> download/installed.jsp) says, I have already java uptodate. >> >> The exception: >> It seems that "sun/management/ExtendedPlatformComponent" be not part of >> tomcat 8 nor java 8 ... >> >> Does anyone have some hints for me? I cannot figure our what is wrong ... >> Thank you very much in advance! >> >> Kind regards >> Fabio >> >> >> PS: The exception on start (/bin/startup.sh): >> 22-Nov-2014 18:43:02.218 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) >> at org.apache.catalina.mbeans.GlobalResourcesLifecycleListen >> er.<clinit>(GlobalResourcesLifecycleListener.java:66) >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> Method) >> at sun.reflect.NativeConstructorAccessorImpl.newInstance( >> NativeConstructorAccessorImpl.java:62) >> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( >> DelegatingConstructorAccessorImpl.java:45) >> at java.lang.reflect.Constructor.newInstance(Constructor.java: >> 422) >> at java.lang.Class.newInstance(Class.java:442) >> at org.apache.tomcat.util.digester.ObjectCreateRule. >> begin(ObjectCreateRule.java:117) >> at org.apache.tomcat.util.digester.Digester. >> startElement(Digester.java:1184) >> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser. >> startElement(AbstractSAXParser.java:509) >> at com.sun.org.apache.xerces.internal.parsers. >> AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser. >> java:182) >> at com.sun.org.apache.xerces.internal.impl. >> XMLDocumentFragmentScannerImpl.scanStartElement( >> XMLDocumentFragmentScannerImpl.java:1343) >> at com.sun.org.apache.xerces.internal.impl. >> XMLDocumentFragmentScannerImpl$FragmentContentDriver.next( >> XMLDocumentFragmentScannerImpl.java:2786) >> at com.sun.org.apache.xerces.internal.impl. >> XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) >> at com.sun.org.apache.xerces.internal.impl. >> XMLDocumentFragmentScannerImpl.scanDocument( >> XMLDocumentFragmentScannerImpl.java:510) >> at com.sun.org.apache.xerces.internal.parsers. >> XML11Configuration.parse(XML11Configuration.java:848) >> at com.sun.org.apache.xerces.internal.parsers. >> XML11Configuration.parse(XML11Configuration.java:777) >> at com.sun.org.apache.xerces.internal.parsers.XMLParser. >> parse(XMLParser.java:141) >> at com.sun.org.apache.xerces.internal.parsers. >> AbstractSAXParser.parse(AbstractSAXParser.java:1213) >> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$ >> JAXPSAXParser.parse(SAXParserImpl.java:649) >> at org.apache.tomcat.util.digester.Digester.parse( >> Digester.java:1457) >> at org.apache.catalina.startup.Catalina.load(Catalina.java:551) >> at org.apache.catalina.startup.Catalina.load(Catalina.java:599) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke( >> NativeMethodAccessorImpl.java:62) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >> DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:497) >> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java: >> 310) >> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: >> 484) >> >> >> >> -- >> Kind regards / Meilleures salutations / Freundliche Grüsse >> Fabio Ricci >> semweb >> >> Semantic Web Technologies · Records Management >> Software systems · ICT coaching · ICT Projects leading >> >> www.semweb.ch >> >> >> >> Weinmanngasse 26 >> CH-8700 Küsnacht ZH (Switzerland) >> >> >> >> Tel. >> >> +41 (076) 5281961 >> +39 (389) 0681334 >> >> Skype: >> >> semweb-llc >> >> Confidentiality Warning: This message and any attachments are intended >> only for the use of the intended recipients, are confidential and maybe >> privileged. If you are not the intended recipient, you are hereby notified >> that any review, retransmission, conversion to hard copy, copying, >> circulation or other use of this message and any attachments is strictly >> prohibited. If you are not the intended recipient, please notify the sender >> immediately by return email, and delete this message and any attachments >> from your system. Thank you. >> >> >> >> >