Your mysql-connector-java-5.0.4-bin.jar should be in /Library/Java/Extensions but when referencing the database, I will usually reference the driver "org.gjt.mm.mysql.Driver" to maintain compatibility with older SQL. Your URL should be in the format jdbc:mysql://server_address/database_name.
Andy
On Dec 16, 2006, at 5:41 PM, Daniele Corti wrote:
2006/12/16, Tom Jones <email@hidden>: I've tried both locations, and I am still having problems. Here's the message I get
JDBC connection failed for driver :'com.mysql.jdbc.driver'. Driver not found in Java Runtime! Please verify your CLASSPATH environment variable. The current CLASSPATH for your application is : /Developer/Applications/WebObjects/EOModeler.app/Contents/Resources/Java/eomodeler.zip:/Users/tom/Library/Java:/Library/Java:/System/Library/Java:/Network/Library/Java:/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Classes/ui.jar:/Developer/Applications/WebObjects/EOModeler.app/Contents/Resources/Java/eomodeler.zip:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar that's seems a problem with your XCode installation...
My previous email indicted I was running XCode, true, but I am also running EOModeler, which is where the problem lies. what do you insert in EOModeler? when you switch the adaptor, have you checked the adaptor description? Usually is jdbc:mysql:/your_host/your_db_name, if you are using this and it still doesn't work try to reinstall Xcode
Thanks,
Tom
On 12/13/06, Art Isbell <email@hidden> wrote: > On Dec 13, 2006, at 12:56 AM, Gordon Maynard wrote: > > > Try /library/java/extensions > > Or for WebObjects-only jars of any kind including JDBC, /Library/ > WebObjects/Extensions. > > > On 13/12/06 10:08, "Tom Jones" < email@hidden> wrote: > > > >> What is the correct location for JDBC drivers in WebObjects? I am > >> running the latest version of XCode. > > Aloha, > Art > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ( email@hidden) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/email@hidden > > This email sent to email@hidden > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/email@hidden
This email sent to email@hidden
-- Daniele Corti AIM: S0CR4TE5 Messenger: email@hidden _______________________________________________ Do not post admin requests to the list. They will be ignored. Help/Unsubscribe/Update your Subscription:
|