[
https://jira.jboss.org/jira/browse/SEAMXML-3?page=com.atlassian.jira.plug...
]
Dan Allen commented on SEAMXML-3:
---------------------------------
Quoting Stuart:
"To solve it, I will register a listener with a web fragment to get hold of the
ServletContext. This will work in a war deployment, but not an ear (in an ear the Listener
would need to be registered manually in web.xml in each war, because as I understand it
web fragments are only picked up from WEB-INF/lib )."
You should also consider using the resource loading SPI that was added to Weld Extensions.
Unfortunately, it does not support loading resources from the servlet context as of yet.
So perhaps you could look into adding the support to that library, hence solving your
problem here.
seam-xml cannt real beans.xml from the servlet context
------------------------------------------------------
Key: SEAMXML-3
URL:
https://jira.jboss.org/jira/browse/SEAMXML-3
Project: Seam XML Bean Config
Issue Type: Bug
Reporter: Stuart Douglas
seam-xml needs access to the servlet context to get access to WEB-INF/beans.xml.
--
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