Re: Unable to read index.eomodeld
Re: Unable to read index.eomodeld
- Subject: Re: Unable to read index.eomodeld
- From: Miguel Arroz <email@hidden>
- Date: Thu, 29 Dec 2005 09:13:11 +0000
Hi!
Had that problem some days ago, the message is totally misleading.
The problem was that I edited the index.eomodel file by hand, to
change the password. The original password had no special characters
and was not quoted. The one I used had a special character, and
needed to be quoted. I didn't quote it, and I got that error.
So, if you are changing the password or something like that,
always quote the value. I don't know why EOModeler does not quote
everything by default, as not quoting is a variation to the syntactic
format, and that is always a bad thing.
Yours
Miguel Arroz
On 2005/12/29, at 01:46, 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.modelGroupInCon
text(_WSRuleUtilities.java:288)
at
com.webobjects.webservices.generation._WOAssignment.defaultOperationNa
mes(_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._registerServic
esAndOperations(_WSRuleUtilities.java:102)
at
com.webobjects.webservices.generation._WSRuleUtilities.init
(_WSRuleUtilities.java:74)
at
com.webobjects.webservices.generation._WSRuleUtilities._applicationWil
lFinishLaunching(_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:
40guiamac.com
This email sent to email@hidden
"We have no sympathy for the lost souls
We've chosen the path of disgrace
We give this life to our children
And teach them to hate this place" -- Apocalyptica, Life Burns!
Miguel Arroz
http://www.ipragma.com
_______________________________________________
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