Error occurs if the library path contains two colons

For HP, if SHLIB_PATH contains two colons (::) with no intervening directory, you see this error message when you resume Replication Agent:

java.lang.NoClassDefFoundError

Workaround: Add a line to the $SYBASE/RAX-15_5/bin/ra.sh script to source your UDB instance’s db2profile (which does not have the same problem as the db2cshrc). For example, if your UDB instance directory is “/home/db2inst1”, edit your Replication Agent script to add /home/db2inst1/sqllib/db2profile:

   elif [ $os = HP-UX ]
   then
     . /home/db2inst1/sqllib/db2profile
     SRVR=-server
     SHLIB_PATH=$ASA_LIB:$RAX_DIR/lib/hpux:$SHLIB_PATH
     export SHLIB_PATH