If it is in /Library/Java/Extensions, then it is on the classpath. Period. End of story. So the error must be something else.

What have you done since it was last working? Think hard, _something_ has changed.

Things to check:
- are you explicitly including it on the classpath someplace else?
- is the JavaJDBCAdaptor.framework part of the project?
- does a reboot help?


Chuck



On Feb 26, 2007, at 12:57 PM, Fred Shurtleff wrote:

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











--

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/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to