-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
2.2.2.GA
-
None
-
None
In guvnor, we're trying to create a single generic war, to deploy to any app server or servlet container.
This war contains:
1) WEB-INF/lib/resteasy-*.jar files
2) this code in WEB-INF/web.xml
<context-param> <param-name>resteasy.injector.factory</param-name> <param-value>org.jboss.resteasy.cdi.CdiInjectorFactory</param-value> </context-param>
That generic war deploys without a problem on Tomcat and Jetty, but fails on JBoss AS 7 (with a cryptic message I might add), because 1) and 2) should be removed for JBoss only. That shouldn't be the case. It should just act as if the resteasy jars in the war file and the context-param in the web.xml file aren't there.
Weld had a similar problem, but they already fixed it for JBoss AS 7.1: AS7-2119.
- is duplicated by
-
RESTEASY-586 Duplicate context initialization parameter resteasy.injector.factory
- Closed
- is related to
-
AS7-2119 Portable war: Weld deployment on JBoss AS 7 should not require to remove the WeldListener line from the web.xml
- Resolved