java.lang.IllegalStateException

SecurityContext: Domain Name: bi JDBC URL: opss-audit-DBDS:jdbc:oracle:thin:@//lxdv2mis:1521/OBIEE12C JDBC URL: opss-data-source:jdbc:oracle:thin:@//lxdv2mis:1521/OBIEE12C JNDI Name: opss-audit-DBDS:jdbc/AuditAppendDataSource JNDI Name: opss-data-source:jdbc/OpssDataSource Driver Name: opss-audit-DBDS:oracle.jdbc.OracleDriver Driver Name: opss-data-source:oracle.jdbc.OracleDriver Persistence Type: DATABASE Platform: WLS Scratch Dir: scratch Reconfig Domain: false Shared Secret Store: null Extension: true DisableManagementOperations: falseJDBC Properties: user:DEV_IAU_APPEND username:DEV_IAU_APPENDJDBC Properties: user:DEV_OPSS username:DEV_OPSS

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6720

  • via Oracle Community by 2964514, 9 months ago
    -source:jdbc/OpssDataSource Driver Name: opss-audit-DBDS:oracle.jdbc.OracleDriver Driver Name: opss-data-source:oracle.jdbc.OracleDriver Persistence Type: DATABASE Platform: WLS Scratch Dir: scratch Reconfig Domain: false Shared Secret Store: null
  • via Oracle Community by ali_nizam, 11 months ago
    SecurityContext: wlst > Domain Name: DefaultDomain wlst > Persistence Type: FILE wlst > Platform: WLS wlst > Scratch Dir: scratch wlst > Reconfig Domain: false wlst > Shared Secret Store: null wlst > Extension: true wlst > DisableManagementOperations: false
  • via Stack Overflow by Peter Penzov
    , 1 month ago
    Unable to look up javax.sql.DataSource with jndi name 'jdbc/sqliteDB'.
  • Stack trace

    • java.lang.IllegalStateException: SecurityContext: Domain Name: bi JDBC URL: opss-audit-DBDS:jdbc:oracle:thin:@//lxdv2mis:1521/OBIEE12C JDBC URL: opss-data-source:jdbc:oracle:thin:@//lxdv2mis:1521/OBIEE12C JNDI Name: opss-audit-DBDS:jdbc/AuditAppendDataSource JNDI Name: opss-data-source:jdbc/OpssDataSource Driver Name: opss-audit-DBDS:oracle.jdbc.OracleDriver Driver Name: opss-data-source:oracle.jdbc.OracleDriver Persistence Type: DATABASE Platform: WLS Scratch Dir: scratch Reconfig Domain: false Shared Secret Store: null Extension: true DisableManagementOperations: falseJDBC Properties: user:DEV_IAU_APPEND username:DEV_IAU_APPENDJDBC Properties: user:DEV_OPSS username:DEV_OPSS at com.oracle.cie.domain.TemplateImporter.run(TemplateImporter.java:351) at java.lang.Thread.run(Thread.java:745) Caused by: com.oracle.cie.domain.security.external.ConfigSecurityException: oracle.security.opss.tools.lifecycle.LifecycleException: Error during configuring DB security store. Exception oracle.security.opss.tools.lifecycle.LifecycleException: JPS-04022: Cannot create application policy context "opssSecurityStore".. at oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration.initializeSubsystem(OpssSecurityConfiguration.java:169) at com.oracle.cie.domain.TemplateImporter.run(TemplateImporter.java:348) ... 1 more Caused by: oracle.security.opss.tools.lifecycle.LifecycleException: Error during configuring DB security store. Exception oracle.security.opss.tools.lifecycle.LifecycleException: JPS-04022: Cannot create application policy context "opssSecurityStore".. at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.configureDBSecurityStore(OpssDomainConfigImpl.java:465) at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.configureSubsystem(OpssDomainConfigImpl.java:422) at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.initializeSubsystem(OpssDomainConfigImpl.java:206) at oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration.initializeSubsystem(OpssSecurityConfiguration.java:166) ... 2 more Caused by: oracle.security.opss.tools.lifecycle.LifecycleException: JPS-04022: Cannot create application policy context "opssSecurityStore". at oracle.security.opss.tools.lifecycle.provision.OpssProvisionTool.addServiceContainer(OpssProvisionTool.java:485) at oracle.security.opss.tools.lifecycle.provision.OpssProvisionTool.configureService(OpssProvisionTool.java:327) at oracle.security.opss.tools.lifecycle.provision.OpssProvisionTool.createServices(OpssProvisionTool.java:177) at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.configureDBSecurityStore(OpssDomainConfigImpl.java:457) ... 5 more Caused by: oracle.security.jps.JpsException: JPS-04022: Cannot create application policy context "opssSecurityStore". at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.createSeedSystemAdminPrivileges(JpsDbBootstrapImpl.java:1210) at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.createJpsPolicyStoreInLdap(JpsDbBootstrapImpl.java:414) at oracle.security.jps.internal.config.ldap.LdapPolicyStoreServiceConfigurator.addServiceStoreBase(LdapPolicyStoreServiceConfigurator.java:238) at oracle.security.opss.tools.lifecycle.provision.OpssProvisionTool.addServiceContainer(OpssProvisionTool.java:480) ... 8 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.createSeedSystemAdminPrivileges(JpsDbBootstrapImpl.java:1184) ... 11 more Caused by: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-00027: There was an internal error: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-01000: maximum open cursors exceeded ORA-00604: error occurred at recursive SQL level 1 ORA-01000: maximum open cursors exceeded at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.handleDatabaseException(JpsDBDataManager.java:2146) at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.processJPAException(JpsDBDataManager.java:2629) at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.createEntry(JpsDBDataManager.java:2550) at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.createJpsPolicyObject(JpsDBDataManager.java:2459) at oracle.security.jps.internal.policystore.ldap.GranteeManagerImpl.createGranteeInTransaction(GranteeManagerImpl.java:735) at oracle.security.jps.internal.policystore.entitymanager.impl.TargetManagerImpl.prepareGranteeEntryForAndSemantic(TargetManagerImpl.java:4969) at oracle.security.jps.internal.policystore.entitymanager.impl.TargetManagerImpl.prepareGranteeEntriesForOrSemantic(TargetManagerImpl.java:5007) at oracle.security.jps.internal.policystore.entitymanager.impl.PolicyManagerImpl.createPolicyInTransaction(PolicyManagerImpl.java:6022) at oracle.security.jps.internal.policystore.entitymanager.impl.AdminManagerImpl._createInitialPoliciesOnMetaData(AdminManagerImpl.java:1675) at oracle.security.jps.internal.policystore.entitymanager.impl.AdminManagerImpl.createInitialPoliciesOnMetaData(AdminManagerImpl.java:2248) at oracle.security.jps.internal.policystore.entitymanager.impl.ApplicationManagerImpl.createSystem_AdminPolicyPolicy(ApplicationManagerImpl.java:1419) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago