[jboss-jira] [JBoss JIRA] (WFLY-3114) @Resource(lookup="java:...") causes an exception for URL resources
Thomas Kriechbaum (JIRA)
issues at jboss.org
Thu Mar 13 18:12:10 EDT 2014
Thomas Kriechbaum created WFLY-3114:
---------------------------------------
Summary: @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
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