Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261208

java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre8\bin\management.dll

    XMLWordPrintable

    Details

    • CPU:
      generic
    • OS:
      generic

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Windows Server Version 6.0 (Build 6002: Service Pack 2).

      c:\Program Files\Apache Software Foundation\Tomcat 7.0\lib>"c:\Program Files\Java\jre8\bin\java.exe" -cp catalina.jar org.apache.catalina.util.ServerInfo

      Server version: Apache Tomcat/7.0.107
      Server built: Nov 18 2020 12:18:55 UTC
      Server number: 7.0.107.0
      OS Name: Windows Server 2008
      OS Version: 6.0
      Architecture: x86
      JVM Version: 1.8.0_281-b09
      JVM Vendor: Oracle Corporation

      A DESCRIPTION OF THE PROBLEM :
      When running Tomcat 7.0.107, the JRE throws an error (below). Believe it has been a problem since 8u251 x86.

      SEVERE: Begin event threw error
      java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre8\bin\management.dll: The specified procedure could not be found
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1838)
      at java.lang.Runtime.loadLibrary0(Runtime.java:871)
      at java.lang.System.loadLibrary(System.java:1122)
      at sun.management.ManagementFactoryHelper$4.run(ManagementFactoryHelper.java:451)
      at sun.management.ManagementFactoryHelper$4.run(ManagementFactoryHelper.java:449)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.management.ManagementFactoryHelper.<clinit>(ManagementFactoryHelper.java:448)
      at java.lang.management.PlatformComponent$1.getMXBeans(PlatformComponent.java:72)
      at java.lang.management.PlatformComponent.getMXBeans(PlatformComponent.java:377)
      at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:472)
      at org.apache.tomcat.util.modeler.Registry.getMBeanServer(Registry.java:581)
      at org.apache.catalina.mbeans.MBeanUtils.createServer(MBeanUtils.java:1085)
      at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:99)
      at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<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:423)
      at java.lang.Class.newInstance(Class.java:442)
      at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:145)
      at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1263)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:510)
      at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1341)
      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:605)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:867)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:796)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:142)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:644)
      at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1525)
      at org.apache.catalina.startup.Catalina.load(Catalina.java:637)
      at org.apache.catalina.startup.Catalina.load(Catalina.java:686)
      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:498)
      at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:244)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

      This doesn't happen with OpenJDK builds.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Load JRE and Tomcat on Windows Server SP2 (Version 6, Build 6002) and Tomcat fails to run with the above error.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Like with the OpenJDK 8u282 would expect Tomcat to run without the UnsatisfiedLinkError.
      ACTUAL -
      The error is thrown by Tomcat as documented above.

      CUSTOMER SUBMITTED WORKAROUND :
      There may be a workaround from this link (below), but currently switched to OpenJDK to avoid error with this environment.

      https://github.com/dcevm/dcevm/issues/69

      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: