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

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

LVL 4
Ramakanta SahooAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jwentingCommented:
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
Ramakanta SahooAuthor Commented:
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
Ramakanta SahooAuthor Commented:
thanks for reply.

but its a pure java Application how it can be system dependent.
0
Ramakanta SahooAuthor Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.