RE: Where is the best dir to put my jdbc.jar?
RE: Where is the best dir to put my jdbc.jar?
- Subject: RE: Where is the best dir to put my jdbc.jar?
- From: "Ren, Kevin" <email@hidden>
- Date: Fri, 21 Dec 2007 14:47:57 +1300
- Thread-topic: Where is the best dir to put my jdbc.jar?
First all I am running in Ubuntu with Wo5.3.
I put my jdbc.jar to /usr/lib/jvm/java-1.5.0-sun/jre/lib/ext, because
it's easy to test after install app.
Build succeed, even before I put jdbc.jar to that folder. Is that OK? I
just wondering why Eomodeler not check jdbc.jar over there.
When I run the app, I could get my first website page.
But after I clicked button try to retrieve data from DB, I got error
message:
Application: RecipeSite
Error: com.webobjects.foundation.NSForwardException exception
Reason:
com.webobjects.foundation.NSForwardException
[java.lang.IllegalArgumentException] There is no model containing entity
'Recipe' in the default model group. Unable to create
EODatabaseDataSource.
What's that mean?do I need setup something in eomodeler?
Thanks
kevin
-----Original Message-----
From: Chuck Hill [mailto:email@hidden]
Sent: Friday, 21 December 2007 11:45 a.m.
To: Ren, Kevin
Cc: email@hidden
Subject: Re: Where is the best dir to put my jdbc.jar?
JDBC drivers should go in the Java Extensions directory. The exact
directory depends on the OS.
On Dec 20, 2007, at 2:31 PM, Ren, Kevin wrote:
>
> /Library/java/Extentions/
>
That one on OS X
> /Library/Webobjects/Extentsions
>
Not there.
> My jvm dir like
> /usr/lib/jvm/java-1.5.0-sun/ext
> /usr/lib/jvm/java-1.5.0-sun/jre/lib/ext
>
Probably the second one, it really depends on what you use to launch the
app.
Chuck
--
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
"This communication is confidential and may contain privileged and/or copyright material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email, delete the emails and destroy any hard copies. ANZ National Bank Limited does not guarantee the integrity of this communication, or that it is free from errors, viruses or interference."
_______________________________________________
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