Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is it safe to remove jdk/jmods of open-jdk for a sandboxed-with-JDK Eclipse RCP application

User_KU9ZPJul 21 2022

Hi,

I have a RCP based MacOS application that uses open-jdk 11.0.1 “2018-10-16” to build/run the application.

Currently I am trying to notarize our application. Apple has flagged various issues mainly with the JDK. While I’m attempting to fix all of them, it seems the issues flagged in the jdk/jmods directory can be difficult to resolve. Apple wants us to code sign all binaries (.dylib files) inside the jmod modules.

From what I understand, looking at various articles about JMOD, they don’t have much role to play during application runtime? (I could be mistaken here, since my sources are other stackoverflow answers) and they are mainly used to create other custom JRE’s using JLink.

Now I have done some testing without the jdk/jmods directory and up till now I didn’t encounter any issue. But I'd like to be completely certain.

So, since my application is a sandboxed-with-JDK Eclipse RCP application, is it safe to get rid of the jdk/jmods directory completely? If not, what does it depend on and what would be the ideal litmus tests to determine whether my application is completely safe from jdk/jmods removal.

Comments

Hi Volker,

can you run the login page in debug mode (LEVEL9) to see what happens? I first thought this could be bug #14798940 but in that case the problem would have gone away after saving the authentication scheme.

Regards,
Christian
99770
Ho to do Level 9 Debug?
Hi Volker,

the app's URL will look a bit like this:

http://host:port/apex/f?p=app:page:session::NO::

Change NO to LEVEL9. Before 4.2, you could only say YES, which is level 4, or NO. LEVEL9 gives the most detailed output.

Regards,
Christian
99770
error:ORA-24247: network access denied by access control list (ACL), backtrace:ORA-06512: at "SYS.DBMS_LDAP_API_FFI", line 25 ORA-06512: at "SYS.DBMS_LDAP", line 48 ORA-06512: at "APEX_040200.WWV_FLOW_CUSTOM_AUTH_LDAP", line 45
Hi,

the post-installation steps described here

http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/otn_install.htm#BEHHJJIH

to configure the ACL for APEX_040200 seem to be missing.

Regards,
Christian
99770
Hi Christian,

many thanks to you. Now it works.
1 - 6

Post Details

Added on Jul 21 2022
0 comments
491 views