메일링 리스트 webobjects-dev@wocommunity.org 메시지 #333
보낸 사람: Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch>
제목: Re: [WO-DEV] Additional class path entries with double -- ?
일자: Sat, 4 Dec 2021 17:04:18 +0100
받는 사람: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
참조: <rasc@gmx.de>
서명된 데이터 (Text SHA256)
Thanks, that helped

On 3 Dec 2021, at 16:05, Ralf Schuchardt <rasc@gmx.de> wrote:

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

<woapplication ... jvm="${jvm}" jvmOptions="${jvmOptions}" jdb="${jdb}" jdbOptions="${jdbOptions}">
...
</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=ALL-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---



Markus Ruggiero


rucotec GmbH                        web https://rucotec.ch
Steinenvorstadt 79                email markus.ruggiero@rucotec.ch
4051 Basel / Switzerland         mobile +41 79 508 4701








내용 변경이 없음이 보증됨:
<markus.ruggiero@rucotec.ch>
가입 (FEED) 가입 (DIGEST) 가입 (INDEX) 탈퇴 Listmaster에게 메일 보내기