Solved

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

Posted on 2009-07-03
4
1,623 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
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 …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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