• 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
EOF inside of an axis app running in Tomcat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOF inside of an axis app running in Tomcat


  • Subject: EOF inside of an axis app running in Tomcat
  • From: Asa Hardcastle <email@hidden>
  • Date: Mon, 26 Jan 2009 19:25:54 -0500

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.&lt;clinit&gt;(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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Eclipse + Subclipse for svn+ssh authentication on OSX
  • Next by Date: Re: Sometime WebObjects drives me a little crazy!
  • Previous by thread: Re: Eclipse + Subclipse for svn+ssh authentication on OSX
  • Next by thread: Accidentally opened workspace with Eclipse 3.4
  • Index(es):
    • Date
    • Thread