Friday, September 20, 2013

IDAM 11.1.2 Configuration Weblogic Startup Issue

When starting Weblogic for the first time on an IDAM 11.1.2 setup you may encounter the following message.

[oracle@fmwserver001 bin]$ ./startWebLogic.sh

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Info: Data source is: opss-DBDS
Error: Diagnostics data was not saved to the credential store.
Error: Validate operation has failed.
Need to do the security configuration first!
[oracle@fmwserver001 bin]$


So the fix isConfigure the Security Store
[oracle@fmwserver001 ~]$ /home/oracle/middleware/oracle_common/common/bin/wlst.sh /home/oracle/middleware/Oracle_IDM1/common/tools/configureSecurityStore.py -d /home/oracle/middleware/user_projects/domains/idam_domain -c IAM -p xxxxxxx-m create

[oracle.security.jps.internal.config.db.DbAuditStoreServiceConfigurator]  checkServiceSetup - Audit store re-association not supported.
persist to output: /home/oracle/middleware/user_projects/domains/idam_domain/config/fmwconfig - done
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
Using default context in /home/oracle/middleware/user_projects/domains/idam_domain/config/fmwconfig/jps-config-migration.xml file for credential store.
Credential store location : jdbc:oracle:thin:@fmwdb01.learnoracle.com:1521/FMWDb
Credential with map Oracle-IAM-Security-Store-Diagnostics key Test-Cred stored successfully!


        Credential for map Oracle-IAM-Security-Store-Diagnostics and key Test-Cred is:
                GenericCredential
Info: diagnostic credential created in the credential store.
Info:  Create operation has completed successfully.
[oracle@fmwserver001 ~]$ 

Then it can be Validated using the below command

[oracle@fmwserver001 ~]$ /home/oracle/middleware/oracle_common/common/bin/wlst.sh /home/oracle/middleware/Oracle_IDM1/common/tools/configureSecurityStore.py -d /home/oracle/middleware/user_projects/domains/idam_domain -m validate

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Info: Data source is: opss-DBDS
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
Info: Diagnostics data was saved to the credential store.
Info: Validate operation has completed successfully.
[oracle@fmwserver001 ~]$


After the validation starting weblogic will be successful.

Popular Posts