Connect to the cjdbc controller using the JDBC driver in $CJDBC_HOME/drivers and the url:
jdbc:cjdbc://localhost:25322/myDB with username: <user> and password: <pass>
Note: No password is specified by default. You should specify one in $CJDBC_HOME/config/virtualdatabase/hsqldb-raidb1.xml.
Sample configuration of a c-jdbc database in JOnAS:
###################### C-JDBC DataSource configuration example
#
#####
DataSource configuration
#
atasource.name jdbc_1
datasource.url jdbc:cjdbc://localhost:25322/myDB
datasource.classname org.objectweb.cjdbc.driver.Driver
datasource.username user
datasource.password pass
datasource.mapper rdb.hsql
# REMARK: You must specify the mapper of the databases used as backend by c-jdbc.
# It is not possible to use a heterogenious c-jdbc configuration here.