Re: pluto portal as ROOT app in Tomcat

Eric Dalquist <[email protected]> Thu, 15 Apr 2010 18:38:36 -0500
Newsgroups gmane.comp.jakarta.pluto.user
Organization UW DoIT
Message-ID <[email protected]>
I'm working on integrating pluto 2 and I think this may be a bug.

If you look at PortletContextManager:114 it does

String contextPath servletContext.getContextPath();
String applicationName = contextPath.substring(1);

Well for a root webapp contextPath would be "".

I've been meaning to verify this and file a bug but family matters have 
me otherwise occupied. I haven't had time to see what an actual solution 
to this would be. That said I'm guessing the easy fix is to move back to 
the pluto 1.1 approach of having portlet app names start with / for 
everything other than the root context and avoid any un-needed string 
manipulation.

-Eric

On 4/15/10 4:25 PM, Philippe d'Anfray wrote:
> Bonjour,
>
> Is it possible to install Pluto Portal as the ROOT application in 
> Tomcat 6.
>
> I build PLUTO 2  from source on a ubuntu box with:
>
> mvn install
>
> and
>
> mvn pluto2:install -DinstallDir=/usr.../tomcat6
>
> This installs Pluto as a standard webapp.  May be I missed some other 
> parameters ?
>
> Anyway when I try "by hand" to replace the ROOT application by pluto 
> it does not work
> I have the login page to the portal, I can identify myself but it 
> cannot find other portlets.
> I tried to "play" with the various context settings but it was of no 
> help.
>
> Any idea welcome !!
>
> Cordialement
>
> Philippe
>
smime.p7s (application/pkcs7-signature, 3.2 KB) - not displayed