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)" <ji...@apache.org> on 2007/03/03 15:12:53 UTC
[jira] Resolved: (PLUTO-244) Pluto Admin portlet cannot deploy
portlets which use a servlet 2.4 web.xml with namespaces
[ https://issues.apache.org/jira/browse/PLUTO-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David DeWolf resolved PLUTO-244.
--------------------------------
Resolution: Won't Fix
> Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces
> ------------------------------------------------------------------------------------------
>
> Key: PLUTO-244
> URL: https://issues.apache.org/jira/browse/PLUTO-244
> Project: Pluto
> Issue Type: Improvement
> Components: portlets-admin
> Affects Versions: 1.0.1
> Environment: Pluto 1.0.2 branch (r429058 - contains PLUTO-216 and PLUTO-219), Tomcat 5.5.17, Ubuntu Linux, Sun JRE 1.5.0_06
> Reporter: Elliot Metsger
> Assigned To: Elliot Metsger
> Priority: Minor
> Fix For: 1.0.2
>
>
> The pluto admin portlet can deploy portlets with servlet 2.3 and servlet 2.4 web.xml descriptors. However, it can only deploy 2.4 web.xml descriptors that do not utilize namespaces.
> For example, deploying a portlet with a descriptor like the one below succeeeds:
> <web-app version="2.4">
> <display-name>Servlet 2.4 Webapp</display-name>
> <description>A 2.4 Servlet</description>
> </web-app>
> But deploying a portlet with a descriptor using namespaces fails:
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
> version="2.4">
> <display-name>Servlet 2.4 Webapp</display-name>
> <description>A 2.4 Servlet</description>
> </web-app>
> And you will see this in the log:
> SEVERE: Error in Portlet
> java.lang.NullPointerException
> at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:109)
> at org.apache.pluto.invoker.impl.PortletInvokerImpl.load(PortletInvokerImpl.java:80)
> at org.apache.pluto.PortletContainerImpl.portletLoad(PortletContainerImpl.java:218)
> ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.