Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
- Subject: Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
- From: Kieran Kelleher <email@hidden>
- Date: Mon, 4 Jun 2007 18:30:14 -0400
First time deployment? .... and the app cannot read the class
description form the eomodel ?
Did you set permissions and ownership on the deployed bundle? If not,
that's probably the issue.
On Jun 4, 2007, at 5:22 PM, Chris * wrote:
Hello Everyone!
While deploying my first WO Application, I get the
following exception:
java.lang.IllegalStateException: Unabled to find an
EOClassDescription for objects of class Server ...
The class "Server" is generated by EOModeler from the
Entity of the same name. The exception ocurrs when I
instatiate the class:
...
Session session = (Session)session();
EOEditingContext editingContext =
session.defaultEditingContext();
EOClassDescription serverCD =
EOClassDescription.classDescriptionForEntityName("Server");
Server server = new Server();
editingContext.insertObject(server);
...
"EOModelGroup.defaultGroup().modelNames()" contained
the Model with the entity server.
When I use Direct2Web, I can connect to the DB, create
and search for "Server" entries, so I don't think it's
related to the MySQL Setup, or a flaw in the
EOModeling.
Thanks in advance,
Chris
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://
messenger.yahoo.de
_______________________________________________
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