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 [] Return-Path: Received: from mail-ed1-f51.google.com ([209.85.208.51] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.7) with ESMTPS id 27030803 for webobjects-dev@wocommunity.org; Tue, 28 Dec 2021 13:22:54 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=209.85.208.51; envelope-from=stavros.panidis@gmail.com Received: by mail-ed1-f51.google.com with SMTP id z29so73111520edl.7 for ; Tue, 28 Dec 2021 04:22:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bUFl1U7WsNUCXiuqMvJSw0WTR8LEza/KIvmVLitwTqo=; b=m+be6JdUhxwalVTXdNdL048udgeFehsHZ6EXy7AKP96UnwjFe8DbezKa/fdO6hBkCc Roymxqb99NZj3a52MBQgHS99b6u6lBco02sm0DJ70Cyz51N4pVN9/RAl1PoPfBu/ezIj iMWfYy1CNyDiEkFC3yYn/Kj3FQEg7QGMSCphF3yGfj+P+/mNZwmbkGZWBseSdiaItOiz Zsafp+vzmJNNuPnpFLq2J2xsrr4j/bb0aAfN60Sw1ApgUaP2lgp2M/bFVnCjhBk9kE5+ HKvy+GrXPI39IOfoo2U9IVzGnsMMunOiGYEVXI1e+81kA2JcFZOkeigan3m6a+Igt8FF t07Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bUFl1U7WsNUCXiuqMvJSw0WTR8LEza/KIvmVLitwTqo=; b=KuPqovnJQAa8yGAXIuBX6d/oK56gwgbzSQMp5Dk1l7WwONc6LtzmvnYGRxf+UgCqTw tyFDA+PQJbf8oPrGEEf/8fHfhBzdYoqJwUK5oDy3SPWN/T/3UJ2jdz2y1SrHo5r+SJm2 r2bkUMGLgexRULslNM+DE252LaVafiQkM7RoK5TIIp5I/OG9ycEgHH2taNuf9ikgDsWF rfPIb3Ou/cXwfcmOfU2QFAobDhRAszVSGesaLkJ8ugnG5dV46skcj6GWkWpJOoquBDGK /H93sNgSFsFhmaDDn5YM+FHWrgguI6czObYr0sPjU2quT1gzCWuUwRzI5lxKyaWLwzYg O6lg== X-Gm-Message-State: AOAM5334e7k9er/6An4wT9fATaO96AYH9V46xrBwLw55JGwfThk+bOUd cFIh5RiFcwAIn3/yAbfcbiJs7lhTBO9G6A== X-Google-Smtp-Source: ABdhPJzJ7XQBqfAzUUC3uPBY36cqcXJLlLmVVJCLYb3gc45Aj3Z/pZdO3x0ijSE5uuoVELwTztBpLA== X-Received: by 2002:a17:906:f890:: with SMTP id lg16mr17762869ejb.757.1640694154036; Tue, 28 Dec 2021 04:22:34 -0800 (PST) Return-Path: Received: from smtpclient.apple (o894gc.static.otenet.gr. [79.129.50.142]) by smtp.gmail.com with ESMTPSA id 1sm2022401ejw.175.2021.12.28.04.22.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Dec 2021 04:22:33 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: [WO-DEV] Installation on osx Monterey - deployment From: Stavros Panidis In-Reply-To: Date: Tue, 28 Dec 2021 14:22:31 +0200 Cc: hugi@karlmenn.is Content-Transfer-Encoding: quoted-printable Message-Id: References: To: WebObjects & WOnder Development X-Mailer: Apple Mail (2.3693.40.0.1.81) Hugi, You are really very kind, many thanks to you and all community. Stavros > On 28 Dec 2021, at 1:10 PM, Hugi Thordarson wrote: >=20 > Hi Stavros, > here's a quick "getting started guide: >=20 > https://gist.github.com/hugith/d2ba6da9e4942f4ece95d7a721159cd1 >=20 > =E2=80=A6and here's a guide to converting an existing Fluffy Bunny = application: >=20 > https://gist.github.com/hugith/3c269a3196d0c4f2da486f1109c16d42 >=20 > Don't hesitate to ask if you hit any walls or get errors you have no = idea what mean. Those of us that have made this switch have probably hit = all the sharp corners :). >=20 > Cheers, > - hugi >=20 >=20 >> On 28 Dec 2021, at 11:03, Stavros Panidis = wrote: >>=20 >> Dear Paul, >>=20 >> Thank you very much for the info. >>=20 >> I never used Maven before, but since it is the solution I have to do = now. Are there any info / documentation /how to on this? >>=20 >> Best regards >>=20 >> Stavros >>=20 >>=20 >>> On 28 Dec 2021, at 8:29 AM, Paul Hoadley = wrote: >>>=20 >>> Hi Stavros, >>>=20 >>> On 28 Dec 2021, at 3:04 pm, Stavros Panidis = wrote: >>>=20 >>>> Old applications run with no problems but when I deploy the new = one, built in Java 17, application does not start, even after I add: >>>>=20 >>>> --add-exports=3Djava.base/sun.security.action=3DALL-UNNAMED >>>>=20 >>>> in JavaMonitor (Additional arguments). >>>=20 >>> I ran into this issue a few months ago, and discussed it in #java on = Slack. The problem is that the application launch script inside the WOA = bundle does some magic on all the arguments to get them into the right = place on the eventual command line invocation. There are two issues: (a) = --add-exports needs to appear before the Java class name on the command = line; but (b) the launch script pre-dates the existence of any arguments = that look like that, and hence doesn't move it. So it's appearing on the = command line after the class name, and has no effect. >>>=20 >>> There's an easy fix, but you need to be using Maven to build: = wolifecycle-maven-plugin 2.5 will add options like this to the = *ClassPath.txt files, where they will be honoured on launch. You can = specify them in build.properties. >>>=20 >>> https://github.com/wocommunity/wolifecycle-maven-plugin/pull/15 >>>=20 >>>=20 >>> --=20 >>> Paul Hoadley >>> https://logicsquad.net/ >>> https://www.linkedin.com/company/logic-squad/ >>>=20 >>=20 >=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