X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) Return-Path: Received: from mout.gmx.net ([212.227.15.19] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.7) with ESMTPS id 26902532 for webobjects-dev@wocommunity.org; Fri, 03 Dec 2021 16:06:01 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=212.227.15.19; envelope-from=rasc@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1638543941; bh=OL+jzpRFihvkHDLc2ZWyuBjqEi03fNhFo7x1T7hoz0o=; h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; b=f34mLKEQVOBy95BfzWE+/zbyI4xFJotipxyHI2tKmC2F8XZ7qI4VErmx9KFdvyt3Q 3YM8Q//vaMZ0Fcucl2w1KEtxGT0jbcjVv5taHJVWS7hxZt2cp+aEsCcJa7x7pOUH9z j3PhKnoz0651O7vtRdp/aPqLavy7ibxDg6iRhHak= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.42.66] ([193.142.190.210]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MbzuH-1mIjus0wuN-00dYZW for ; Fri, 03 Dec 2021 16:05:41 +0100 From: Ralf Schuchardt To: "WebObjects & WOnder Development" Subject: Re: [WO-DEV] Additional class path entries with double -- ? Date: Fri, 03 Dec 2021 16:05:10 +0100 X-Mailer: MailMate (1.14r5844) Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_B875C11C-7F48-4A87-BBF5-3A888173A846_=" X-Provags-ID: V03:K1:PyV4OVrg8upFJI2ZHR9eOkPo6DnedcDbb+37OpJK9VBBXe0kD/A HDqIlWaakG1zHNdm2WyY2y2TKcqo1kzkUyMioYIqqrvTqf3c0DibZIKw/5wOoxx/Wtvdcb9 f8CJiJr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APbwvzWGBUOJLnk/76k9/QTHibb z7ZhfEWxytvRqWRQnCODYBcQBU9zRBVlWrvbWbCK4WV5vTsV4RZLLy2vP6Wuj6MhF/qHnSrrG eRBYUAxDhZayEInCP0KRzjA18kJHKXVgZ/KxnHAtjYY73DAFnJ7eLx2YQNC61F+14w== --=_MailMate_B875C11C-7F48-4A87-BBF5-3A888173A846_= Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable I think there are a `jvmOptions` and `jdbOptions` attributes defined for the `` task: ```xml ... ``` Ralf On 3 Dec 2021, at 14:12, Markus Ruggiero (rucotec) wrote: > To be able to run a Wonder app with JRE 11 and up one needs to add the > following vm options > > --add-exports java.base/sun.security.action=3DALL-UNNAMED > > All fine, works in Eclipse but what about the deployed app? In > JavaMonitor I can add additional arguments but the startup script does > not handle the double dash option gracefully. It is passed to the > application, not to the java vm (at least that is my understanding so > far). > > It is simple to edit the *.woa/Contents/UNIX/UNIXClassPath.txt file > and put the option there (JVMOptions entry in header comments). But > the next build replaces this class path file and the options are gone. > Manual edit again, and again, and... > > Do I miss something here? Is there a way to add this option > permanently. I am not using Maven, simple ant build from the command > line. > > Thanks for your ideas > > ---markus--- --=_MailMate_B875C11C-7F48-4A87-BBF5-3A888173A846_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

I think there are a jvmOptions = and jdbOptions attributes defined for the <woapplication/> task:

<woapplication ... jvm=3D"${jvm}&q=
uot; jvmOptions=3D"${jvmOptions}" jdb=3D"${jdb}" jdbOptions=3D=
"${jdbOptions}"=
;>
=2E..
</woapplication>

Ralf

On 3 Dec 2021, at 14:12, Markus Ruggiero (rucotec) wrote:=

To be able to run a Wonder app with= JRE 11 and up one needs to add the following vm options

--add-exports java.base/sun.security.action=3DALL-UNNAMED=

All fine, works in Eclipse but what about the deployed ap= p? In JavaMonitor I can add additional arguments but the startup script d= oes not handle the double dash option gracefully. It is passed to the app= lication, not to the java vm (at least that is my understanding so far).<= /p>

It is simple to edit the *.woa/Contents/UNIX/UNIXClassPat= h.txt file and put the option there (JVMOptions entry in header comments)= =2E But the next build replaces this class path file and the options are = gone. Manual edit again, and again, and...

Do I miss something here? Is there a way to add this opti= on permanently. I am not using Maven, simple ant build from the command l= ine.

Thanks for your ideas


---markus---

--=_MailMate_B875C11C-7F48-4A87-BBF5-3A888173A846_=--