My Oracle Support Banner

Admin Server Fail to Start Error "JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException... Caused by: java.lang.RuntimeException: java.io.IOException: Permission denied (Doc ID 2733717.1)

Last updated on MARCH 03, 2023

Applies to:

Oracle Agile PLM Framework - Version 9.3.6.0 and later
Information in this document applies to any platform.

Symptoms

On Agile PLM 9.3.6 for Linux, the Admin Server fails to start and shows the following error in the nohup log :

 

<Dec 2, 2020 7:54:34,154 AM PST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

oracle.security.jps.JpsException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException
at oracle.security.jps.internal.config.OpssCommonStartup.preStart(OpssCommonStartup.java:423)
at oracle.security.jps.JpsStartup.preStart(JpsStartup.java:389)
at oracle.security.jps.wls.JpsBootStrapService.start(JpsBootStrapService.java:80)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:191)
at oracle.security.jps.internal.credstore.ssp.WalletCredentialStore.doInit(WalletCredentialStore.java:170)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.doInit(SspCredentialStore.java:141)
at oracle.security.jps.internal.credstore.ssp.WalletCredentialStore.start(WalletCredentialStore.java:1356)
at oracle.security.opss.internal.runtime.ServiceContextImpl.start(ServiceContextImpl.java:220)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.createContext(ServiceContextManagerImpl.java:615)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.initBootstrap(ServiceContextManagerImpl.java:174)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.initBootstrap(ServiceContextManagerImpl.java:154)
at oracle.security.jps.internal.config.OpssCommonStartup$3.run(OpssCommonStartup.java:404)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.config.OpssCommonStartup.preStart(OpssCommonStartup.java:357)
... 21 more
Caused by: java.io.IOException
at oracle.security.pki.OracleWallet.open(Unknown Source)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:179)
... 31 more
Caused by: java.lang.ExceptionInInitializerError
at oracle.security.pki.OracleFileSSOWalletImpl.a(Unknown Source)
... 33 more
Caused by: java.lang.RuntimeException: java.io.IOException: Permission denied
at oracle.security.pki.FileLocker.<clinit>(Unknown Source)
... 34 more
Caused by: java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(File.java:2024)
at java.io.File.createTempFile(File.java:2070)
... 35 more

>
<Dec 2, 2020 7:54:34,409 AM PST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>

 



Steps to Reproduce

The issue can be reproduced at will with the following steps:
1. Try to start the Agile Admin Server
2.The AdminServer will fail to start , throwing the above error in the startup console



Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.