Search found 9 matches

by danmoser
31 Dec 2024, 00:18
Forum: Public Forums
Topic: access denied "java.lang.RuntimePermission" getenv
Replies: 6
Views: 27957

Re: access denied "java.lang.RuntimePermission" getenv

A new finding: the java.lang.RuntimePermission issue does not happen in the 1.8.0_152 JVM. Thus, it may be related to a security patch.
by danmoser
27 Dec 2024, 11:58
Forum: Public Forums
Topic: access denied "java.lang.RuntimePermission" getenv
Replies: 6
Views: 27957

Re: access denied "java.lang.RuntimePermission" getenv

Indeed, it's strange... Answering your questions:

JRE running the app: azul_1.8.0.372_x64
env variable: it's a user variable. Basically it checks if the variable is defined and it uses the ENV value if it exist. Otherwise a hard-coded one.
OWS version: 1.10.1
Installation: OWS was installed ...
by danmoser
27 Dec 2024, 01:09
Forum: Public Forums
Topic: access denied "java.lang.RuntimePermission" getenv
Replies: 6
Views: 27957

Re: access denied "java.lang.RuntimePermission" getenv

Thank You @Janak Mulani!

1) ``<security> <all-permissions/> </security>`` is in my JNLP but OpenWebStart refuses to execute the app with the ``System.getenv(..)`` error...

2) However addin ``permission java.lang.RuntimePermission "getenv.*", "read";`` to the file ``java.policy`` made the option ...
by danmoser
23 Dec 2024, 19:40
Forum: Public Forums
Topic: access denied "java.lang.RuntimePermission" getenv
Replies: 6
Views: 27957

Re: access denied "java.lang.RuntimePermission" getenv

PS: the same Java8 application works fine with Oracle's WebStart.
by danmoser
23 Dec 2024, 19:32
Forum: Public Forums
Topic: access denied "java.lang.RuntimePermission" getenv
Replies: 6
Views: 27957

access denied "java.lang.RuntimePermission" getenv

Hi!
I have a signed application with valid certificates but I'm getting the error below:

Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "getenv.*")

I added the following to the JNLP file, with no effect:

<security>
<permission name="java.lang ...
by danmoser
11 Dec 2024, 20:20
Forum: Public Forums
Topic: everything working even with expired code signing cert
Replies: 3
Views: 41024

Re: everything working even with expired code signing cert

@gkatz I'm also interested in this issue. I've executed an app signed with expired cert and that's what happened:

- If the certificate is unknown to the User/System, a "Security Warning" window will be displayed asking the user to Run the app w/ the option "Always trust this publisher". If that's ...
by danmoser
15 Mar 2023, 21:48
Forum: Public Forums
Topic: FilePermission issue with OWS and RHEL8
Replies: 4
Views: 25544

Re: FilePermission issue with OWS and RHEL8

I don't know exactly what was causing this problem, but I found a way to solve it. As we can see in the error message, and it was related to log4j.

I was using log4j 2.17 but still with log4j 1.x syntax to write the logs. I needed to update the syntax to log4j 2.x , and it worked just fine, both in ...
by danmoser
10 Mar 2023, 17:26
Forum: Public Forums
Topic: FilePermission issue with OWS and RHEL8
Replies: 4
Views: 25544

Re: FilePermission issue with OWS and RHEL8

Hi Janak! I get the errors when starting the application in Linux.

This is what I get in the stderr :

WARNING: package javax.jnlp not in java.desktop
[myuser][ITW-CORE][2023-03-10 08:48:26.431 MST][WARN ][net.adoptopenjdk.icedteaweb.manifest.ManifestAttributesChecker][My Tool#428b8743] This ...
by danmoser
09 Mar 2023, 16:33
Forum: Public Forums
Topic: FilePermission issue with OWS and RHEL8
Replies: 4
Views: 25544

FilePermission issue with OWS and RHEL8

I'm migrating some self-signed WebStart (WS) applications from Oracle's Java 8 to OpenJDK11+OpenWebStart. However I'm getting strange "java.io.FilePermission" errors after the migration. In other words, when launching the application's JNLP with Oracle's WS it works fine but with OpenWebStart that ...