Issue Audit Messages Task Job Throws Warning IAM-0050001 java.lang.Exception: Audit handler failed
Error:-
Error:-
oracle.iam.platform.async.TaskExecutionException: java.lang.Exception:
Audit handler failed at com.thortech.xl.audit.engine.jms.XLAuditMessage.execute(XLAuditMessage.java:59)
at
oracle.iam.platform.async.impl.TaskExecutor$1.processWithoutResult(TaskExecutor.java:125) at
oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)at
oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)at
oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6) at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)at
oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
at oracle.iam.platform.async.impl.TaskExecutor.executeManagedTask(TaskExecutor.java:12)at
oracle.iam.platform.async.impl.TaskExecutor.execute(TaskExecutor.java:67) at
oracle.iam.platform.async.messaging.MessageReceiver.onMessage(MessageReceiver.java:68)at
sun.reflect.GeneratedMethodAccessor1059.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)at
com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)at
com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)at
com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)at
com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at
com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)at
com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)at
com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)at
com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)at
com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)at
com.sun.proxy.$Proxy446.onMessage(Unknown Source)at
weblogic.ejb.container.internal.MDListener.execute(MDListener.java:583) at
weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:486)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:388)at
weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4817)at
weblogic.jms.client.JMSSession.execute(JMSSession.java:4491)at
weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3945)at
weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)at
weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5337)at
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)at
weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)at
weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.Exception: Audit handler failed
... 34 more
Solution:-
Issue audit messages scheduled task should do the
"cleanup" job.
Its recommendation is to schedule "Issue Audit Messages
Task" to run every five minutes, with Max Records set to 200. Again, this
can be tuned per ones requirements.
1. Logon to OIM sysadmin console
2. Click on Schedulers
3. Search for Issue Audit Messages Task scheduler
4. In Job Information-->Retries change value to 5.
5. Click on Apply
6. Bring down all managed servers node by node
7. Take backup and delete tmp,cache and data folder
8. Restart servers error should go away
No comments:
Post a Comment