How to resolve DataMover error "Exception in thread "main" java.lang.UnsatisfiedLinkError: no dmover in java.library.path"
The problem was that the AutoSys environment was not sourced.
Please run the shell scripts in $AUTOUSER directory to source the environment script $AUTOUSER/autosys.<shell>.$hostname and then run the DataMover again
# . $AUTOUSER/autosys.sh.$hostname
Note: If this does not resolve the problem check to see if you get any errors in the output when you run the following ldd command thats used to print shared library dependencies
# ldd libdmover.so
Chapter 2 of the Release summary documents that for Solaris 10 you need to have installed the following patch if you have any "Cannot find: errors
119963-04 SunOS 5.10: Shared library patch for C++ Nov/30/2005
Below is an example of the Error
(pautosys)# perl uajmdatamover.pl paramfile.sybase SRCDBTYPE is set to sybase SRCDBMACHINE is set to sched11 SRCDBNAME is set to autosys SRCDBPORT is set to 4000 SRCDBUSER is set to autosys TGTDBTYPE is set to sybase TGTDBMACHINE is set to pautosys TGTDBNAME is set to AEDB TGTDBPORT is set to 3000 TGTDBUSER is set to sa NATIVEJDBCJARPATH is set to /apps/sybase/ASE-15_0_3_64_EBF17769/jConnect-6_0/classes/jconn3.jar JREPATH is set to /opt/CA/SharedComponents/JRE/1.5.0_11 VERIFY is set to YES MAXMEMORYLIMIT is set to 1024 MB Verifying Source and Target Credentials.... "/opt/CA/SharedComponents/JRE/1.5.0_11/bin/java" -cp DataMover.jar:"/apps/sybase/ASE-15_0_3_64_EBF17769/jConnect-6_0/classes/jconn3.jar" com.ca.uajm.jdbc.DataMover sybase sched11 autosys 4000 autosys autosys sybase pautosys AEDB 3000 sa sybase VERIFY Running CA Workload Automation AE version 184.108.40.206 Testing source connection credentials Successful..... The connection string for the source database is: jdbc:sybase:Tds:disched11:4000/autosys with autosys The source database is version VER_4_5_1 Exception in thread "main" java.lang.UnsatisfiedLinkError: no dmover in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.ca.uajm.jdbc.JDataMover.<clinit>(Unknown Source) at com.ca.uajm.jdbc.DataMover.main(Unknown Source) (pautosys)# (pautosys)#