[
http://jira.jboss.com/jira/browse/EJBTHREE-959?page=comments#action_12361964 ]
Carlo de Wolf commented on EJBTHREE-959:
----------------------------------------
Only stateless beans should get annotated with @PostConstruct during deployment. Stateful
beans should get an @Init. (EJB3 4.3.10)
EJB 2.1 Stateful Session Beans don't deploy
-------------------------------------------
Key: EJBTHREE-959
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-959
Project: EJB 3.0
Issue Type: Bug
Affects Versions: EJB 3.0 RC9 - Patch 1, AS 4.2.0 GA
Reporter: Carlo de Wolf
Priority: Blocker
Fix For: EJB 3.0 RC11 - FD, Branch_4_2
Deploying an EJB 2.1 SFSB through the EJB3 deployer doesn't work. A lot of
precondition checks will complain about the code.
Any of the following exceptions will occur:
java.lang.RuntimeException: @javax.annotation.PostActivate annotated method has the wrong
signature ... (EJB3 12.4)
java.lang.RuntimeException: @javax.annotation.PostConstruct annotated method has the
wrong signature ... (EJB3 12.4)
java.lang.RuntimeException: @javax.annotation.PrePassivate annotated method has the wrong
signature ... (EJB3 12.4)
java.lang.RuntimeException: Interceptors can only have one post-construct/@PostConstruct
method - ...
--
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