[jboss-jira] [JBoss JIRA] Commented: (AS7-1158) EJB-Timer Implementation is missing / not integrated
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Thu Jun 30 06:24:23 EDT 2011
[ https://issues.jboss.org/browse/AS7-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611970#comment-12611970 ]
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/jboss/as/ejb3/component/EJBComponent.java#L198
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list