[jboss-jira] [JBoss JIRA] (WFLY-3114) @Resource(lookup="java:...") causes an exception for URL resources
Eduardo Martins (JIRA)
issues at jboss.org
Thu Mar 27 07:04:13 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduardo Martins closed WFLY-3114.
---------------------------------
Assignee: Eduardo Martins
Resolution: Out of Date
> @Resource(lookup="java:...") causes an exception for URL resources
> -------------------------------------------------------------------
>
> Key: WFLY-3114
> URL: https://issues.jboss.org/browse/WFLY-3114
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 8.0.0.Final
> Reporter: Thomas Kriechbaum
> Assignee: Eduardo Martins
>
> When referencing an URL resource via @Resource the lookup-property only supports a valid URLs (e.g. http://www.jboss.org). A JNDI-Name causes an exception (e.g. java:global/url/Configuration or java:app/url/Configuration)
> Issue has been discussed in the user form.
> Note:
> @Resource(name="java:global/url/Configuration") works.
> From my point of view, the javadoc of @Resource is not very easy to understand.
--
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
More information about the jboss-jira
mailing list