failed to open database channel with mysql (Again)
failed to open database channel with mysql (Again)
- Subject: failed to open database channel with mysql (Again)
- From: David BON <email@hidden>
- Date: Fri, 10 Aug 2007 18:59:02 +0000
Hi,
I'm still in the process of converting an XCode project to WOLips and Wonder.
I found an old post with the same title but couln't find any solution attached to it.
Here's my situation:
I run a mySQL database (the Movies DB from the D2WListExample example) that I import into my project by drag and drop from the finder into Eclipse of the differents files created by EOModel. I can connect to it through Eclipse (v3.2.2 this time) using the SQLExplorer plug-in (so I suppose that my JDBC adaptor and my connection paramaters are OK).
I have set the connectionDictionnary like that: { EOModelVersion = 2.1; adaptorName = JDBC; connectionDictionary = { password = wouser; URL = ""> username = [password]; }; entities = (...)
I also try with: { EOModelVersion = 2.1; adaptorName = JDBC; connectionDictionary = { password = "wouser"; URL = ""; username = "[password]"; driver = ""; }; entities = (...)
and this one : { EOModelVersion = 2.1; adaptorName = JDBC; connectionDictionary = { password = "wouser"; URL = ""; username = "[password]"; driver = "com.mysql.jdbc.Driver"; But I always get an error: the log says that the applicaton fails to find a JNDI adaptor, then use a default openbase one and (of course) I get errors: 'com.webobjects.jdbcadaptor.OpenBasePlugIn' and 'connecting with dictionary: {LC_ALL = "iso_1"; password = "<password deleted for log>"; databaseEncoding = "ISO Latin-1"; URL = "";}'
How to solve that or at least get more hints to find where is the problem?
David B. |
_______________________________________________
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