Hi All,

I would like to use EOF to extend an existing axis application deployed with tomcat. Has anyone done this?

At the moment I get this exception in the deployed app:

Caused by: java.lang.ExceptionInInitializerError
at com .webobjects .eoaccess.EOModelGroup.modelGroupForLoadedBundles(EOModelGroup.java:775) at com .webobjects.eoaccess.EOModelGroup.globalModelGroup(EOModelGroup.java: 338) at com.webobjects.eoaccess.EOModelGroup.defaultGroup(EOModelGroup.java:370) at liberty .ps1 .PeopleServiceSoapBindingImpl .addEntity(PeopleServiceSoapBindingImpl.java:109)
    ... 30 more
Caused by: java.lang.NullPointerException
at com .webobjects .foundation.NSBundle.LoadUserAndBundleProperties(NSBundle.java:640) at com.webobjects.foundation.NSBundle.<clinit> (NSBundle.java:367)
    ... 34 more

The code is something like:

EOModel model = new EOModel(new URL("file:///Path/To/my.eomodeld"));
EOModelGroup.defaultGroup().addModel(model);

The exception happens when EOModelGroup.defaultGroup() is called.
                        
It also seems like WOSession is required for this. My preference would be to simply utilize foundation, eoaccess, and eocontrol.

Any help would be GREATLY appreciated.

asa
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to