Error !!!!!! Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no dmcl40 in ja

sagar.singh
edited September 15, 2008 in Documentum #1

Hello All,

I have developed an DFC application on Windows environment. The application is working fine on Windows but when i am trying to run the same application on Linux RedHat (v4) . following error trace is printing.

DEBUG - Import UI Initlized
Exception in thread "AWT-EventQueue-0"
java.lang.UnsatisfiedLinkError: no dmcl40 in java.library.path

at
com.documentum.fc.connector.DfConnection.<init>(DfConnection.java:64)

at
com.documentum.fc.client.DfClientSupport.getConnection(DfClientSuppor
t.java:642)

at
com.documentum.fc.client.DfClientSupport.adoptDMCLSession(DfClientSup
port.java:260)

at
com.documentum.fc.client.impl.DocbrokerClient.getAPISession(Docbroker
Client.java:144)

at
com.documentum.fc.client.impl.DocbrokerClient.dmclHasBeenReinitialize
d(DocbrokerClient.java:74)

at
com.documentum.fc.client.DfClientSupport.getDocbrokerClient(DfClientS
upport.java:329)

at
com.documentum.fc.client.DfClientSupport.getDocbaseMap(DfClientSuppor
t.java:337)

+ at
com.daffodil.documentumie.dctm.apiimpl.CSServicesProvider.getAvailabl
eRepositories(CSServicesProvider.java:97)+
at
com.daffodil.documentumie.iebusiness.LoginUIControl.showReposiotry(Lo
ginUIControl.java:43)

at
com.daffodil.documentumie.iebusiness.LoginUIControl.preInilize(LoginU
IControl.java:109)

at
com.daffodil.documentumie.iebusiness.AbstractUIControl.showIEUI(Abstr
actUIControl.java:38)

at
com.daffodil.documentumie.iebusiness.IEMainAbstractUIControl.showInne
rUIControl(IEMainAbstractUIControl.java:269)

at
com.daffodil.documentumie.iebusiness.IEMainAbstractUIControl.access$1
100(IEMainAbstractUIControl.java:36)

at
com.daffodil.documentumie.iebusiness.IEMainAbstractUIControl$5.proper
tyChange(IEMainAbstractUIControl.java:130)

The following steps i have taken to rectify this error:

  1. Installed DFC

  2. provided dfc.data.dir = /usr/Documentum (dfc.properties file is attached)

  3. Re-installed Java

  4. Copied limdmcl40.so (Linux equivalent of dmcl40.dll) into java library path (for a wild try, i have also copied this file into lib and lib64folder of root (/) also image ).

  5. Checked Java version (for 32-bit or 64-bit) . Its 32-bit java i am using (As documentum is 32 bit ). Still its not working.

Please help me...

Here is the link to dmdeveloper.com thread for the same problem. Please also go through this

http://www.dmdeveloper.com/forum/showthread.php?t=13374

Thanks

Sagar Singh

Comments

  • mszurap
    edited September 8, 2008 #2

    Set your user's environment variables....

    DOCUMENTUM and DOCUMENTUM_SHARED must be defined for any DFC application to find DFC libraries. If you installed DFC, you must have defined these. Maybe you just haven't put in in your user's profile so the variables were gone.

  • sagar.singh
    edited September 15, 2008 #3

    Hello

    There were multiple Java Environment installed on my linux machine, I un-installed all the JDK's and installed JDK 1.5 .

    Again putting limdmcl40.so into java lib folder solved the problem

    Thanks you all.

    Message was edited by: sagar.singh