• 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
Re: Where is the best dir to put my jdbc.jar?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is the best dir to put my jdbc.jar?


  • Subject: Re: Where is the best dir to put my jdbc.jar?
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 20 Dec 2007 19:21:29 -0800


On Dec 20, 2007, at 5:47 PM, Ren, Kevin wrote:

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.

It would not need that to build.


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

I am not sure. It sounds like the model is not loading. How are you running the application?



Chuck


-----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:
40global-village.net


This email sent to email@hidden


--

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RE: Where is the best dir to put my jdbc.jar? (From: "Ren, Kevin" <email@hidden>)

  • Prev by Date: Change Notification vs New EditingContext vs ?
  • Next by Date: Re: Change Notification vs New EditingContext vs ?
  • Previous by thread: RE: Where is the best dir to put my jdbc.jar?
  • Next by thread: Setting Applications Package under XCode
  • Index(es):
    • Date
    • Thread