[
https://issues.jboss.org/browse/WFLY-3114?page=com.atlassian.jira.plugin....
]
Thomas Kriechbaum commented on WFLY-3114:
-----------------------------------------
I have tested this scenario with wildfly 8.0.1 SNAPSHOT Build #1040 (25.3.2014 -
https://ci.jboss.org/hudson/job/WildFly-latest-master/1040/)
With this build @Resource(lookup="java:...") does not throw an exception any
more!
see WFLY-2423 that covers the appropriate fix.
@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