Mailing List webobjects-dev@wocommunity.org Message #279
From: OCsite <webobjects-dev@wocommunity.org>
Subject: Solved: model list
Date: Fri, 15 Oct 2021 13:54:10 +0200
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Just in case someone wonders, the culprit was simple (though a bit hard to find). When I downloaded Wonder 7.2-3, the darned macOS added its darned quarantine forks, on macOS essentially harmless. Instead of downloading directly to the deployment machine, I moved my tested frameworks in there — which created hidden ._XXX files containing those nonsensical things on CentOS. And, some of them had .eomodeld suffix, which caused the library code to find them and go crazy. Ick!

BTW, I might be missing something of importance, but I do believe the log (ERXModelGroup.loadModelsFromLoadedBundles)

			log.debug("Loading bundles ()", frameworkBundles.valueForKey("name"));

is wrong. Not that it would help with my problem even if it worked all right :)

All the best,
OC

On 14. 10. 2021, at 21:01, ocs@ocs.cz <webobjects-dev@wocommunity.org> wrote:

Hi there,

our CentOS deployment does not work with Wonder 7.3; an attempt to launch the application yields

[2021-10-14 20:38:2 CEST] <main> java.lang.IllegalArgumentException: Unable to read either 'file:/opt/Local/Library/WOnderFrameworks73/ERPrototypes.framework/Resources/index.eomodeld' or 'file:/opt/Local/Library/WOnderFrameworks73/ERPrototypes.framework/Resources/eomodel.plist

With 7.1 the same code (only classpath changed) seems to work right. Seems 7.2 has the same problem as 7.3, though I haven't tested it thoroughly. (It stinks by some very ugly Java-based problem, for I've never seen the problem on my development macOS site; happens only at deployment CentOS. Ick.)

How could I find the differences -- if any -- betwixt the Wonder releases? I suspect loadModelsFromLoadedBundles most probably would be the culprit, somehow finding wrong model paths; I can find the (presumably current 7.3) code at

https://jenkins.wocommunity.org/job/Wonder7/ws/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/eof/ERXModelGroup.java

but -- paint me blind and dumb -- I can't see the way to diff the Wonder releases. Also, the code does not seem to allow logging out how it finds the models, alas.

Thanks for any idea,
OC


#############################################################
This message is sent to you because you are subscribed to
 the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
Send administrative queries to  <webobjects-dev-request@wocommunity.org>


Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster