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 PROTECTED]>:
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 PROTECTED]> 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 PROTECTED]> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/tom.m.jones% 40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ildenae% 40gmail.com

This email sent to [EMAIL PROTECTED]



--
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ahromada% 40mac.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to