[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2331) Exploded deployment: web.xml modified to web.xml.org - Subsequent runs fail

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Fri Dec 19 08:04:56 EST 2008


     [ https://jira.jboss.org/jira/browse/JBWS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-2331:
----------------------------------

    Fix Version/s: jbossws-cxf-3.0.6
         Assignee: Richard Opalka


> Exploded deployment: web.xml modified to web.xml.org - Subsequent runs fail
> ---------------------------------------------------------------------------
>
>                 Key: JBWS-2331
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2331
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions:  jbossws-cxf-3.0.3
>         Environment: win32, jboss AS 4.2.3 GA, jdk 1.5.0_15
>            Reporter: Ralf Taugerbeck
>            Assignee: Richard Opalka
>             Fix For: jbossws-cxf-3.0.6
>
>
> When using exploded EAR/WAR deployment web.xml is modified on each server start. That has two effects: 
> - the original web.xml, which was renamed to web.xml.org after 1st start is lost on 2nd server start
> - the context parameter jbossws.cxf.beans.url is added to web.xml multiple times
> My web.xml on second server start:
> <web-app>
> ...
>   <context-param> 
>     <param-name>jbossws.cxf.beans.url</param-name>  
>     <param-value>file:/D:/Tools/jboss-4.2.3.GA/server/default/tmp/jbossws/jbossws-cxf29799.xml</param-value> 
>   </context-param>  
>   <context-param>
>     <param-name>jbossws.cxf.beans.url</param-name>
>     <param-value>file:/D:/Tools/jboss-4.2.3.GA/server/default/tmp/jbossws/jbossws-cxf58750.xml</param-value>
>   </context-param>
> </web-app>
> The exception is:
> ...
> Caused by: java.lang.IllegalArgumentException: Duplicate context initialization parameter jbossws.cxf.beans.url
> 	at org.apache.catalina.core.StandardContext.addParameter(StandardContext.java:2332)

-- 
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

        



More information about the jbossws-issues mailing list