• 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
failed to open database channel with mysql (Again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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";
    };
    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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: failed to open database channel with mysql (Again)
      • From: Guido Neitzer <email@hidden>
  • Prev by Date: deployment to include jars
  • Next by Date: Re: deployment to include jars
  • Previous by thread: Re: deployment to include jars [SOLVED... I suppose]
  • Next by thread: Re: failed to open database channel with mysql (Again)
  • Index(es):
    • Date
    • Thread