Hi !!

)-----Original Message-----
)From: Paul Schreiber [mailto:[EMAIL PROTECTED]]
)Sent: Friday, August 24, 2001 1:21 PM
)To: Web Objects admin; Web Objects newsiest; Web Objects dev; MySQL List
)Subject: MySQL, Web Objects 5: job connection problems
)
)
)Comfit:
)* Mac:   Mac OS X 10.0.4; java 1.3.1; MySQL 3.23.32
)* Linux: Linux 2.2.19/defiant testing; java 1.3.1; MySQL 3.23.36
)
)I *really* could use some help here. I need to get MySQL up and running;
)I've been at it for 2 days and can't get my WO app to see it, whether I
)try on Linux or OS X.
)
)Here's the scoop ... let's try OS X first:
)* .jar files belong in /Library/Java/Home/lib/ext/
)* In Remodeled:
)   URL: jdbc:mysql://localhost/newsie
)   Driver: org.gjt.mm.mysql.Driver
)* MySQL is up and running, and I created a database "newsie"
)
)* EOModeler gives this error
)>JDBC connection failed for driver :'org.gjt.mm.mysql.Driver'. Driver not
)>found in Java Runtime! Please verify your C35LASSPATH environment
)variable.
)>The current CLASSPATH for your application is :
)>/Developer/Applications/EOModeler.app/Contents/Resources/Java/eomodeler.zi
)>p:/Users/paul/Library/Java:/Library/Java:/System/Library/Java:/Network/Lib
)>rary/Java:/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar:
)>/System/Library/Frameworks/JavaVM.framework/Classes/ui.jar:/Library/Java/H
)>ome/lib/ext/mm.mysql-2.0.6.1.jar:/Developer/Applications/EOModeler.app/Con
)>tents/Resources/Java/eomodeler.zip
)
)
)On Linux:
)* .jar files belong in /usr/local/jdk1.3.1/jre/lib/ext/
)

I had the same problem couple of days back when I downloaded 2.0.6.1.jar
file from the same web site. But surprisingly, this is not a jar file, it is
a source zip/tar file. you can see the file size as 382 KB.

When I set my CLASSPATH to this jar file(2.0.6.1.jar) I get the same error
saying driver can't be loaded, because this is not a jar executable. Using
winzip/tar when I extracted the files from this jar file, then you get the
real sources and the real jar file with the name (mm.mysql-2.0.6.jar with
size 102 KB). Later I pointed my CLASSPATH to the extracted jar file and
worked out well.

But I did all these on Windows 200. The problem is in the web, the file name
looks like this: mm.mysql-2.0.6.1.jar, but it should be
mm.mysql-2.0.6.1.src.tar.

Hope this should fix your problem. Let me know the outcome of it.

Regards
Venu
--
For technical support contracts, go to https://order.mysql.com/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Venu <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Developer
/_/  /_/\_, /___/\___\_\___/   Woodside, California  USA
       <___/   www.mysql.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to