|
||||||||
|
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 |
||||||||
_______________________________________________ weld-issues mailing list [email protected] https://lists.jboss.org/mailman/listinfo/weld-issues

You have to place the context.xml file in META-INF/context.xml (see Tomcat context.xml configuration docs) and not WEB-INF/classes/META-INF/context.xml (simply move META-INF/context.xml from src/main/resources to src/main/webapp/META-INF/context.xml). Actually this is not clear in the servlet spec and there were quite some discussions in ShrinkWrap project as well because it also affects the JDK's service-provider loading facility (see SHRINKWRAP-266 and SHRINKWRAP-241). In any case this is not a Weld bug. Post a question to Tomcat's mailing list.