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 "Elliot Metsger (JIRA)" <ji...@apache.org> on 2006/08/05 23:44:14 UTC

[jira] Created: (PLUTO-244) Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces

Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces
------------------------------------------------------------------------------------------

                 Key: PLUTO-244
                 URL: http://issues.apache.org/jira/browse/PLUTO-244
             Project: Pluto
          Issue Type: Improvement
          Components: portlets-admin
    Affects Versions: 1.0.1, 1.0.2
         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
            Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (PLUTO-244) Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces

Posted by "David DeWolf (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (PLUTO-244) Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/PLUTO-244?page=all ]

Elliot Metsger updated PLUTO-244:
---------------------------------

    Affects Version/s:     (was: 1.0.2)

Updating affected versions.

> Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces
> ------------------------------------------------------------------------------------------
>
>                 Key: PLUTO-244
>                 URL: http://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
>            Priority: Minor
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (PLUTO-244) Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/PLUTO-244?page=comments#action_12426001 ] 
            
Elliot Metsger commented on PLUTO-244:
--------------------------------------

To fix this issue, modify <TOMCAT_HOME>/webapps/pluto/WEB-INF/classes/castor.properties and change the value of org.exolab.castor.parser.namespaces to "false".

Restart Tomcat and then you should be able to deploy a 2.4 web.xml that contains namespaces.

> Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces
> ------------------------------------------------------------------------------------------
>
>                 Key: PLUTO-244
>                 URL: http://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
>            Priority: Minor
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (PLUTO-244) Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/PLUTO-244?page=all ]

Elliot Metsger reassigned PLUTO-244:
------------------------------------

    Assignee: Elliot Metsger

> Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces
> ------------------------------------------------------------------------------------------
>
>                 Key: PLUTO-244
>                 URL: http://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
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (PLUTO-244) Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces

Posted by "David DeWolf (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/PLUTO-244?page=all ]

David DeWolf updated PLUTO-244:
-------------------------------

    Fix Version/s: 1.0.2

> Pluto Admin portlet cannot deploy portlets which use a servlet 2.4 web.xml with namespaces
> ------------------------------------------------------------------------------------------
>
>                 Key: PLUTO-244
>                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira