环境:windows XP ,mysql
在配置目录下找到setpatch.bat,设置以下参数:
@REM The path to where the java installation is
SET JAVA_HOME="D:\oracle11g\product\11.1.0\db_1\jdk"
@REM the classpath, to include any jdbc jar files
SET JDBC_CLASSPATH=D:\program\dbreplicator\java\DBReplicator.jar;mysql-connector-java-5.1.5-bin.jar;log4j.jar
@REM The name of this host, as used by others to connect to it
SET SERVER_NAME=condor-hq
特别注意JAVA_HOME中的目录参数不能有空格,否则无法启动PubServer.bat和SubServer.bat