Friday, October 21, 2011

ORA-00600 weblogic.security.spi.ResourceCreationException

While starting the server for portal application in 10.3.2 version it throw ORA-00600 errors:

####<9-Oct-2011 12:38:18 PM PST> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1318354698189>
####<9-Oct-2011 12:38:18 PM PST> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1318354698191> , application=consoleapp, contextPath=/console, uri=/.
weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
        at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:173)
        at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(WLSPolicyDeploymentServiceWrapper.java:85)
        at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(AuthorizationManager.java:707)
        at weblogic.security.service.AuthorizationManager.deployPolicy(AuthorizationManager.java:511)
        at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
        at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
        at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
        at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1201)
        at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1132)
        at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:392)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
        at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
        at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
        at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
        at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
        at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
        at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
        at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:174)
        at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:90)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


Caused By: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:115)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:166)
        at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:281)
        at com.bea.common.security.internal.legacy.service.PolicyDeployerProviderImpl$V2Adapter$DeploymentHandlerImpl.deployPolicy(PolicyDeployerProviderImpl.java:84)
        at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:166)
        at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(WLSPolicyDeploymentServiceWrapper.java:85)
        at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(AuthorizationManager.java:708)
        at weblogic.security.service.AuthorizationManager.deployPolicy(AuthorizationManager.java:512)
        at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
        at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
        at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
        at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1201)
        at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1132)
        at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:392)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
        at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
        at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
        at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
        at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
        at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
        at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
        at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:174)
        at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:90)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


Caused By: weblogic.management.utils.CreateException:
        at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:241)
        at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:108)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:168)
        at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:282)
        at com.bea.common.security.internal.legacy.service.PolicyDeployerProviderImpl$V2Adapter$DeploymentHandlerImpl.deployPolicy(PolicyDeployerProviderImpl.java:85)
        at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:166)
        at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(WLSPolicyDeploymentServiceWrapper.java:85)
        at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(AuthorizationManager.java:708)
        at weblogic.security.service.AuthorizationManager.deployPolicy(AuthorizationManager.java:512)
        at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
        at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
        at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
        at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1201)
        at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1132)
        at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:392)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
        at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
        at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
        at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
        at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
        at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
        at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
        at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:174)
        at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:90)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


Caused By: com.bea.security.xacml.PolicyStoreException: kodo.jdo.DataStoreException: ORA-00600: internal error code, arguments: [qsmoAlterPlans:2], [], [], [], [], [], [], [], [], [], [], []
 {prepstmnt 529911478 SELECT t0.DOMN, t0.REALMN, t0.TYPEN, t0.CN, t0.XVER, t0.MTS, t0.CTS, t0.WCN, t0.WCI, t0.WXF, t0.XD, t0.XS FROM BEAXACMLAP t0 WHERE (t0.DOMN = ? AND t0.REALMN = ? AND t0.TYPEN = ? AND t0.CN = ? AND t0.XVER = ?) [params=(String) ptl03_admin, (String) myrealm, (String) Policies, (String) urn:bea:xacml:2.0:entitlement:resource:type@E@Furl@G@M@Oapplication@..., (String) 1.0] [reused=0]} [code=600, state=60000]
        at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:673)
        at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:613)
        at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:222)
        at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:166)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:110)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:168)
        at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:282)
        at com.bea.common.security.internal.legacy.service.PolicyDeployerProviderImpl$V2Adapter$DeploymentHandlerImpl.deployPolicy(PolicyDeployerProviderImpl.java:85)
        at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:166)
        at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(WLSPolicyDeploymentServiceWrapper.java:85)
        at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(AuthorizationManager.java:708)
        at weblogic.security.service.AuthorizationManager.deployPolicy(AuthorizationManager.java:512)
        at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
        at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
        at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
        at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1201)
        at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1132)
        at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:392)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
        at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
        at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
        at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
        at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
        at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
        at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
        at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:174)
        at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:90)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


