On HP, if the SHLIB_PATH contains two colons (::) with no intervening directory, when you resume the Replication Agent you get this error message:
java.lang.NoClassDefFoundError
Workaround: Add a line to the $SYBASE/RAX-15_1/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 by adding the one (bold) line as follows:
elif [ $os = HP-UX ] then . /home/db2inst1/sqllib/db2profile SRVR=-server SHLIB_PATH=$ASA_LIB:$RAX_DIR/lib/hpux:$SHLIB_PATH export SHLIB_PATH