Emmanuel,

        I tried both (as per the manual) and neither seemed to help.  Of
course playing around with the setup, constant restarts I believe it has
started returning the proper exceptions now (after the email I sent).  I
believe it was an issue with the command window not picking up
XTRA_CLASSPATH env variable. I'll keep an eye on it.


Thanks,

Randall 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel
Cecchet
Sent: Wednesday, May 02, 2007 8:56 AM
To: Sequoia general mailing list
Subject: Re: [Sequoia] MySQL Classes not found

Randall,
>     Sequoia is telling me that it cannot find classes which are in the 
> MySQL driver jar when an error occurs.  For example, if I issue the 
> statement "seDect * from table", the controller will print out that it 
> cannot find the MySQLSyntaxException <-- that's just a guess, the 
> actual name is something like that.
>  
>     I've looked into the MySQL driver jar and the class is there and 
> obviously since I'm talking to the MySQL database, Sequoia has found 
> the jar so.... ?  I'm lost as to why it cannot find the class.
This is a classloader problem. A proper driver is supposed to return an
SQLException and not an implementation specific class. The Sequoia
controller has a smart classloader that automatically scans the driver
directory to find driver related class. Unfortunately, the group
communication library does not use this classloader and cannot access driver
specific classes unless they are found in the classpath of the JVM.
A solution to your problem is to unjar your MySQL driver jar file in the
drivers/ directory or add it explicitely to the controller classpath (for
example in the XTRA_CLASSPATH environment variable) and that should solve
the issue.

Thanks for your feedback,
Emmanuel

--
Emmanuel Cecchet
Chief Scientific Officer, Continuent

Blog: http://emanux.blogspot.com/
Open source: http://www.continuent.org
Corporate: http://www.continuent.com
Skype: emmanuel_cecchet
Cell: +33 687 342 685


_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia
BEGIN:VCARD
VERSION:2.1
N:Fidler;Randall
FN:Randall Fidler
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050926T075331Z
END:VCARD

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to