Caused By: kodo.jdo.DataStoreException: ORA-00600: internal error code, arguments: [qsmoAlterPlans:2], [], [], [], [], [], [], [], [], [], [], []
 {prepstmnt 529911478 SELECT t0.DOMN, t0.REALMN, t0.TYPEN, t0.CN, t0.XVER, t0.MTS, t0.CTS, t0.WCN, t0.WCI, t0.WXF, t0.XD, t0.XS FROM BEAXACMLAP t0 WHERE (t0.DOMN = ? AND t0.REALMN = ? AND t0.TYPEN = ? AND t0.CN = ? AND t0.XVER = ?) [params=(String) ptl03_admin, (String) myrealm, (String) Policies, (String) urn:bea:xacml:2.0:entitlement:resource:type@E@Furl@G@M@Oapplication@..., (String) 1.0] [reused=0]} [code=600, state=60000]
        at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4207)
        at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4171)
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102)
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:88)
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64)
        at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException(SelectResultObjectProvider.java:155)
        at org.apache.openjpa.lib.rop.EagerResultList.(EagerResultList.java:40)
        at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1222)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:989)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:847)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:778)
        at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
        at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:525)
        at kodo.jdo.QueryImpl.executeWithMap(QueryImpl.java:133)
        at com.bea.common.security.store.data.TopId.getObject(TopId.java:129)
        at com.bea.security.providers.xacml.store.BasePolicyStore.getObjectById(BasePolicyStore.java:260)
        at com.bea.security.providers.xacml.store.BasePolicyStore.getObjectById(BasePolicyStore.java:255)
        at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:666)
        at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:612)
        at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:222)
        at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:108)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:166)
        at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:281)
        at com.bea.common.security.internal.legacy.service.PolicyDeployerProviderImpl$V2Adapter$DeploymentHandlerImpl.deployPolicy(PolicyDeployerProviderImpl.java:84)
        at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:166)
        at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(WLSPolicyDeploymentServiceWrapper.java:85)
        at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(AuthorizationManager.java:707)
        at weblogic.security.service.AuthorizationManager.deployPolicy(AuthorizationManager.java:511)
        at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
        at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
        at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
        at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1199)
        at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1131)
        at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
        at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
        at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)


Caused By: org.apache.openjpa.lib.jdbc.ReportingSQLException: ORA-00600: internal error code, arguments: [qsmoAlterPlans:2], [], [], [], [], [], [], [], [], [], [], []
 {prepstmnt 529911478 SELECT t0.DOMN, t0.REALMN, t0.TYPEN, t0.CN, t0.XVER, t0.MTS, t0.CTS, t0.WCN, t0.WCI, t0.WXF, t0.XD, t0.XS FROM BEAXACMLAP t0 WHERE (t0.DOMN = ? AND t0.REALMN = ? AND t0.TYPEN = ? AND t0.CN = ? AND t0.XVER = ?) [params=(String) ptl03_admin, (String) myrealm, (String) Policies, (String) urn:bea:xacml:2.0:entitlement:resource:type@E@Furl@G@M@Oapplication@..., (String) 1.0] [reused=0]} [code=600, state=60000]
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$700(LoggingConnectionDecorator.java:57)
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeQuery(LoggingConnectionDecorator.java:852)
        at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:262)
        at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeQuery(JDBCStoreManager.java:1407)
        at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:252)
        at org.apache.openjpa.jdbc.sql.SelectImpl.executeQuery(SelectImpl.java:452)
        at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:363)
        at kodo.jdbc.sql.KodoSelectImpl.execute(KodoSelectImpl.java:28)
        at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:331)
        at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(LogicalUnion.java:407)
        at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:218)
        at kodo.jdbc.sql.TrueUnion.execute(TrueUnion.java:169)
        at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:208)
        at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:94)
        at org.apache.openjpa.lib.rop.EagerResultList.(EagerResultList.java:34)
        at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1222)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:989)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:847)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:778)
        at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
        at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:525)
        at kodo.jdo.QueryImpl.executeWithMap(QueryImpl.java:133)
        at com.bea.common.security.store.data.TopId.getObject(TopId.java:129)
        at com.bea.security.providers.xacml.store.BasePolicyStore.getObjectById(BasePolicyStore.java:260)
        at com.bea.security.providers.xacml.store.BasePolicyStore.getObjectById(BasePolicyStore.java:255)
        at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:666)
        at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:612)
        at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:222)
        at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:108)
        at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:166)
        at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:281)
        at com.bea.common.security.internal.legacy.service.PolicyDeployerProviderImpl$V2Adapter$DeploymentHandlerImpl.deployPolicy(PolicyDeployerProviderImpl.java:84)
        at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:166)
        at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(WLSPolicyDeploymentServiceWrapper.java:85)
        at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(AuthorizationManager.java:707)
        at weblogic.security.service.AuthorizationManager.deployPolicy(AuthorizationManager.java:511)
        at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
        at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
        at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
        at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1199)
        at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1131)
        at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)

Possible solution:
The oracle driver shipped with Weblogic Portal 10.3.2 is causing this problem. Updating the driver to latest version as of writing this, fixes this problem.
Version shipped with Weblogic Portal 10.3.2 is 11.1.0.7.0
Version tested to fix this problem is 11.2.0.3.0 (or 11.2.0.2.0, not tested)

A small java program can be written to reproduce this ORA-00600 Error as well.

No comments: