OAM11gR1: After Applying BP04, Startup Logs Report java.lang.NoClassDefFoundError: oracle/security/audit/config/xml/XmlAuditor (Doc ID 1585292.1)

Last updated on JUNE 09, 2017

Applies to:

Oracle Access Manager - Version 11.1.1.5.0 to 11.1.1.5.0 [Release 11g]
Information in this document applies to any platform.

Goal

 After applying OES BP04 patch to IDM suit env, all weblogic server instances (Admin,oam_server1, oim_server1, soa_server1 etc) report below errors during startup

 

####<Sep 15, 2013 2:41:40 PM GMT+00:00> <Error> <Deployer> <imhost.vm.oracle.com> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1379256100664> <BEA-149205> <Failed to initialize the application 'em' due to error java.lang.NoClassDefFoundError: oracle/security/audit/config/xml/XmlAuditor.
java.lang.NoClassDefFoundError: oracle/security/audit/config/xml/XmlAuditor
        at oracle.security.jps.internal.audit.AuditServiceImpl$Auditor.<init>(AuditServiceImpl.java:205)
        at oracle.security.jps.internal.audit.AuditServiceImpl.getAuditor(AuditServiceImpl.java:164)
        at oracle.security.jps.util.AuthZAuditUtil.initAuditor(AuthZAuditUtil.java:173)
        at oracle.security.jps.util.AuthZAuditUtil.isEventLoggable(AuthZAuditUtil.java:128)
        at oracle.security.jps.util.AuthZAuditUtil.auditAuthZ(AuthZAuditUtil.java:400)
        at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:540)
        at oracle.security.jps.internal.policystore.PolicyUtil.checkPolicyStorePermission(PolicyUtil.java:1147)
        at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.getApplicationPolicy(XmlPolicyStore.java:632)
        at oracle.security.jps.internal.config.deploy.DeployUtil$2.run(DeployUtil.java:86)
        at oracle.security.jps.internal.config.deploy.DeployUtil$2.run(DeployUtil.java:83)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.internal.config.deploy.DeployUtil.checkAppPolicy(DeployUtil.java:83)
        at oracle.security.jps.wls.listeners.WlsCodebasePolicyHandler.migrateDeploymentPolicies(WlsCodebasePolicyHandler.java:49)
        at oracle.security.jps.internal.config.deploy.PolicyDeployment.handle(PolicyDeployment.java:142)
        at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.callHandler(JpsApplicationLifecycleListener.java:125)
        at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.handle(JpsApplicationLifecycleListener.java:106)
        at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.preStart(JpsApplicationLifecycleListener.java:93)
        at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
        at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
        at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:283)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
        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:191)
        at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
        at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
        at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
        at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
        at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
        at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.NoClassDefFoundError: oracle/security/audit/config/xml/XmlAuditor


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms