[jboss-jira] [JBoss JIRA] Updated: (JBAS-4053) EJB TimerService createTimer swallows underlying exception

Scott M Stark (JIRA) jira-events at lists.jboss.org
Fri Jul 13 00:56:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4053?page=all ]

Scott M Stark updated JBAS-4053:
--------------------------------

    Fix Version/s:  JBossAS-5.0.0.Beta3

The create now throws an EJBException in jboss5.


> EJB TimerService createTimer swallows underlying exception
> ----------------------------------------------------------
>
>                 Key: JBAS-4053
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4053
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2, EJB3
>    Affects Versions: JBossAS-4.0.5.GA
>            Reporter: Jim Moran
>         Assigned To: Scott M Stark
>             Fix For:  JBossAS-5.0.0.Beta3
>
>
> javax.ejb.TimerService.createTimer implementation, org.jboss.ejb.txtimer.TimerServiceImpl.createTimer does not throw EJBException for "system-level failure" as per spec but rather just returns null and logs an error for any Exception.
> From TimerServerImpl.createTimer:
>       catch (Exception e)
>       {
>          log.error("Cannot create txtimer", e);
>          return null;
>       }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list