• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MySQL JDBC connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MySQL JDBC connection


  • Subject: MySQL JDBC connection
  • From: netBrackets <email@hidden>
  • Date: Thu, 23 Mar 2006 22:01:07 -0600

Now I remember why I have never used a database in my app. While EOM looks like very cool stuff, I can never get past the very first step of getting the EOModeler to connect to my database. Well, I'm trying again (for about the 4th time in as many years) and running into the same old problem. I am using MySQL on Mac OS X Server 10.4. I've started MySQL using the MySQL utitliy, and I've installed the MySQL JDBC adapter (mysql-connector-java-3.0.17-ga.bin.jar) in /Library/ Java/Extensions and I get the following error from the EOModeler wizard using a URL of jdbc:mysql://localhost/WOnetBrackets:

JDBC connection failed for driver :'org.gjt.mm.mysql.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/netbrackets/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

So, just what is the Driver, and how do I verify my CLASSPATH to I get it into my Java Runtime? Also, I can't seem to find much documentation on setting up WO for different databases (I even searched the archives, which is where I got the info on the MySQL adaptor and where to install it). Does it exist anywhere such that a DB newbie could use it?

Thanks,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: MySQL JDBC connection
      • From: Paul Lynch <email@hidden>
    • Re: MySQL JDBC connection
      • From: David Holt <email@hidden>
    • Re: MySQL JDBC connection
      • From: Arturo PĂ©rez <email@hidden>
  • Prev by Date: Re: Problem of Building project converted from Objective C
  • Next by Date: Re: MySQL JDBC connection
  • Previous by thread: PDF Generation within WebObjects
  • Next by thread: Re: MySQL JDBC connection
  • Index(es):
    • Date
    • Thread