When Starting weblogic JPS-01055: Could not create credential store instance
Error:
JPS-01055: Could not create credential store instance. Reason oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: java.lang.ClassCastException:
Caused by: oracle.security.jps.service.policystore.PolicyStoreException: Can not connect DB with URL [jdbc:oracle:thin:@/<DBCS_INSTANCE_NAME>:<PORT>/<SID>.<NAME>.oraclecloud.internal]
Solution:
Find the file jps-config.xml that resides on $WEBLOGIC_DOMAIN_HOME/domain_name/config/fmwconfig and make sure the hostname is correct.
Below is the piece of code with hostname reference. Fix it and startup again.
<propertySet name="props.db.1">
<property name="jdbc.url" value="jdbc:oracle:thin:@catdbsrv:1521:FUNDB"/>
Also find other files using below command
grep "<pattern>" $DOMAIN_HOME/config/jdbc/*.xml | awk -F '>' '{print $2}' | awk -F '<' '{print $1}'
Post a Comment
Post a Comment