OPSS 11g: Module that updates JPS Credential Store (cwallet.sso) And Sfter Enabling The Parameter -Djava.security.debug=jpspolicy" Fails with Log Error: java.lang.StackOverflowError (Doc ID 1999728.1)

Last updated on APRIL 29, 2015

Applies to:

Oracle Platform Security for Java - Version All and later
Information in this document applies to any platform.

Symptoms

Oracle Platform Security Services (OPSS) / Java Platform Security (JPS) 11g.

Using a small module that can update JPS credential store (cwallet.sso).

Granted all required permissions in system-jazn-data.xml.

Also verified the /bootstrap/cwallet.sso and /fmwconfig/cwallet.sso files are owned by the same oracle user/owner and have read/write permissions, and same for all pki files inside /tmp (reference <Document 1682218.1>).

However, it is still unable to update the wallet and returns the exception in the log after enabling the parameter "-Djava.security.debug=jpspolicy":

####<Apr 10, 2015 9:51:24 AM CDT> <Error> <HTTP> <myhost> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <483d9b08d5eecb14:50f41caa:14ca3cb89f8:-8000-0000000000000015> <1428677484585> <BEA-101017> <[ServletContext@1941270959[app:WleCSFConfigurator module:WleCSFConfigurator path:/WleCSFConfigurator spec-version:2.5]] Root cause of ServletException.
java.lang.StackOverflowError
at java.security.AccessController.doPrivileged(Native Method)
at java.io.FilePermission.init(FilePermission.java:209)
at java.io.FilePermission.<init>(FilePermission.java:285)
at sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:225)
at oracle.security.jps.internal.policystore.compat.PolicyFile.canonicalizeCodebase(PolicyFile.java:1734)
at oracle.security.jps.internal.policystore.compat.PolicyFile.access$600(PolicyFile.java:261)
at oracle.security.jps.internal.policystore.compat.PolicyFile$4.run(PolicyFile.java:1237)
at oracle.security.jps.internal.policystore.compat.PolicyFile$4.run(PolicyFile.java:1235)
at java.security.AccessController.doPrivileged(Native Method)

...<etc>..

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms