geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5288) Cannot use @EJB in java ee component(servlet, JSF) to inject ejb object
Date Fri, 13 May 2011 09:22:47 GMT

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

Shawn Jiang commented on GERONIMO-5288:
---------------------------------------

This is a regression that only occurs when the ejb is put to WAR, and it's put into WEB-INF/lib/xxx.jar
instead of WEB-INF/classes.

You won't be able to recreate it when

1,  the ejb is deployed as part of ear
2, the ejb is deployed as part of war,  and the ejb is put to WEB-INF/lib/classes.

> Cannot use @EJB in java ee component(servlet, JSF) to inject ejb object
> -----------------------------------------------------------------------
>
>                 Key: GERONIMO-5288
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5288
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Web Profile
>    Affects Versions: 3.0
>            Reporter: Forrest Xia
>            Assignee: Ivan
>             Fix For: 3.0
>
>
> I tried two new java ee 6 samples "jpa20demo-javaee6" and "ejbtimer-javaee6", they both
failed at injecting ejb object in JSF managed bean or servlet.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message