ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | c-jdbc List | May 2005 Index

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

NPE using C-JDBC 1.3


Disabled a mysql instances (node1), inserted some data to node2, enabled 
node1 and  got this exception:

2005-05-30 22:03:02,358 INFO  controller.loadbalancer.RAIDb1 Removing 
blocking task worker thread for backend node1
2005-05-30 22:03:02,358 INFO  backend.DatabaseBackend.node1 Backend node1 is 
shutting down
2005-05-30 22:03:02,358 INFO  controller.loadbalancer.RAIDb1 Removing non 
blocking task worker thread for backend node1
2005-05-30 22:03:02,358 INFO  backend.DatabaseBackend.node1 Backend node1 is 
shutting down
2005-05-30 22:03:02,358 INFO  cjdbc.controller.connection 4 connections freed 
on "jdbc:mysql://localhost:3306/cjdbc"
2005-05-30 22:03:02,358 INFO  controller.RequestManager.cjdbc Backend node1 
is now disabled
2005-05-30 22:03:02,498 INFO  controller.RequestManager.cjdbc Setting new 
virtual database schema.
2005-05-30 22:03:24,748 INFO  backend.DatabaseBackend.node1 Gathering 
database schema
2005-05-30 22:03:24,748 INFO  backend.DatabaseBackend.node1 Checking 
compatibility with existing database schema
2005-05-30 22:03:24,748 INFO  backend.DatabaseBackend.node1 Database schema 
for login "bryan" is compatible with existing schema
2005-05-30 22:03:24,748 INFO  controller.RequestManager.cjdbc Virtual 
database schema merged with new schema.
2005-05-30 22:03:24,748 INFO  cjdbc.controller.cache Merging new database 
schema
2005-05-30 22:03:24,858 INFO  backend.DatabaseBackend.node1 Backend node1 is 
shutting down
2005-05-30 22:03:24,858 INFO  cjdbc.controller.connection 10 connections 
freed on "jdbc:mysql://localhost:3306/cjdbc"
Exception in thread "Thread-4" java.lang.NullPointerException
        at java.lang.String.indexOf(Unknown Source)
        at java.lang.String.indexOf(Unknown Source)
        at 
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.setDriverProcessedAndSkeleton(JDBCRecoveryLog.java:950)
        at 
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.recoverNextRequest(JDBCRecoveryLog.java:742)
        at 
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoverThread.recover(JDBCRecoverThread.java:208)
        at 
org.objectweb.cjdbc.controller.recoverylog.JDBCRecoverThread.run(JDBCRecoverThread.java:135)
2005-05-30 22:03:24,967 INFO  controller.RequestManager.cjdbc Setting new 
virtual database schema.
2005-05-30 22:03:25,264 INFO  cjdbc.controller.connection 10 connections 
freed on "jdbc:mysql://localhost:3306/cjdbc"

this feature (recovery) used to work in C-JDBC 1.2.1



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

Reply via email to:

Powered by MHonArc.

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