Patrik,

The controller that has generated the error does not have the MySQL driver in its classpath. What is confusing is that Sequoia will automatically scan the directories in the classpath to find the jars (and you probably have your MySQL dirver jar file in the drivers/ directory) but JGroups does not use the Sequoia classloader and it will fail to load a driver class file if it is not explicitely in the classpath. You have to explicitly put '/path_to_drivers/mysql-connector-xxx.jar in the controller classpath to solve that problem.

Hope this helps,
Emmanuel


With Sequoia 2.10.10, RAIDb-1 and MySQL (5.0.32) backends on a different host, I geht get the following error in the controller:

2009-03-18 22:10:29,943 ERROR continuent.hedera.adapters PullPushAdapter: Error while reading from channel java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: com.mysql.jdbc.CommunicationsException
        at org.jgroups.Message.getObject(Message.java:275)
at org.continuent.hedera.channel.JGroupsReliableGroupChannel.receive(JGroupsReliableGroupChannel.java:216) at org.continuent.hedera.adapters.PullPushAdapter.run(PullPushAdapter.java:166)
        at java.lang.Thread.run(Thread.java:595)

On the client side, the sequoia driver throws this exception:
SQLException: Message of cause: Request [....]... failed on backend node03 (Communications link failure

Last packet sent to the server was 4 ms ago.)

The MySQL JDBC Connector (5.1.7) is in the classpath of the controller. After starting up sequoia, the requests get processed without problems. A few hours later the error above occurs. The node with the MySQL backend gets disabled.

What should I change in the setup to prevent these errors?

Best regards,
Patrik

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia



--
Emmanuel Cecchet
FTO @ Frog Thinker Open Source Development & Consulting
--
Web: http://www.frogthinker.org
email: [email protected]
Skype: emmanuel_cecchet

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to