[
https://jira.jboss.org/jira/browse/EJBTHREE-2017?page=com.atlassian.jira....
]
Carlo de Wolf reassigned EJBTHREE-2017:
---------------------------------------
Assignee: Carlo de Wolf
Non-public timeout method fails
-------------------------------
Key: EJBTHREE-2017
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-2017
Project: EJB 3.0
Issue Type: Bug
Reporter: Carlo de Wolf
Assignee: Carlo de Wolf
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