java.lang.UnsatisfiedLinkError: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

  1. 0

    Tomcat native lib error

    Stack Overflow | 2 months ago | Vladimir Aristarkhov
    java.lang.UnsatisfiedLinkError: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
  2. 0

    tomcat 8.5.5 tcnative undefined symbol

    Stack Overflow | 3 months ago | YBS
    java.lang.UnsatisfiedLinkError: $CATALINA_HOME/lib/libtcnative-1.so.0.2.8: $CATALINA_HOME/lib/libtcnative-1.so.0.2.8: undefined symbol: BN_get_rfc3526_prime_8192
  3. 0

    tomcat 8.5.5 tcnative undefined symbol BN_get_rfc3526_prime_8192

    Server Fault | 2 weeks ago | YBS
    java.lang.UnsatisfiedLinkError: /usr/local/apr/lib/libtcnative-1.so.0.2.10: /usr/local/apr/lib/libtcnative-1.so.0.2.10: undefined symbol: BN_get_rfc3526_prime_8192
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    tcnative-1.dll Can't load AMD 64-bit .dll on a IA 32-bit platform

    Stack Overflow | 4 years ago | cmdkennedy
    java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\apache-tomcat-7.0.34\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform". However, I have the 64 bit JRE downloaded, and double-checked my java version: C:\Program Files (x86)\apache-tomcat-7.0.34\bin>java -version java version "1.7.0_10" Java(TM) SE Runtime Environment (build 1.7.0_10-b18) Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode) I've seen this question here before, but in one there was no resolution, and in the other it was an Eclipse issue, but I'm getting this error when I access tomcat directly. How do I find out which "IA 32 bit platform" is being detected, and how do I point Tomcat in the right direction? Also, could this be why my servlet is getting this 404 error through Eclipse? type Status report message /JSPandServlet/Controller description The requested resource is not available. Logs: C:\Program Files (x86)\apache-tomcat-7.0.34\bin>configtest.bat Using CATALINA_BASE: "C:\Program Files (x86)\apache-tomcat-7.0.34" Using CATALINA_HOME: "C:\Program Files (x86)\apache-tomcat-7.0.34" Using CATALINA_TMPDIR: "C:\Program Files (x86)\apache-tomcat-7.0.34\temp" Using JRE_HOME: "C:\Program Files (x86)\Java\jre7" Using CLASSPATH: "C:\Program Files (x86)\apache-tomcat-7.0.34\bin\bootstra p.jar;C:\Program Files (x86)\apache-tomcat-7.0.34\bin\tomcat-juli.jar" java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\apache-tomcat-7.0.34\bin\ tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  6. 0

    Why jdk6x is not compatiable with Tomcat7? why jdk7x compiled classes are not working in jdk6x [Solved] (Java API forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Java\Tomcat7.2\bin\tcnati ve-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform

  1. filpgame 1 times, last 4 weeks ago
  2. rp 3 times, last 1 month ago
  3. franky li 4 times, last 1 month ago
  4. ajinkya_w 21 times, last 1 month ago
  5. serious2monkeys 14 times, last 1 week ago
26 more registered users
69 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.loadLibrary
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    4. java.lang.Runtime.loadLibrary0(Runtime.java:870)
    5. java.lang.System.loadLibrary(System.java:1122)
    5 frames
  3. org.apache.tomcat
    Library.initialize
    1. org.apache.tomcat.jni.Library.<init>(Library.java:42)
    2. org.apache.tomcat.jni.Library.initialize(Library.java:178)
    2 frames
  4. Glassfish Core
    Digester.startElement
    1. org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:198)
    2. org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:107)
    3. org.apache.catalina.connector.Connector.setProtocol(Connector.java:545)
    4. org.apache.catalina.connector.Connector.<init>(Connector.java:70)
    5. org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:64)
    6. org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1203)
    6 frames
  5. Java RT
    SAXParserImpl$JAXPSAXParser.parse
    1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
    2. com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
    3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1338)
    4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2781)
    5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
    6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
    7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
    8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    11 frames
  6. Glassfish Core
    Catalina.load
    1. org.apache.tomcat.util.digester.Digester.parse(Digester.java:1476)
    2. org.apache.catalina.startup.Catalina.load(Catalina.java:578)
    3. org.apache.catalina.startup.Catalina.load(Catalina.java:629)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  8. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)
    2 frames