X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 0 [] X-KAS-Score: 0 [] From: "OCsite" Received: from smtp-beta-1.zoner.com ([217.198.120.62] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 26609610 for webobjects-dev@wocommunity.org; Fri, 15 Oct 2021 13:54:33 +0200 Received-SPF: none receiver=post.selbstdenker.com; client-ip=217.198.120.62; envelope-from=ocs@ocs.cz Received: from smtp.zoner.com (smtp.zoner.com [217.198.120.6]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-beta-1.zoner.com (Postfix) with ESMTPS id 813EF1806B7C for ; Fri, 15 Oct 2021 13:54:12 +0200 (CEST) Received: from smtpclient.apple (unknown [46.167.220.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ocs@ocs.cz) by smtp.zoner.com (Postfix) with ESMTPSA id 22BA13000077 for ; Fri, 15 Oct 2021 13:54:12 +0200 (CEST) Content-Type: multipart/alternative; boundary="Apple-Mail=_4E2CFAB5-AE43-4684-BC3A-6FC8FD2CD1B2" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Solved: model list Date: Fri, 15 Oct 2021 13:54:10 +0200 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: <2434C030-3214-4359-AEEA-CD0B86649AB6@ocs.cz> X-Mailer: Apple Mail (2.3654.100.0.2.22) --Apple-Mail=_4E2CFAB5-AE43-4684-BC3A-6FC8FD2CD1B2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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 =E2=80=94 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 = wrote: >=20 > Hi there, >=20 > our CentOS deployment does not work with Wonder 7.3; an attempt to = launch the application yields >=20 > [2021-10-14 20:38:2 CEST]
java.lang.IllegalArgumentException: = Unable to read either = 'file:/opt/Local/Library/WOnderFrameworks73/ERPrototypes.framework/Resourc= es/index.eomodeld' or = 'file:/opt/Local/Library/WOnderFrameworks73/ERPrototypes.framework/Resourc= es/eomodel.plist >=20 > 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.) >=20 > 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 >=20 > = https://jenkins.wocommunity.org/job/Wonder7/ws/Wonder/Frameworks/Core/EREx= tensions/Sources/er/extensions/eof/ERXModelGroup.java >=20 > 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. >=20 > Thanks for any idea, > OC >=20 >=20 > ############################################################# > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to = > To switch to the INDEX mode, E-mail to = > Send administrative queries to = >=20 --Apple-Mail=_4E2CFAB5-AE43-4684-BC3A-6FC8FD2CD1B2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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 =E2=80=94 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/Resourc= es/index.eomodeld' or = 'file:/opt/Local/Library/WOnderFrameworks73/ERPrototypes.framework/Resourc= es/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/Framework= s/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>


= --Apple-Mail=_4E2CFAB5-AE43-4684-BC3A-6FC8FD2CD1B2--