首页 新闻 会员 周边 捐助

有用过c-jdbc的吗?为什么配置完成了启动报错

0
悬赏园豆:50 [已关闭问题] 关闭于 2015-07-27 14:45

错误如下:


两个配置文件如下:

c-jdbc-2.0.2-bin\config\virtualdatabase\mysql-raidb1-distribution.xml
<?xml version="1.0" encoding="UTF8"?>
<!DOCTYPE C-JDBC PUBLIC "-//ObjectWeb//DTD C-JDBC 2.0.2//EN" "http://c-jdbc.objectweb.org/dtds/c-jdbc-2.0.2.dtd">
<C-JDBC> <VirtualDatabase name="myDB">
<Distribution> </Distribution> <AuthenticationManager> <Admin> <User username="admin" password="c-jdbc"/> </Admin> <VirtualUsers> <VirtualLogin vLogin="boss" vPassword="boss"/> </VirtualUsers>
</AuthenticationManager> <DatabaseBackend name="mysqlNode211" driver="org.gjt.mm.mysql.Driver" url="jdbc:mysql://192.168.3.25/clusterdb" connectionTestStatement="select 1"> <ConnectionManager vLogin="boss" rLogin="root" rPassword="123456"> <VariablePoolConnectionManager initPoolSize="10" minPoolSize="10" maxPoolSize="50" idleTimeout="30" waitTimeout="10"/> </ConnectionManager>
</DatabaseBackend> <DatabaseBackend name="mysqlNode213" driver="org.gjt.mm.mysql.Driver" url="jdbc:mysql://192.168.3.88/clusterdb" connectionTestStatement="select 1"> <ConnectionManager vLogin="boss" rLogin="root" rPassword="">
<VariablePoolConnectionManager initPoolSize="10" minPoolSize="10" maxPoolSize="50" idleTimeout="30" waitTimeout="10"/>
</ConnectionManager>
</DatabaseBackend>
<RequestManager>
<RequestScheduler>
<RAIDb-1Scheduler level="passThrough"/>
</RequestScheduler>
<LoadBalancer>
<RAIDb-1>
<WaitForCompletion policy="first"/>
<RAIDb-1-LeastPendingRequestsFirst/>
</RAIDb-1>
</LoadBalancer>
</RequestManager>
</VirtualDatabase>
</C-JDBC>
c-jdbc-2.0.2-bin\config\controller\uud-controller-distributed.xml
<?xml version="1.0" encoding="UTF8" ?>
<!DOCTYPE C-JDBC-CONTROLLER PUBLIC "-//ObjectWeb//DTD C-JDBC-CONTROLLER 2.0.2//EN" "http://c-jdbc.objectweb.org/dtds/c-jdbc-controller-2.0.2.dtd">
<C-JDBC-CONTROLLER>
<Controller port="25323">
<JmxSettings>
<RmiJmxAdaptor port="1091"/>
</JmxSettings>
<VirtualDatabase configFile="mysql-raidb1-distribution.xml" virtualDatabaseName="myDB" autoEnableBackends="true"/>
</Controller>
</C-JDBC-CONTROLLER>
Cwift的主页 Cwift | 菜鸟二级 | 园豆:202
提问于:2015-07-20 17:09
< >
分享
所有回答(1)
0

我也遇到同样的问题,C-JDBC这个中间件,在测试环境中经常报错!

谁明浪子心2015 | 园豆:202 (菜鸟二级) | 2015-08-24 14:11
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册