[
https://issues.jboss.org/browse/WFLY-12547?page=com.atlassian.jira.plugin...
]
Cheng Fang updated WFLY-12547:
------------------------------
Description:
need to include timer id in {{timerWasCanceled}} and {{timerHasExpired}} message.
Currently the generic message does tell which time has expired or cancelled.
{code}
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)
...
{code}
Include timer id in timerHasExpired and timerWasCanceled
--------------------------------------------------------
Key: WFLY-12547
URL:
https://issues.jboss.org/browse/WFLY-12547
Project: WildFly
Issue Type: Enhancement
Components: EJB
Affects Versions: 18.0.0.Beta1
Reporter: Cheng Fang
Assignee: Cheng Fang
Priority: Major
need to include timer id in {{timerWasCanceled}} and {{timerHasExpired}} message.
Currently the generic message does tell which time has expired or cancelled.
{code}
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)
...
{code}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)