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 "Nick Lothian (JIRA)" <pl...@jakarta.apache.org> on 2004/11/25 01:36:20 UTC

[jira] Closed: (PLUTO-75) Pluto unkind on WebSphere Application Developer (WSAD)

     [ http://nagoya.apache.org/jira/browse/PLUTO-75?page=history ]
     
Nick Lothian closed PLUTO-75:
-----------------------------

    Resolution: Duplicate

This is a duplicate of PLUTO-55

> Pluto unkind on WebSphere Application Developer (WSAD)
> ------------------------------------------------------
>
>          Key: PLUTO-75
>          URL: http://nagoya.apache.org/jira/browse/PLUTO-75
>      Project: Pluto
>         Type: Bug
>   Components: portal driver
>  Environment: WSAD 5.1.2
> Windows 2000
>     Reporter: BIll Birch
>     Priority: Minor

>
> class PortletDefinitionRegistryServiceFileImpl assumes a tomcat style directory structure such as
>   pluto/WEB-INF/..
> WSAD likes to deploy projects with a structure such as :
>   pluto/WebContent/WEB-INF/..
> pluto searches through all the directories looking for "portlet.xml" and "web.xml". When it finds one it assumes it's a portlet app. Unfortunately it assumes the app name is "WebContent". This string gets into the PortletApplicationDefinition in many places including the portlet ids e.g. "WebContent.TestPortlet2". This in turn means that none of the objects can be found in the PortletApplicationDefinitionList when needed. 
> PortletApplicationDefinitionListImpl.get(ObjectID objectId) returns null (instead of chucking an exception). The null pointer returned fails higher up the stack.
> Also, you have to set the WebSphere "Shared Session Context" tickbox in the EAR deployment descriptor as an equivalent to tomcat's crossContext=true
> Also, for some reason the PortletDefinitionRegistryServiceFileImpl cannot see all the webapps under WSAD, maybe contextroot is one level too low? I had to copy the portlet.xml into the pluto project from testsuite.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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