Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12547

Include timer id in timerHasExpired and timerWasCanceled

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 19.0.0.Beta1, 19.0.0.Final
    • 18.0.0.Beta1
    • EJB
    • None

    Description

      need to include timer id in timerWasCanceled and timerHasExpired message. Currently the generic message does not tell which time has expired or cancelled.

      javax.ejb.NoSuchObjectLocalException: WFLYEJB0330: Timer has expired
      	at org.jboss.as.ejb3.timerservice.TimerImpl.assertTimerState(TimerImpl.java:476) [wildfly-ejb3-18.0.0.Final-SNAPSHOT.jar:18.0.0.Final-SNAPSHOT]
      	at org.jboss.as.ejb3.timerservice.TimerServiceImpl.cancelTimer(TimerServiceImpl.java:636) [wildfly-ejb3-18.0.0.Final-SNAPSHOT.jar:18.0.0.Final-SNAPSHOT]
      	at org.jboss.as.ejb3.timerservice.TimerImpl.cancel(TimerImpl.java:164) [wildfly-ejb3-18.0.0.Final-SNAPSHOT.jar:18.0.0.Final-SNAPSHOT]
      	at com.sun.ts.tests.ejb30.timer.common.TimerBeanBaseWithoutTimeOutMethod.cancelTimer(TimerBeanBaseWithoutTimeOutMethod.java:95) [classes:]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_191]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_191]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_191]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_191]
      	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
      	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
      ...
      

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: