Re: Guidance on how to create a framework for the application models
Re: Guidance on how to create a framework for the application models
- Subject: Re: Guidance on how to create a framework for the application models
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 16 Aug 2012 03:01:49 -0700 (PDT)
start with the simple. did you clean and recompile both the apps, maybe some remnant is hanging around?
I am just thinking. both apps had their own model. you moved that to a framework, deleted the reference in the apps, added the framework to your build path, and the wonder application doesn't see the framework, but the D2W app does.
are you sure the framework is in the build path?
Ted
--- On Tue, 8/14/12, "Sr. Ângelo Andrade Cirino" <email@hidden> wrote:
> From: "Sr. Ângelo Andrade Cirino" <email@hidden>
> Subject: Guidance on how to create a framework for the application models
> To: email@hidden
> Date: Tuesday, August 14, 2012, 7:49 PM
> Hi,
> I have two applications, the backend as a D2W and
> the fronted as a small WO application with a simple
> DisplayGroup, that use the same models. Trying to simplify
> maintenance and to have the models in just one place, I
> created a framework to hold the models, but when I tried it
> with the DisplayGroup application I got the following
> error:
>
> IllegalStateException:
> _obtainOpenChannel --
> com.webobjects.eoaccess.EODatabaseContext
> com.webobjects.eoaccess.EODatabaseContext@42bb0406: 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)
> And a similar error when changing the model in
> EOModeler and trying to generate the SQL. The framework is
> supposed to only have the models and its connection
> dictionary is correctly written, since I just copied the
> eomodeld files from a working application.
> Any suggestion?
> Angelo
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> 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
>
_______________________________________________
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