Monday, August 20, 2018

Starting up Weblogic with error JPS-01055


Symptoms: When starting the Weblogic it presents error such as this:

Error message: JPS-01055: Could not create credential store instance. Reason oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: java.lang.ClassCastException: oracle.jdbc.xa.client.OracleXADataSource cannot be cast to java.sql.Driver (...)

Cause: This message error comes from many reasons, but the one given in this example is related to the hostname  on the configuration files.

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:CATDB"/>


Source: Oracle Support Doc ID 2213930.1

No comments:

Post a Comment

Configure the Oracle DB Access Control List to avoid error like ORA-24247: network access denied

Symptoms:  You try to make external connections from the Oracle Database and receive erros like ORA-24247: network access denied by access c...