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: "Jesse Tayler" Received: from mail-qt1-f174.google.com ([209.85.160.174] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 26350106 for webobjects-dev@wocommunity.org; Tue, 24 Aug 2021 18:45:15 +0200 Received-SPF: none receiver=post.selbstdenker.com; client-ip=209.85.160.174; envelope-from=jtayler@oeinc.com Received: by mail-qt1-f174.google.com with SMTP id r21so17295210qtw.11 for ; Tue, 24 Aug 2021 09:45:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oeinc-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=qWfNJsOtMAaXHw5o1rdEI6XnAPb2S83qF7bW4c6PGmE=; b=IndmW8rLsVo0sKC29F/Z/bIBZPBPLdcaByWV5xEOUUJohPlVpyGo4Yv35Po2BTYtjh Wk8WupQ2LRNeXdog5Z/16ZPrAHDgZSP1anv8RqdfJb0smMUng8HoFShaGgMvPNzolF5k 9/tbI8lBRpDDJ+k8eLesN4v7BJFx+WRxncZceP4Bz1MBc8TivHJTpupb3gopcu+d4HVs 9yWeiWHzTbq9foxV0iH1aGlmKZ0Pxu7aBII5EN1jnz6I4gdCBQq0rGBgqaEQK+8kaaYJ 2q3awUd597M/fZthz1BRnO4XU52kLuvMt7nFNY1eJAUvuU7TZSSKW23JILv3odgeqriO gh0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=qWfNJsOtMAaXHw5o1rdEI6XnAPb2S83qF7bW4c6PGmE=; b=sPbTXBAmDRexP4FrMLzjHeLI7/Q9gZWIZ3AIGYn401Ja0C3WVSLn408/qdZNEqLCd6 BdqwY0HlGu/iq6L8nsbltP2NPPLYm0Npwwyq4nXnpsph0GdoGoFYtE9OVkDWWlUAYdV7 05kNj+vdXEIUxfK9DB9GFXTHZSzfNHhTtxCK5dtnwZPOjnfB0TYUX+AnsyJXNXJivvKP p5/vnQkE+5LVaRUl9N8dQQmiFW4ge7ZhResRlSDAy3e1uNEr4UgwOh9QFi1veJvhr9rR JZJAhg9At2dEQhqBjmGIBAtEvo9UND9xs+09H9vNdtE6XXa0zRuC57HHi2frCdQUimKU 56IQ== X-Gm-Message-State: AOAM531As7A1XCeY88/foCCyUD0Qd+rMtSeNwiqO+ArsyfTJ+MyhbVe/ 5i1bingMwS0gfwSksYa7tCxe2ZM8Hek4PQ== X-Google-Smtp-Source: ABdhPJwr34+roR9jv38/psP1DeSEiSoUE26C4S+K2C4y7yHMVGrvUL8hx2RnrwqeUvj7r4nLJFYJuw== X-Received: by 2002:ac8:66da:: with SMTP id m26mr35108819qtp.273.1629823494142; Tue, 24 Aug 2021 09:44:54 -0700 (PDT) Return-Path: Received: from [192.168.1.16] ([69.169.5.176]) by smtp.gmail.com with ESMTPSA id h16sm8503570qtx.23.2021.08.24.09.44.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Aug 2021 09:44:53 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.2\)) Subject: Re: [WO-DEV] java.lang.IllegalAccessError: class com.webobjects.foundation.NSTimeZone (in unnamed module @0x6c2c1385) cannot access class sun.security.action.GetPropertyAction Date: Tue, 24 Aug 2021 12:44:52 -0400 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: <96EC0F2C-EDB5-4656-8478-7DE94D442201@oeinc.com> X-Mailer: Apple Mail (2.3654.60.0.2.2) Nice, did you end up compiling your docker file? Mine is based on another docker file that frankly, I can=E2=80=99t = reliably read -- although it nicely adds WO / Wonder along with my = configurations and installs, it=E2=80=99s not easy for me to edit and = adjust and I=E2=80=99d like to improve that on the next time around =E2=80= =94=20 > On Aug 24, 2021, at 12:41 PM, Ray Kiddy = wrote: >=20 > Hey there - >=20 > So, I ran the instructions below, starting with the cloning of the = wodocker project. I am on OSX 11.3.1 and usually run java11. I had to = launch my Docker app to get the daemon working. I had to install java16. >=20 > And everything worked? The app launched successfully? WTF, man! How = _did_ this happen? :--) >=20 > Ramsey. Your share of this is much appreciated. >=20 > cheers - ray >=20 >=20 > On 8/23/21 3:48 PM, Ramsey Gurley wrote: >> Hey Markus, >>=20 >> Yeah, you need to do a >>=20 >> --add-exports java.base/sun.security.action=3DALL-UNNAMED >>=20 >> for that on compile as well as run. You can add it to the compile = with the maven-compiler-plugin and to run in eclipse, add it under VM = args in the run config for your woapp. I have a maven build of a WO app = in a docker container that works on Java 16 I've been working on in my = spare time. >>=20 >> https://github.com/nullterminated/wodocker/blob/master/pom.xml >>=20 >> I need to add a readme, but if interested in building in a container, = just >>=20 >> git clone git@github.com:nullterminated/wodocker.git >> cd wodocker >> mvn clean verify -Pdocker >>=20 >> to run it is, >>=20 >> docker run --rm -it -p 8080:8080 your.app/wodocker:latest >>=20 >> And then visit http://localhost:8080/ >>=20 >> This assumes you have java 16, maven, and docker installed with = docker configured such that you don't need sudo. >>=20 >> I was setting up a maven archetype for it, but the = archetype:create-from-project goal doesn't seem to like the fluffy bunny = layout and I end up with no java source files in the archetype. >>=20 >> Ramsey >>=20 >>> On Aug 23, 2021, at 11:56 PM, Markus Ruggiero (rucotec) = wrote: >>>=20 >>> I am setting up a new virgin test environment >>>=20 >>> latest BigSur 11.5.2 >>> latest JDK from Oracle (16.0.2) >>> latest ant (1.10.11) >>> latest Eclipse for Java Developer (4.20.0) >>> WOlips from = https://jenkins.wocommunity.org/job/WOLips_master/lastSuccessfulBuild/arti= fact/temp/dist/ >>>=20 >>> Installed WO through WOInstaller.jar >>> - had to run it several times. Each time it failed with = unpacking after some more percentage has been processed. Eventually it = made it to 100% >>>=20 >>> Created WOLips.properties >>> Downloaded Wonder-Master (7.3-snapshot) >>>=20 >>> ant frameworks >>> - chokes on Profiling, just removed this framework -> success >>> ant frameworks.install >>> - ok >>>=20 >>> In Eclipse create my first WonderApplication, Eclipse workspace is = set to Java Compiler 1.8 compliance, no other changes or configs. >>>=20 >>> Run as WOApplication >>> CRASH! >>>=20 >>> Aug 23 16:37:28 BasicConcepts[49665] WARN NSLog - Application = project found: Will locate resources in = '/Users/ruggiero/Programming/eclipseWorkspace/BasicConcepts' rather than = '/Users/ruggiero/Programming/eclipseWorkspace/BasicConcepts/' . >>> Aug 23 16:37:28 BasicConcepts[49665] WARN = er.extensions.appserver.ERXResourceManager - Application project found: = Will locate resources in = '/Users/ruggiero/Programming/eclipseWorkspace/BasicConcepts' rather than = '/Users/ruggiero/Programming/eclipseWorkspace/BasicConcepts/'. >>> Aug 23 16:37:28 BasicConcepts[49665] WARN NSLog - A fatal = exception occurred: class com.webobjects.foundation.NSTimeZone (in = unnamed module @0x6c2c1385) cannot access class = sun.security.action.GetPropertyAction (in module java.base) because = module java.base does not export sun.security.action to unnamed module = @0x6c2c1385 >>> [2021-8-23 16:37:28 CEST]
java.lang.IllegalAccessError: class = com.webobjects.foundation.NSTimeZone (in unnamed module @0x6c2c1385) = cannot access class sun.security.action.GetPropertyAction (in module = java.base) because module java.base does not export sun.security.action = to unnamed module @0x6c2c1385 >>> at = com.webobjects.foundation.NSTimeZone.systemTimeZone(NSTimeZone.java:971) >>> at = com.webobjects.foundation.NSTimeZone.defaultTimeZone(NSTimeZone.java:818) >>> at = com.webobjects.foundation.NSTimestampFormatter.defaultFormatTimeZone(NSTim= estampFormatter.java:734) >>> at = com.webobjects.appserver.WOStatisticsStore.(WOStatisticsStore.java= :249) >>> at = com.webobjects.appserver.WOApplication.(WOApplication.java:853) >>> at = er.extensions.appserver.ajax.ERXAjaxApplication.(ERXAjaxApplication.= java:30) >>> at = er.extensions.appserver.ERXApplication.(ERXApplication.java:1129) >>> at your.app.Application.(Application.java:10) >>> at = java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(= Native Method) >>> at = java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(N= ativeConstructorAccessorImpl.java:78) >>> at = java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstan= ce(DelegatingConstructorAccessorImpl.java:45) >>> at = java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.= java:499) >>> at = java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:1= 28) >>> at = java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFac= tory.java:350) >>> at java.base/java.lang.Class.newInstance(Class.java:642) >>> at = com.webobjects.appserver.WOApplication.main(WOApplication.java:547) >>> at = er.extensions.appserver.ERXApplication.main(ERXApplication.java:890) >>> at your.app.Application.main(Application.java:7) >>>=20 >>> APPLICATION SHUTDOWN SEQUENCE COMPLETE >>>=20 >>> Anyone=E2=80=99s got an idea what=E2=80=99s wrong here? What am I = missing? Is this related to Java16? >>> Thanks a lot >>> ---markus--- >>>=20 >>>=20 >> ________________________________ >> Confidentiality Notice: This email, including all attachments and = replies thereto, are covered by the Electronic Communications Privacy = Act, 18 U.S.C. Sections 2510-2521 and are legally privileged. This = information is confidential, and intended only for the use of the = individuals or entities named above. If you are not the intended = recipient, you are hereby notified that any disclosure, copying, = distribution or the taking of any action in reliance on the contents of = this transmitted information is strictly prohibited. Please notify us if = you have received this transmission in error. Thank you. >> =09 >> ############################################################# >> 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 >=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