-
Feature Request
-
Resolution: Done
-
Critical
-
7.1.0.Alpha1
-
None
-
None
When deploying on JBoss AS 7, the web.xml can't contain this:
<listener> <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class> </listener>
When deploying on any other app servers (JBoss AS 5.1 EAP, Tomcat 6, Jetty 6, ...) that code needs to be there.
This makes for an unportable wars.
Maven profiles cannot fix this in many cases:
- You don't want to run your build 5 times to build 5 different wars. You run it once, build a generic war and use assembly descriptors to build 5 appserver specific wars from that.
- When you're using GWT, you want run in GWT-hosted mode (which uses jetty 6) a lot. So the default web.xml needs to contain it.
- When you're using arquillian-jboss7 (in maven and straight for your IDE), the default web.xml should not have it.
- When you're deploying a generic war to nexus, the web.xml should contain it?
- blocks
-
WELD-984 Weld should not require application server specific changes to a war
- Resolved
- is cloned by
-
WELD-979 Weld 1.1.3-SNAPSHOT and 1.1.2.AS7 fail on JBoss AS 7 with FileNotFoundException on an existing file
- Resolved
- is duplicated by
-
WELD-718 register Weld Servlet listener in web fragment
- Closed
- is related to
-
WELD-985 Make Tomcat 6 and Jetty 6 and 7 specific configuration obsolete
- Resolved
- relates to
-
RESTEASY-740 Portable wars: a war using RESTEasy should deploy to deploy jboss AS 7 and Tomcat without modifcation: it should not require to remove the WEB-INF/lib/resteasy-*.jar files on JBoss AS 7
- Closed