Did you check your connection dictionary?
Did you include the jdbc driver into the classpath?
Is the URL correct (jdbc:mysql://localhost/myDBName)

Enable adaptor debugging. EOF will then output the used connection info - is it 
using what you think it should?

Where does the connection info come from: the EOModel or from some properties 
or any other mechanism?

Just some random thoughts
---markus---

> On 16.10.2015, at 18:50, Stavros Panidis <stavros.pani...@gmail.com> wrote:
> 
> Dear list,
> 
> 
> I get the following error when try to connect to my application.
> 
> Error:        java.lang.IllegalStateException: _obtainOpenChannel -- 
> com.webobjects.eoaccess.EODatabaseContext 
> com.webobjects.eoaccess.EODatabaseContext@3dd81ec9: failed to open database 
> channel. Check your connection dictionary, and ensure your database is 
> correctly configured. 
> Reason:       _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext 
> com.webobjects.eoaccess.EODatabaseContext@3dd81ec9: failed to open database 
> channel. Check your connection dictionary, and ensure your database is 
> correctly configured.
> 
> 
> Deployment machine is Mac Mini running Yosemite Server.
> 
> MySQL version is 5.6.25
> MySQL connector Java version is 5.1.31
> 
> MySQL is running and stopping locally by System settings.
> 
> MySQL is working locally with a third application (Navicat)
> 
> MySQL is working remotely via Terminal login.
> 
> Any idea what can be wrong?
> 
> Many thanks in advance
> 
> Stavros
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com
> 
> This email sent to mailingli...@kataputt.com

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

This email sent to arch...@mail-archive.com

Reply via email to