[
https://issues.jboss.org/browse/AS7-1158?page=com.atlassian.jira.plugin.s...
]
jaikiran pai closed AS7-1158.
-----------------------------
Assignee: jaikiran pai
Resolution: Deferred
Closing this issue. Timerservice implementation will be tracked in AS7-474
EJB-Timer Implementation is missing / not integrated
----------------------------------------------------
Key: AS7-1158
URL:
https://issues.jboss.org/browse/AS7-1158
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.0.0.CR1
Reporter: Sebastian Jancke
Assignee: jaikiran pai
Labels: ejb3, timer
EJB-Component is missing an integrated EJB-Timer-Implementation.
Creating a time from within an EJB gives the following stacktrace:
...
{code}
Caused by: java.lang.UnsupportedOperationException: This is a temporary non-functional
timerservice. No operations are allowed on it.
at
org.jboss.as.ejb3.component.EJBComponent$NonFunctionalTimerService.<init>(EJBComponent.java:337)
at
org.jboss.as.ejb3.component.EJBComponent$NonFunctionalTimerService.<init>(EJBComponent.java:335)
at
org.jboss.as.ejb3.component.EJBComponent.getTimerService(EJBComponent.java:200)
at
org.jboss.as.ejb3.component.TimerServiceBindingSource$TimerServiceManagedReference.getInstance(TimerServiceBindingSource.java:81)
at
org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptor.java:64)
{code}
The problem is a missing piece in the EJBComponent.java(line 198):
{code}
public TimerService getTimerService() throws IllegalStateException {
// TODO: Temporary, till we have a working timerservice integrated
return new NonFunctionalTimerService();
}
{code}
https://github.com/jbossas/jboss-as/blob/master/ejb3/src/main/java/org/jb...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira