Re: Re: Database connection error (MYSQL)
Re: Re: Database connection error (MYSQL)
- Subject: Re: Re: Database connection error (MYSQL)
- From: "Andrew Joso" <email@hidden>
- Date: Fri, 15 Sep 2006 12:35:26 +0800
Thank you very much for all the help.
I've tried to do few things, but it still doesn't work.
I'm using WO 5.2, I use mysqlconnector 3.1.12.
I've also tried to use 3.0.17.
The location of the MYSQL connector is at /Library/Java/Extensions.
Another thing that I've tried is that I created a new project and use
the same EO model. It actually works, WO is able to request data from
the database through EO. In this new testing project. However, it
still doesn't work in my main project.
Just for your information, my main project has been working for weeks.
and it suddenly doesn't work.
Thank you in advanced. Any more ideas? or ways to troubleshoot?
I wonder if this message may relate to the same problem.
[2006-09-15 12:34:16 WST] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2006-09-15 12:34:17 WST] <main> Application project found: Will
locate resources in '' rather than
'/Users/joso/test/build/Development/test.woa' .
[2006-09-15 12:34:18 WST] <main> *** The application has found the
following opened, development-mode Xcode projects:
(<com.webobjects.appserver._private.WOProjectBundle:
projectName='test';
bundlePath='/Users/joso/test/build/Development/test.woa';
projectPath=''>)
I got this message when I'm running the project
Thanks..
On 9/15/06, Kieran Kelleher <email@hidden> wrote:
Some guides here:
http://homepage.mac.com/kelleherk/iblog/C711669388/E1395049038/
index.html
and
http://homepage.mac.com/kelleherk/iblog/C711669388/E70925289/index.html
I use connector/J 3.0.XX and MySQL 4.1
Regards, Kieran
On Sep 14, 2006, at 12:48 AM, Andrew Joso wrote:
> As the webobjects is trying to request data from the database, I got
> this error message
> java.lang.IllegalStateException: _obtainOpenChannel --
> com.webobjects.eoaccess.EODatabaseContext
> com.webobjects.eoaccess.EODatabaseContext@3598c3: failed to open
> database channel. Check your connection dictionary, and ensure your
> database is correctly configured.
>
> The database that I use is MYSQL and it is located in the same
> machine. I have checked the connection dictionary and it seems to be
> correct.
>
> I am able to see the database from the EO Modeller. It's just when
> webobjects request for data, the error message is thrown.
>
> Can someone help me ?
>
> Thank you for your help. It's greatly appreciated
>
> AJoso
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40mac.com
>
> This email sent to email@hidden
_______________________________________________
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