[jboss-jira] [JBoss JIRA] (AS7-2119) Portable war: Weld deployment on JBoss AS 7 should not require to remove the WeldListener line from the web.xml
Stuart Douglas (Moved) (JIRA)
jira-events at lists.jboss.org
Sun Oct 16 04:17:45 EDT 2011
[ https://issues.jboss.org/browse/AS7-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas moved WELD-983 to AS7-2119:
------------------------------------------
Project: Application Server 7 (was: Weld)
Key: AS7-2119 (was: WELD-983)
Issue Type: Feature Request (was: Bug)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: 7.1.0.Alpha1
(was: 1.1.2.Final)
> Portable war: Weld deployment on JBoss AS 7 should not require to remove the WeldListener line from the web.xml
> ---------------------------------------------------------------------------------------------------------------
>
> Key: AS7-2119
> URL: https://issues.jboss.org/browse/AS7-2119
> Project: Application Server 7
> Issue Type: Feature Request
> Affects Versions: 7.1.0.Alpha1
> Reporter: Geoffrey De Smet
> Priority: Critical
>
> When deploying on JBoss AS 7, the web.xml can't contain this:
> {code}
> <listener>
> <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
> </listener>
> {code}
> 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?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list