ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | c-jdbc List | August 2006 Index

<--  Date Index  --> <--  Thread Index  -->

How config and connect to nested RAIDb1-0?


Hi all!
in the userGuide.pdf i found thepoint
9.5. Nested RAIDb Levels
It is possible to compose several RAIDb levels to build large scale 
configurations or meet specific needs. The next example is a RAIDb-1-0 
configuration where a top level RAIDb-1 controller dispatches the requests to 
three full databases implemented with a RAIDb-0 controller.
 
I tried to do so
1.made 3 controller - RAIDb1,RAIDb0,RAIDb0
2.for RAIDb1 two databasebackends with
<DatabaseBackend name="vdb1" driver="org.objectweb.cjdbc.driver.Driver" 
url="jdbc:cjdbc://localhost:25323/vdb1" connectionTestStatement="values 1">
<DatabaseBackend name="vdb2" driver="org.objectweb.cjdbc.driver.Driver" 
url="jdbc:cjdbc://localhost:25324/vdb2" connectionTestStatement="values 1">
3.for each RAIDb0 three databasebackends with
<DatabaseBackend name="db0" driver="org.gjt.mm.mysql.Driver" 
url="jdbc:mysql://localhost:3306/stat0" connectionTestStatement="select 1">
<DatabaseBackend name="db1" driver="org.gjt.mm.mysql.Driver" 
url="jdbc:mysql://localhost:3306/stat1" connectionTestStatement="select 1">
<DatabaseBackend name="db2" driver="org.gjt.mm.mysql.Driver" 
url="jdbc:mysql://localhost:3306/stat2" connectionTestStatement="select 1">
4.then from my application i get connection
Class.forName("org.objectweb.cjdbc.driver.Driver");
Connection conn = 
DriverManager.getConnection("jdbc:cjdbc://localhost:25322/vdb?user=user");
and i get error
org.objectweb.cjdbc.common.exceptions.driver.DriverSQLException: Message of 
cause: No backend to execute the request.
 
Pls, help me get proper understanding of that feature and get round this 
problem
I need RAIDb1 for mirroring two ends and RAIDb0 for partitioning three 
ends(real databases)  
 
Thanks, in advance

             



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.