Hi there,

had a similar issue last week. The symptoms were the same. Either some update (WO 533?) replaces the OpenBase driver with a outdated or broken one, or the last java update makes the old one useless. When I did a "System.out.println(ObDriver.class)" at application startup, I would get something like incorrect class version. In my case, replacing the jar in /Library/Java/Extensions with the jar from the latest OpenBase distribution fixed it.

Timo


Am 26.02.2007 um 22:10 schrieb Fred Shurtleff:

Checked Spotlight and it is ONLY in /Library/Java/Extensions (and of course - /Application/OpenBase/Developer).

Also I looked further into the project Java Build Path and do see JRE System Library(JVM 1.4.2) which contains the item > OpenBaseJDBC.jar - /Library/Java/Extensions/. So the error text stating "Driver not found in Java Runtime!" does not make any sense to me. Because my model specifies a URL: jdbc:OpenBase which somehow instructs to use the above .jar file. And I was connected to this database last week.

So now I do not know what else to check!

Thanks for your help.

Chuck Hill wrote:
Use Spotlight to find OpenBaseJDBC.jar. You probably have it also in /Library/WebObjects/Extensions or some other inappropriate place. It should ONLY be in /Library/Java/Extensions

Chuck


On Feb 26, 2007, at 11:20 AM, Fred Shurtleff wrote:

Hello All,

I am unable to connect to a localhost OpenBase database that I had previously connected to last week. The console error is:

An exception occurred while trying to open a
channel:com.webobjects.jdbcadaptor.JDBCAdaptorException: JDBC connection failed for driver :'com.openbase.jdbc.ObDriver'. Driver not found in Java Runtime! Please verify your CLASSPATH environment variable. The current CLASSPATH for your application is :/ System/....

Since I did NOT see OpenBaseJDBC.jar in any of these search paths, I tried to add a new classpath variable pointing to / Library/Java/Extensions/OpenBaseJDBC.jar, but when I try to add it to the project Java Build Path, it complained that it was a duplicate entry (and would not let me save it). So now I am totally confused!

I have checked my connection dictionary/params (they are correct), and the database is started/running.

Can anyone suggest what may be the problem?

Thank You


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]


--
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/th-dev% 40onlinehome.de

This email sent to [EMAIL PROTECTED]

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

This email sent to archive@mail-archive.com

Reply via email to