Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failed to open database channel with mysql (Again)



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";
    };
    entities = (...)

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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.