• 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
Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:38:20 -0400

Never mind ...... I replied too fast without reading your email fully. Gee, I need to take a brain break .... it's been a long day.

On Jun 4, 2007, at 6:30 PM, Kieran Kelleher wrote:

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:
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
References: 
 >java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ... (From: Chris * <email@hidden>)
 >Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ... (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
  • Next by Date: Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
  • Previous by thread: Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
  • Next by thread: Re: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Server ...
  • Index(es):
    • Date
    • Thread