Solved

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

Posted on 2009-07-03
4
1,613 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web service Rest Client creation 4 81
spring AOP 6 79
Alfresco repository Community 5.0d Upload REST API 3 333
Books that can get me started on JAVA 2 78
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now