Solved

java.lang.UnsatisfiedLinkError: /opt/Documentum/libdmcl40.so: /opt/Documentum/libdmcl40.so: wrong ELF class: ELFCLASS32

Posted on 2009-07-03
4
1,618 Views
Last Modified: 2013-12-02
Hi All,

I am getting below error while integrating my application with Documentum server 6.0SP1
My App is on RHEL 5.2 64bit.
It use to work with documentum server but now its showing this error.
I understand that WRONG ELF CLASS means 32bit 64bit conflict. But it should run in 32bit compatibility mode. My mchine Intel Xeon. I just guessed this dont go by my assumption or root cause of issue. There may be something else I am missing and that showing this error. App server JBoss 4.3 EAP.

Please help!!
10:05:53,068 INFO  [STDOUT] Event channel configuration: {}
10:05:53,130 INFO  [STDOUT] Event channel configuration: {}
10:05:53,563 INFO  [STDOUT] 0 [ajp-0.0.0.0-8009-1] WARN com.documentum.fc.common.DfLogger  - Failed to load log4j.properties. Using default log4j configuration
10:05:53,649 INFO  [STDOUT] 86 [ajp-0.0.0.0-8009-1] ERROR com.documentum.fc.common.DfLogger  - Failed to configure DMCL tracing
java.lang.UnsatisfiedLinkError: /opt/Documentum/libdmcl40.so: /opt/Documentum/libdmcl40.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
	at com.documentum.dmcl.Dmcl40.<init>(Dmcl40.java:104)
	at com.documentum.tracing.tracer.DfTracer$PreferenceObserver.update(DfTracer.java:57)
	at com.documentum.tracing.tracer.DfTracer.<clinit>(DfTracer.java:767)
	at com.documentum.com.DfClientX.<init>(DfClientX.java:49)
	at com.server.component.DCTMSessionManager.createSessionManager(DCTMSessionManager.java:150)
	at com.server.component.DCTMSessionManager.init(DCTMSessionManager.java:79)
	at com.server.common.base.ControllerBase.initializeComponent(ControllerBase.java:478)
	at com.server.common.Controller.instantiateComponents(Controller.java:445)
	at com.server.common.base.ControllerBase.init(ControllerBase.java:383)
	at com.client.servlet.FrontController.init(FrontController.java:96)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
	at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:595)
10:05:53,787 ERROR [STDERR] 07/03/09 10:05:53.787 IST ERROR (Thread[ajp-0.0.0.0-8009-1,5,jboss]) [DCTMSessionManager] DCTM Session Manager could not be created. Please check the Configuration values. (s:null c:null i:null)
10:05:53,788 ERROR [STDERR] com.ext.documentum.DCTMException: Authentication failed for the user dctm in docbase dctm .
10:05:53,789 ERROR [STDERR] 	at com.server.component.DCTMSessionManager.createSessionManager(DCTMSessionManager.java:162)
10:05:53,790 ERROR [STDERR] 	at com.server.component.DCTMSessionManager.init(DCTMSessionManager.java:79)
10:05:53,791 ERROR [STDERR] 	at com.server.common.base.ControllerBase.initializeComponent(ControllerBase.java:478)
10:05:53,792 ERROR [STDERR] 	at com.server.common.Controller.instantiateComponents(Controller.java:445)
10:05:53,793 ERROR [STDERR] 	at com.server.common.base.ControllerBase.init(ControllerBase.java:383)
10:05:53,793 ERROR [STDERR] 	at com.client.servlet.FrontController.init(FrontController.java:96)
10:05:53,794 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
10:05:53,795 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
10:05:53,796 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
10:05:53,796 ERROR [STDERR] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
10:05:53,810 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
10:05:53,811 ERROR [STDERR] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
10:05:53,811 ERROR [STDERR] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
10:05:53,812 ERROR [STDERR] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
10:05:53,812 ERROR [STDERR] 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
10:05:53,813 ERROR [STDERR] 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543)
10:05:53,813 ERROR [STDERR] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:05:53,814 ERROR [STDERR] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
10:05:53,814 ERROR [STDERR] 	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
10:05:53,815 ERROR [STDERR] 	at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
10:05:53,815 ERROR [STDERR] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
10:05:53,816 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:595)

Open in new window

0
Comment
Question by:Ramakanta Sahoo
  • 3
4 Comments
 
LVL 6

Expert Comment

by:jwenting
ID: 24770709
This has nothing to do with JBoss, it's something in the application you're running on top of it.
It seems to require a shared operating system library that's compiled for one architecture but yours is using another.

So yes, it could well be that you're running a 32 bit application on a 64 bit architecture and it can't handle it.
Contact your application vendor for an updated version or patch.
0
 
LVL 4

Author Comment

by:Ramakanta Sahoo
ID: 24770714
Now I am Getting below error the previous wrong elf class error is gone.
please help!!


11:10:34,641 ERROR [STDERR] 07/03/09 11:10:34.640 IST ERROR (Thread[ThreadPoolImpl: com.server.common.EndPoint$1@6ad98e6,5,jboss]) [DCTMUtils] Could not create DCTM session manager.null (s:null c:null i:null)
11:10:34,642 ERROR [STDERR] java.lang.NoClassDefFoundError
11:10:34,643 ERROR [STDERR] 	at com.documentum.com.DfClientX.getLocalClient(DfClientX.java:39)
11:10:34,643 ERROR [STDERR] 	at com.ext.documentum.DCTMUtils.isValidDocbase(DCTMUtils.java:148)
11:10:34,643 ERROR [STDERR] 	at com.server.component.DCTMSessionManager.getSession(DCTMSessionManager.java:94)
11:10:34,643 ERROR [STDERR] 	at com.server.component.DCTMRepositoryImpl.newId(DCTMRepositoryImpl.java:366)
11:10:34,644 ERROR [STDERR] 	at com.server.push.Connector.saveAttachment(Connector.java:1417)
11:10:34,644 ERROR [STDERR] 	at com.server.push.Connector.handle(Connector.java:1084)
11:10:34,644 ERROR [STDERR] 	at com.server.common.EndPoint$1.run(EndPoint.java:128)
11:10:34,644 ERROR [STDERR] 	at com.server.common.ThreadPoolImpl$PooledThread.run(ThreadPoolImpl.java:100)
11:10:34,647 ERROR [STDERR] 07/03/09 11:10:34.646 IST ERROR (Thread[ThreadPoolImpl: com.server.common.EndPoint$1@6ad98e6,5,jboss]) [DCTMRepositoryImpl] Unable to create document. (s:null c:null i:null)

Open in new window

0
 
LVL 4

Author Comment

by:Ramakanta Sahoo
ID: 24770719
thanks for reply.

but its a pure java Application how it can be system dependent.
0
 
LVL 4

Accepted Solution

by:
Ramakanta Sahoo earned 0 total points
ID: 24782891
Hi Guys!!

No Answers!!!

I changed my route and put dfc.properties in classes folder instread of trying to put in CLASSPATH

Bow both the errors are not there its working fine.

just put here for future references

Regards,
Ramakanta
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Issues with SHA-2 certificate on Web sphere 6.0 2 167
Content Filtering 1 to 1 Peer Review 1 96
configuration management 2 110
Change size 15 42
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question