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

Include timer id in timerHasExpired and timerWasCanceled

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 18.0.0.Beta1
    • Fix Version/s: 19.0.0.Beta1
    • Component/s: EJB
    • Labels:
      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)
      ...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                cfang Cheng Fang
                Reporter:
                cfang Cheng Fang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: