Let's discuss how to setup the Java adapter for replication.
Using Java Adapter to Deliver to JMS Queue
First, check and make sure you have the right java version installed with: java -version command.
1. Why I get the "2015-07-16 11:48:07 ERROR OGG-01122 Error opening module libggjava_ue.so - libggjava_ue.so: cannot open shared object file: No such file or directory]." error?
Answer: To check this issue, go to the GoldenGate home directory and check if the libggjava_ue.so libary is in the directory. If not, re-install the Oracle GoldenGate for Java Adapter package. If yes, then check the LD_LIBRARY_PATH setup, you can check the report file when including the GetEnv (LD_LIBRARY_PATH) in the extract parameter file. If there is anything wrong, reset the environment variable (with setevn.sh) and restart the manager so the vairable is picked up by Oracle GoldenGate.
2. Why I get the "Could not create UserExitMain object" error?
Answer: Make sure the JMS queue is up and running and the setup in the *.properties files for the JMS repository is correct.
- Oracle GoldenGate JMS Adapter Handbook (Doc ID 1927481.1)