Error Messages (1)
Common error messages and their solutions
- can not find the xml file at specified path
Create subscription fails with "org.dbreplicator.replication.RepException: Can not find the xml file at specified path."
This is most likely due to a misconfiguration that's easy enough to miss. The hostname of the machine on which dbreplicator is running needs to be in publisher/subscriber.conf, but it also needs to be in dbreplicator.conf. This last is used in the dbreplicator script to specify an rmi host to java on startup. If it's not there, 127.0.0.1 is used, which nobody can connect to, thus the xml file transfer fails.
On windows systems, the files you need to edit are setpath.bat, SubServer.bat and PubServer.bat
Installation and Configuration Questions (2)
Questions concerning installation and configuration
- How do I get the latest code out of CVS?
You'll need to log into the sourceforge cvs server. From a command line (terminal/shell prompt) do the following:
cvs -d:pserver:anonymous@dbreplicator.cvs.sourceforge.net:/cvsroot/dbreplicator loginwhen prompted for a password, just press <ENTER>. Then, do:
cvs -z3 -d:pserver:anonymous@dbreplicator.cvs.sourceforge.net:/cvsroot/dbreplicator co -P dbreplicator- can I run multiple instances of dbreplicator on one machine?
The short answer...we don't know. Theoretically possible, although you'd have to run them on different ports (obviously). You also would need to watch out for path collisions, i.e., files being written by both instances into the same directories, possibly with the same name. If you were to set REPLICATIONHOME in config.ini to different values for each instance, and run them out of separate paths so they could each have their own config.ini, it might very well work.

