Re: Strange fatal error EOModel
Re: Strange fatal error EOModel
- Subject: Re: Strange fatal error EOModel
- From: Chuck Hill <email@hidden>
- Date: Wed, 25 May 2005 09:27:20 -0700
I've seen that before and I am pretty sure that it was caused by a
model not getting loaded. Check the path (no spaces!) and that the
model is there in the .woa/.framework and complete and not damaged in
any way.
Chuck
On May 25, 2005, at 1:00 AM, Gino Pacitti wrote:
Hi
I have had this same application running on a 10.2.8 machine with
WO5.2.1 deployment - mysql database 3.*
I now have upgraded to a new xserver with 10.4.1 with WO5.2.4 and
mysql 4.*
I did not start this app through monitor as I wanted some instant
readout from the command line and when I ran the startup script for
the app i get this.
Creating LifebeatThread now with: JavaFoundation 55180 217.149.97.134
1085 30000
Welcome to JavaFoundation!
[2005-05-25 08:51:59 BST] <main> A fatal exception occurred: An object
store for the entity "AttractionTypes" could not be found. Verify that
the entity is defined in an EOModel, and that the model is installed
properly. To see what models are loaded, you can try printing the
return value of EOModelGroup.defaultGroup() in your application.
[2005-05-25 08:51:59 BST] <main> java.lang.IllegalArgumentException:
An object store for the entity "AttractionTypes" could not be found.
Verify that the entity is defined in an EOModel, and that the model is
installed properly. To see what models are loaded, you can try
printing the return value of EOModelGroup.defaultGroup() in your
application.
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpeci
fication(EOObjectStoreCoordinator.java:536)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification
(EOEditingContext.java:4075)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification
(EOEditingContext.java:4461)
at
com.webobjects.eoaccess.EOUtilities.objectsForEntityNamed(EOUtilities.j
ava:64)
at Application.<init>(Application.java:32)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
AccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
structorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at
com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
at Application.main(Application.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
I have rebuilt this with xcode and it builds and launches on client.
Only difference is the version of mysql installed though...
Any help greatly appreciated
Gino
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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