Strange fatal error EOModel
Strange fatal error EOModel
- Subject: Strange fatal error EOModel
- From: Gino Pacitti <email@hidden>
- Date: Wed, 25 May 2005 09:00:34 +0100
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.objectsWithFetchSpecif
ication(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.java:64)
at Application.<init>(Application.java:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.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.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.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
_______________________________________________
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