[
https://issues.jboss.org/browse/AS7-1158?page=com.atlassian.jira.plugin.s...
]
jaikiran pai commented on AS7-1158:
-----------------------------------
AS 7.0 only supports EJB3.1 lite features. EJB3.1 lite doesn't include timerservice
functionality. This will be implemented in 7.1 and is being tracked here 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
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