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 "David DeWolf (JIRA)" <pl...@jakarta.apache.org> on 2005/01/23 06:30:19 UTC

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

     [ http://issues.apache.org/jira/browse/PLUTO-92?page=comments#action_57958 ]
     
David DeWolf commented on PLUTO-92:
-----------------------------------

I've applied the patch and am getting errors when I try to deploy the portlet.  I don't have a chance to look into the issues right now, so if there's anything else off the top of your head that I need to add, please let me know so that I can get this committed for the RC3 release.  Otherwise, I'll aim to take a look later on this week.

deployTestsuite:
    [java] Unpacking war 'testsuite' to 'C:\dev\portals-pluto\testsuite\..\tomcat\webapps\testsuite'
    [java] finished!
    [java] Processing war 'testsuite
    [java] java.io.FileNotFoundException: Web mapping file not found portletmapping.xml
    [java]      at org.apache.pluto.portalImpl.Deploy.loadPortletXml(Deploy.java:415)
    [java]      at org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:148)
    [java]      at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:537)

Looks like I'm missing an xml/portletmapping.xml file in my classpath.  What is this file?

URL portletMapping = Deploy.class.getResource("xml/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
>
> 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