You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Dain Sundstrom (JIRA)" <pl...@jakarta.apache.org> on 2005/02/08 07:26:12 UTC

[jira] Updated: (PLUTO-92) Deployer strips existing mime-mapping elements out of web.xml

     [ http://issues.apache.org/jira/browse/PLUTO-92?page=history ]

Dain Sundstrom updated PLUTO-92:
--------------------------------

    Attachment: portletmapping.xml

> Deployer strips existing mime-mapping elements out of web.xml
> -------------------------------------------------------------
>
>          Key: PLUTO-92
>          URL: http://issues.apache.org/jira/browse/PLUTO-92
>      Project: Pluto
>         Type: Bug
>   Components: deployer
>     Versions: 1.0.1-rc1
>     Reporter: David Jencks
>  Attachments: Deploy.java.patch, portletmapping.xml
>
> The deployer will remove any mime-mapping elements from the input web.xml when preprocessing the portlet.xml file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Updated: (PLUTO-92) Deployer strips existing mime-mapping elements out of web.xml

Posted by "David H. DeWolf" <dd...@apache.org>.
Dain,

Would you mind taking a look and seeing if your servletmapping.xml 
(required by the patch) is different than the 
servletdefinitionmapping.xml located in WEB-INF/data/xml.  I've applied 
your patch and have been able to get the Deploy tool to automatically 
update the registry, however, it is still stripping mime-mappings and 
other elements).

It seems to me like ensuring elements don't get stripped would require 
us to map every possible element within the web.xml in the 
servletmapping.xml.  If you've done this allready it would save me some 
time :) -- also, I'm interested to see if you figured out a way to do 
this without having to create new classes to represent each of the 
elements (I'm not much of a castor guru).

Also,

If anyone needs, I've attached a new version of the patch to the bug. 
I've done this because:

1) The original patch was against and old version of Deploy --- I've 
manually compensated for the differences.

2) The original patch had windows style line feeds which caused my patch 
utility to blow up.  If anyone else is having troubles with the patch, 
that's probably the reason why.

David


Dain Sundstrom (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/PLUTO-92?page=history ]
> 
> Dain Sundstrom updated PLUTO-92:
> --------------------------------
> 
>     Attachment: portletmapping.xml
> 
> 
>>Deployer strips existing mime-mapping elements out of web.xml
>>-------------------------------------------------------------
>>
>>         Key: PLUTO-92
>>         URL: http://issues.apache.org/jira/browse/PLUTO-92
>>     Project: Pluto
>>        Type: Bug
>>  Components: deployer
>>    Versions: 1.0.1-rc1
>>    Reporter: David Jencks
>> Attachments: Deploy.java.patch, portletmapping.xml
>>
>>The deployer will remove any mime-mapping elements from the input web.xml when preprocessing the portlet.xml file.
> 
>