[ 
https://issues.apache.org/jira/browse/GERONIMO-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668292#comment-13668292
 ] 

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

--- On Mon, 5/27/13, Ivan (JIRA) <[email protected]> wrote:


From: Ivan (JIRA) <[email protected]>
Subject: [jira] [Commented] (GERONIMO-6469) EJB annotations are not working in 
Geronimo 3.0
To: [email protected]
Date: Monday, May 27, 2013, 8:38 PM



    [ 
https://issues.apache.org/jira/browse/GERONIMO-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668003#comment-13668003
 ] 

Ivan commented on GERONIMO-6469:
--------------------------------

You may want to provide the sample for reproducing this issue, or is there any 
output in the log ? With the current description, it is hard to know what 
happened.
                

--
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

                
> 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

Reply via email to