Issue:
Unable to start services like Foundation,Planning .
Description:
On viewing the logs in below location
E:\Oracle\Middleware\user_projects\domains\EPMServer\servers\FoundationServices0
You find below error .
Logs:
Caused By: oracle.security.jps.JpsRuntimeException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: End of stream reached before all 41559 expected bytes could be read. Only received 0 bytes before the end of the stream was reached
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:170)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:383)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1024)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:879)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Cause:
Corruption of cwallet.sso . One of the causes is disk space on the installed drive and temp space is full.
Solution:
1.Go to E:\Oracle\Middleware\user_projects\domains\EPMSystem\config\fmwconfig
2.Observe that the cwallet.sso is either 0kb or 1kb .
3.Rename it to cwallet.sso.bkup
4.Restart the services now.
Lateral Damage:
You may lose any non default keystores saved in the cwallet.sso
Unable to start services like Foundation,Planning .
Description:
On viewing the logs in below location
E:\Oracle\Middleware\user_projects\domains\EPMServer\servers\FoundationServices0
You find below error .
Logs:
Caused By: oracle.security.jps.JpsRuntimeException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: End of stream reached before all 41559 expected bytes could be read. Only received 0 bytes before the end of the stream was reached
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:170)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:383)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1024)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:879)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Cause:
Corruption of cwallet.sso . One of the causes is disk space on the installed drive and temp space is full.
Solution:
1.Go to E:\Oracle\Middleware\user_projects\domains\EPMSystem\config\fmwconfig
2.Observe that the cwallet.sso is either 0kb or 1kb .
3.Rename it to cwallet.sso.bkup
4.Restart the services now.
Lateral Damage:
You may lose any non default keystores saved in the cwallet.sso
3 comments:
Optionally you can copy the cwallet.sso file from your latest file system backup, this will ensure you will not loose any non-default entries.
Yes, in case you have file system backup available then preferred to restore from there.
You saved me today! Dios te bendiga.
Post a Comment