My Oracle Support Banner

Agile Application Server Cannot Be Started After Resetting RCU Account Password with Error BEA-090870 'The realm "AgileRealm" failed to be loaded' and ORA-01017: invalid username/password in Application Server Log (Doc ID 2886420.1)

Last updated on JANUARY 24, 2024

Applies to:

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

Symptoms

Agile Application server cannot be started after resetting RCU schema and following the instruction in Doc ID 2236802.1.
Agile Application server fails to start with below error in Application Server log:

Error

<Jul 20, 2022 2:24:36,828 AM PDT> <Error> <Security> <BEA-090870> <The realm "AgileRealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:1445923 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory".  See the nested exception for details..
weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:1445923 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory".  See the nested exception for details.
       at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:341)
       at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:218)
       at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:2017)
       at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:499)
       at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:846)
       Truncated. see log file for complete stacktrace
Caused By: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:1445923 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory".  See the nested exception for details.
       at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)
       at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
       at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
       at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
       at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:47)
       Truncated. see log file for complete stacktrace
Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:1445923 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory".  See the nested exception for details.
       at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)
       at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:356)
       at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:147)
       at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:99)
       at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:78)
       Truncated. see log file for complete stacktrace
Caused By: java.lang.RuntimeException: There were errors initializing your configuration: <openjpa-1.1.1-SNAPSHOT-r422266:1445923 fatal store error> org.apache.openjpa.util.StoreException: ORA-01017: invalid username/password; logon denied


Steps

The issue can be reproduced at will with the following steps:

  1. Follow the instruction described in Note:2236802.1 to reset RCU schema passwords.
  2. Restart Agile Application Server.
  3. Agile Application Server fails to start up.
  4. Check Agile Application Server log, and See the error generated. For Agile Application Server log location, refer to Note:1456651.1

Changes

Implemented Single Sign-On (SSO) with a SAML 2.0 Identity Provider (i.e. okta) and RDMS Secure Store is configured in WebLogic admin console.

RDMS Secure Store configuration is suggested through Note:2708094.1 to avoid the issue Agile Application Server cache deletion removing SAML 2.0 configuration.

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
Changes
Cause
Solution
References


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