[jboss-jira] [JBoss JIRA] Commented: (JBMETA-94) @Resource injection for SessionContext is expecting a mapped-name
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Wed Aug 13 02:07:44 EDT 2008
[ https://jira.jboss.org/jira/browse/JBMETA-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424685#action_12424685 ]
Andrew Lee Rubinger commented on JBMETA-94:
-------------------------------------------
Offending revision is 76955, the MC upgrades and changes to metadata deployers.
> @Resource injection for SessionContext is expecting a mapped-name
> -----------------------------------------------------------------
>
> Key: JBMETA-94
> URL: https://jira.jboss.org/jira/browse/JBMETA-94
> Project: JBoss Metadata
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.0.Beta35
> Reporter: Andrew Lee Rubinger
> Assignee: Alexey Loubyansky
> Priority: Blocker
>
> Source is:
> @Resource
> public void setSessionContext(SessionContext sc) {
> sctx = sc;
> }
> jboss-metadata populates ResourceEnvironmentReferenceMetaData properly, given that there's no mapped-name.
> However, EJB3 Module in AS has error:
> java.lang.RuntimeException: mapped-name is required for sessionContext of deployment someEjbTest
> at org.jboss.ejb3.client.ClientResourceHandler.loadXmlResourceEnvRefs(ClientResourceHandler.java:181)
> at org.jboss.ejb3.client.ClientResourceHandler.loadXml(ClientResourceHandler.java:212)
> at org.jboss.ejb3.client.ClientContainer.processMetadata(ClientContainer.java:341)
> at org.jboss.ejb3.client.ClientContainer.<init>(ClientContainer.java:123)
> at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:83)
> at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:184)
> at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:177)
> This is a regression; was some code removed which populates mapped-name, given that the injection target is javax.ejb.SessionContext?
--
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
More information about the jboss-jira
mailing list