| Summary: | tomcat5 startup problem: java.lang.UnsatisfiedLinkError: /usr/lib64/libtcnative-1.so.0.1.19 - wrong ELF class: ELFCLASS64 (since present in old version too) | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Web Server 1 | Reporter: | Jan Ščotka <jscotka> |
| Component: | Red Hat Enterprise Linux 5 | Assignee: | Permaine Cheung <pcheung> |
| Status: | CLOSED EOL | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.0.0 | CC: | csutherl, jlieskov |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-04 14:51:06 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan Ščotka
2011-03-10 13:52:58 UTC
Potential reason of this issue might be the following: Searching for the "ELFCLASS64 (Possible cause: architecture word width mismatch)" string brought: [1] http://forums.oracle.com/forums/thread.jspa?threadID=651235 with explanation: "Hi, The error message is pretty specific; you are running a 32-bit JVM trying to load a 64-bit native shared library. That is not allowed. You need to run the 64-bit JVM. If I recall correctly you need to give an argument something like -d64 on the Java command line. Chris" and yet: Q: Could someone please tell me how to make -d64 option stick to the weblogic managed server jvm argument? A: Update your JAVA_VM variable in commEnv.sh. That should do it. JAVA_VM="-d64 -client" Conclusion: So I would suspect, the above error should be reported as normal bug (since present also in old version), and it should be fixed by adding the "-d64" flag, when trying to load that "/usr/lib64/libtcnative-1.so.0.1.19" library. Permaine, David, please correct me if the above is wrong and the issue has different reason. Thanks && Regards, Jan. -- Jan iankko Lieskovsky / Red Hat Security Response Team |