4 Replies Latest reply: Mar 7, 2014 10:25 AM by Jaideep Ganguli RSS

    BPM Notification Emails, timeout error.

    Muhammed Soyer

      Hi,

      We use actionable emails and it doesn't work when the task has a big/slow data set.  We already increased the timeout settings for JTA and BPMNDeliveryBean, BPMNDispatcherBean, BPMNEngineBean, BPMNFinderBean, BPMNSensorValuesBean, BPMNServerManagerBean beans. It seems like there is some other setting for notification process. I see 2 beans(NotificationSender,NotificationServiceBean) for notifications but couldn't be sure.

       

      Here is the exception for the failed notification emails. We user 11.1.1.7 Bpm Suite, any idea ?

       

      <.> Error while sending notification.

      Supplemental Detail Error while sending notification to email.

      Check the underlying exception and fix it.

      ORABPEL-31015

       

       

      Error while sending notification.

      Error while sending notification to email.

      Check the underlying exception and fix it.

       

       

      at oracle.bpel.services.notification.NotificationService.sendEmailNotification(NotificationService.java:475)

      at oracle.bpel.services.workflow.task.notification.TaskNotifications.sendEmailNotification(TaskNotifications.java:1024)

      at oracle.bpel.services.workflow.task.notification.TaskNotifications.sendPreferredNotification(TaskNotifications.java:2291)

      at oracle.bpel.services.workflow.task.notification.TaskNotifications.sendNotificationToUser(TaskNotifications.java:2194)

      at oracle.bpel.services.workflow.task.notification.TaskNotifications.sendNotificationToUser(TaskNotifications.java:2150)

      at oracle.bpel.services.workflow.task.notification.MDBTaskNotificationConsumer.deliverNotification(MDBTaskNotificationConsumer.java:346)

      at oracle.bpel.services.workflow.task.notification.MDBTaskNotificationConsumer.onMessage(MDBTaskNotificationConsumer.java:211)

      at sun.reflect.GeneratedMethodAccessor4975.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      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.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:103)

      at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:113)

      at oracle.security.jps.util.JpsSubject.doAs(JpsSubject.java:213)

      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:454)

      at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:100)

      at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:154)

      at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:113)

      at sun.reflect.GeneratedMethodAccessor1214.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)

      at com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:68)

      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

      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.$Proxy458.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:4659)

      at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)

      at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)

      at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)

      at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)

      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)

      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Caused by: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds

      BEA1-00DB335E3B78113CD76C

      at weblogic.ejb.container.internal.EJBRuntimeUtils.throwTransactionRolledbackLocal(EJBRuntimeUtils.java:240)

      at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:901)

      at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:818)

      at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:262)

      at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:188)

      at weblogic.ejb.container.internal.StatelessLocalObject.__WL_preInvoke(StatelessLocalObject.java:52)

      at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:23)

      at oracle.bpel.services.notification.ejb.impl.NotificationServiceBean_u4ufdh_ELOImpl.sendEmailNotification(Unknown Source)

      at oracle.bpel.services.notification.NotificationService.sendEmailNotification(NotificationService.java:471)

      ... 43 more

      Caused by: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds

      BEA1-00DB335E3B78113CD76C

      at weblogic.ejb.container.internal.EJBRuntimeUtils.throwTransactionRolledbackLocal(EJBRuntimeUtils.java:240)

      at weblogic.ejb.container.internal.EJBRuntimeUtils.throwWrappedTransactionRolledbackLocal(EJBRuntimeUtils.java:262)

      at weblogic.ejb.container.manager.BaseEJBManager.handleSystemException(BaseEJBManager.java:413)

      at weblogic.ejb.container.manager.BaseEJBManager.setupTxListener(BaseEJBManager.java:338)

      at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:145)

      at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:241)

      ... 48 more

      Caused by: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds

      BEA1-00DB335E3B78113CD76C

      at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)

      at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)

      at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)

      at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)

      at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)

      at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)

      ... 3 more