[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-2017) Non-public timeout method fails
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Thu Feb 25 12:53:11 EST 2010
[ https://jira.jboss.org/jira/browse/EJBTHREE-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlo de Wolf updated EJBTHREE-2017:
------------------------------------
Component Fix Version(s): 0.1.1
Component/s: timeout
Fix Version/s: as-int 1.1.23
EJB3_1 1.0.5
> Non-public timeout method fails
> -------------------------------
>
> Key: EJBTHREE-2017
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-2017
> Project: EJB 3.0
> Issue Type: Bug
> Components: timeout
> Reporter: Carlo de Wolf
> Assignee: Carlo de Wolf
> Fix For: as-int 1.1.23, EJB3_1 1.0.5
>
>
> java.lang.RuntimeException: No method ejbTimeout(javax.ejb.Timer timer) found on bean TimerEJB
> at org.jboss.ejb3.EJBContainer.getTimeoutCallback(EJBContainer.java:1047)
> at org.jboss.ejb3.stateless.StatelessContainer.initializeTimeout(StatelessContainer.java:186)
> at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer.java:116)
> at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:313)
> at org.jboss.ejb3.Ejb3DescriptorHandler.getStatelessContainer(Ejb3DescriptorHandler.java:499)
> at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:206)
> at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:720)
> at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:671)
> at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:653)
> at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:616)
> at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:493)
> at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:175)
> ... 74 more
> Caused by: java.lang.NoSuchMethodException: org.jboss.ejb3.core.test..privatetimer.TimerEJB.ejbTimeout(javax.ejb.Timer)
> at java.lang.Class.getMethod(Class.java:1605)
> at org.jboss.ejb3.EJBContainer.getTimeoutCallback(EJBContainer.java:1039)
> ... 85 more
> EJB 3.0 18.2.2:
> A Timeout method can have public, private, protected, or package level access.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list