D'oh!

Thanks.


On Apr 11, 2011, at 5:20 PM, David LeBer wrote:

> Is the MySQL connector jar in the classpath?
> 
> On 2011-04-11, at 5:11 PM, Andrew Kinnie wrote:
> 
>> Greetings:
>> 
>> I am attempting to create a quick and easy D2W front end for my Rest app 
>> built using ERRest.  I have the EOModel and eo classes in their own 
>> framework, while the rest of the . . . er . . . rest stuff is in it's own 
>> project which links the EO framework and seems to work fine with no db 
>> issues.  
>> 
>> I therefore created a new Wonder D2W application, and linked the EO 
>> framework and ran it.  (it's using the ERModern default skin for now, though 
>> I'll likely change that to a copied skin later).  The db is MySQL, and works 
>> fine for the rest app.
>> 
>> When I run the plain vanilla, out of the box wonder d2w app, it shows the 
>> expected front page with the appropriate entities, but when I search for 
>> something, I get this exception.  Presumably there is something else I was 
>> supposed to do but forgot.
>> 
>> java.lang.IllegalStateException: _obtainOpenChannel -- 
>> com.webobjects.eoaccess.EODatabaseContext 
>> com.webobjects.eoaccess.EODatabaseContext@4322394: failed to open database 
>> channel.  Check your connection dictionary, and ensure your database is 
>> correctly configured.
>> [2011-4-11 17:2:14 EDT] <WorkerThread10> java.lang.IllegalStateException: 
>> _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext 
>> com.webobjects.eoaccess.EODatabaseContext@4322394: failed to open database 
>> channel.  Check your connection dictionary, and ensure your database is 
>> correctly configured.
>>      at 
>> com.webobjects.eoaccess.EODatabaseContext._obtainOpenChannel(EODatabaseContext.java:1967)
>>      at 
>> com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3054)
>>      at 
>> com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195)
>>      at 
>> com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488)
>>      at 
>> com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069)
>>      at 
>> er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1206)
>>      at 
>> com.webobjects.eoaccess.EODatabaseDataSource.fetchObjects(EODatabaseDataSource.java:589)
>>      at 
>> com.webobjects.appserver.WODisplayGroup.fetch(WODisplayGroup.java:2132)
>>      at 
>> er.extensions.appserver.ERXDisplayGroup.fetch(ERXDisplayGroup.java:124)
>> ...
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
>> 
>> This email sent to [email protected]
> 
> ;david
> 
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site:         http://codeferous.com
> blog:         http://davidleber.net
> profile:      http://www.linkedin.com/in/davidleber
> twitter:      http://twitter.com/rebeld
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
> 
> 
> 
> 

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

This email sent to [email protected]

Reply via email to