Re: Unable to read index.eomodeld
Re: Unable to read index.eomodeld
- Subject: Re: Unable to read index.eomodeld
- From: Corin Lawson <email@hidden>
- Date: Thu, 29 Dec 2005 13:14:06 +1100
Thanks,
It seems that option 3 was likely as reverting to an old code model
fixed the problem...
On 29/12/2005, at 1:03 PM, Chuck Hill wrote:
1. That file is, in fact, missing
2. The user the app is running under lacks permissions to read the
directory / files in the directory
3. One or more files in the model directory is corrupt.
Chuck
On Dec 28, 2005, at 5:46 PM, Corin Lawson wrote:
Hi,
What could be causing this problem?
[2005-12-29 12:29:29 EST] <main> A fatal exception occurred:
Unable to read either 'file:/Library/Frameworks/BDERSEOM.framework/
Resources/bottledomains.eomodeld/index.eomodeld' or 'file:/Library/
Frameworks/BDERSEOM.framework/Resources/bottledomains.eomodeld/
eomodel.plist
[2005-12-29 12:29:29 EST] <main>
java.lang.IllegalArgumentException: Unable to read either 'file:/
Library/Frameworks/BDERSEOM.framework/Resources/
bottledomains.eomodeld/index.eomodeld' or 'file:/Library/
Frameworks/BDERSEOM.framework/Resources/bottledomains.eomodeld/
eomodel.plist
at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:804)
at com.webobjects.eoaccess.EOModelGroup.addModelWithPathURL
(EOModelGroup.java:498)
at
com.webobjects.eoaccess.EOModelGroup.modelGroupForLoadedBundles
(EOModelGroup.java:790)
at com.webobjects.eoaccess.EOModelGroup.globalModelGroup
(EOModelGroup.java:338)
at com.webobjects.eoaccess.EOModelGroup.defaultGroup
(EOModelGroup.java:370)
at
com.webobjects.webservices.generation._WSRuleUtilities.modelGroupInCo
ntext(_WSRuleUtilities.java:288)
at
com.webobjects.webservices.generation._WOAssignment.defaultOperationN
ames(_WOAssignment.java:181)
at
com.webobjects.webservices.generation._WOAssignment.allOperationNames
(_WOAssignment.java:256)
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.foundation.NSKeyValueCoding$1.methodValue
(NSKeyValueCoding.java:684)
at com.webobjects.foundation.NSKeyValueCoding
$_MethodBinding.valueInObject(NSKeyValueCoding.java:1160)
at com.webobjects.foundation.NSKeyValueCoding
$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1268)
at
com.webobjects.directtoweb.KeyValuePath.valueForKeyOnObject
(KeyValuePath.java:136)
at com.webobjects.directtoweb.DefaultAssignment.fire
(DefaultAssignment.java:50)
at com.webobjects.directtoweb.Rule.fire(Rule.java:346)
at com.webobjects.directtoweb.D2WModel._fireRule
(D2WModel.java:1469)
at
com.webobjects.directtoweb.D2WModel.fireRuleForKeyPathInContext
(D2WModel.java:1514)
at
com.webobjects.directtoweb.D2WFastModel.fireRuleForKeyPathInContext
(D2WFastModel.java:184)
at com.webobjects.directtoweb.D2WContext.inferValueForKey
(D2WContext.java:278)
at com.webobjects.directtoweb.D2WContext.valueForKey
(D2WContext.java:166)
at
com.webobjects.webservices.generation._WSRuleUtilities._registerServi
cesAndOperations(_WSRuleUtilities.java:102)
at
com.webobjects.webservices.generation._WSRuleUtilities.init
(_WSRuleUtilities.java:74)
at
com.webobjects.webservices.generation._WSRuleUtilities._applicationWi
llFinishLaunching(_WSRuleUtilities.java:70)
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.foundation.NSSelector._safeInvokeMethod
(NSSelector.java:120)
at com.webobjects.foundation.NSNotificationCenter
$_Entry.invokeMethod(NSNotificationCenter.java:598)
at
com.webobjects.foundation.NSNotificationCenter.postNotification
(NSNotificationCenter.java:542)
at
com.webobjects.foundation.NSNotificationCenter.postNotification
(NSNotificationCenter.java:556)
at com.webobjects.appserver.WOApplication.run
(WOApplication.java:878)
at com.webobjects.appserver.WOApplication.main
(WOApplication.java:324)
at com.auststyle.bders.Application.main(Application.java:78)
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 checked the permissions....
$ ls -l /Library/Frameworks/BDERSEOM.framework/Resources/
bottledomains.eomodeld/index.eomodeld
-rw-r--r-- 1 admin admin 2967 29 Dec 12:21 /Library/Frameworks/
BDERSEOM.framework/Resources/bottledomains.eomodeld/index.eomodeld
What else could be wrong? Please help...
I have made a routine change to the connection dictionary...
Cheers,
Corin.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
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