• 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
Attempting to create a D2W front end for my ERREST app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attempting to create a D2W front end for my ERREST app


  • Subject: Attempting to create a D2W front end for my ERREST app
  • From: Andrew Kinnie <email@hidden>
  • Date: Mon, 11 Apr 2011 17:11:35 -0400

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Attempting to create a D2W front end for my ERREST app
      • From: David LeBer <email@hidden>
  • Prev by Date: Re: responseForComponentWithName() and session
  • Next by Date: Re: Attempting to create a D2W front end for my ERREST app
  • Previous by thread: Re: [MEETING] WO-NoVA is NEXT TUESDAY (4/19/2011)
  • Next by thread: Re: Attempting to create a D2W front end for my ERREST app
  • Index(es):
    • Date
    • Thread