[
https://issues.apache.org/jira/browse/GERONIMO-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668291#comment-13668291
]
Nayela Manzoor commented on GERONIMO-6469:
------------------------------------------
Hi Ivan,
Thanks for your response. I am going to mention two examples:
1. There is a simple ejb with descriptors and without ejb-jar.xml:
@Stateless
@TransactionAttribute(TransactionAttributeType.REQUIRED)
@TransactionManagement(TransactionManagementType.CONTAINER)
public class CRAEETimerBMO implements CRAEETimerBMOLocal,CRAEETimerBMORemote {
This ejb is working in Geronimo 2.0.1 but was not loaded in geronimo 3.0.1, I
created the following ejb-jar.xml and the ejb was loaded:
?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
version="3.0">
<enterprise-beans>
<session>
<description>CRA EE Timer for BMO</description>
<display-name>CRAEETimerBMO</display-name>
<ejb-name>CRAEETimerBMO</ejb-name>
<business-local>com.symcor.pcbi.cra.timer.ee.CRAEETimerBMOLocal</business-local>
<business-remote>com.symcor.pcbi.cra.timer.ee.CRAEETimerBMORemote</business-remote>
<ejb-class>com.symcor.pcbi.cra.timer.ee.CRAEETimerBMO</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
2. There is an ejb class which has following method
@AroundInvoke
public Object setEnv(InvocationContext ctx) throws Exception{
There is no interceptor. This code is working in Geronimo 2.0.1. However, this
is not being triggered by Geronimo 3.0.
Thanks,
Nayela
> EJB annotations are not working in Geronimo 3.0
> -----------------------------------------------
>
> Key: GERONIMO-6469
> URL: https://issues.apache.org/jira/browse/GERONIMO-6469
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Nayela Manzoor
>
> EJB annotations, for exampe, EJB, Stateless, aroundinvoke are not working in
> Geronimo 3.0. I have current application running well in Geronimo 2.0.1. I
> deployed it on Geronimo 3.0 and got many issues due to EJB annotation
> failures. I had to replace EJB annotations with descriptors in ejb-jar file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira