Hey Aleksey,

You are right Tomcat has it's own DB connection stuff, which can be a pain in the a** at times. I ran into this and it actually was a show- stopper when I had two (or more) EOModels.

See: the "Data Source for Model Database Configuration" section of http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Tomcat+Deployment#WebApplications-Deployment-TomcatDeployment-DataSourceforModelDatabaseConfiguration .

This wiki page is somewhat out-of-date due to the improved project setup options in WOLips, but the core information in it still holds true, so read through it to see if you can find any other changes you may need to make to your build files. Specifically, it will help you get all the frameworks imbedded.

On Apr 2, 2008, at 5:05 AM, Andrew Lindesay wrote:

5. In the Tomcat log file (catalina.out), I keep getting an exception (below) related to JDBC but everything runs fine regardless (I'm using MySQL). Tomcat seems to have it's own data source mechanism

I think I read something about that in an old mailing list post. I think you need to give the data source the same name as the model or something -- perhaps somebody can clarify?

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

This email sent to [EMAIL PROTECTED]

Reply via email to