This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
*Dont know where to post it so posted it in JBoss.* We are using Documentum content server 5.x and 6.5SP1 for Linux Oracle. Our Application is onJBOSS EAP 4.3 in RHEL 5.1 64-bit Intel Xeon Processor. I have configured every variable like LD_LIBRARY_PATH,DOCUMENTUM,DM_HOME,DOCUMENTUM_SHARED,etc and libdmcl40.so is in CLASSPATH also.
When am doing a file libdmcl40.so its giving me following details "libdmcl40.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped"
Though all configurations are correct my documentum session manager could not be created. when I'm starting its throwing below error.
The same configuration and file is working fine in 32-bit Linux environment.
I'm suspecting this error is because of a 32-bit libdmcl40.so lib file instead of 64-bit. If its correct then please point me where to get a 64-bit libdmcl40.so file.
Or if there is any work around to make this work then please do suggest me. Please help me as its urgent requirement for one of our client.
You guessed it correctly - you cannot load 32-bit shared object into the 64-bit process. There are two ways to fix this:
a) You could install and use a 32-bit JVM. You will have to get the JVM from the Sun web site and install it yourself; do not use your distro's package manager (as far as I know, all of it's JVMs will be 64-bit if the OS is 64-bit).)
b) You need to get a 64-bit shared object. This means checking with the shared object's vendor to see if they have one for 64-bit.