You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Jason Novotny <no...@aei.mpg.de> on 2004/08/30 12:32:39 UTC

multiple plutos in same container?

    Hi,

    Out of curiosity, is it possible to deploy multiple Plutos under the 
same container? In a related question, what classes get placed in 
Tomcat's shared class path?

    Thanks, Jason


Daniel Siino wrote:

>We had the same problem and realized that Pluto needs portlet.xml and
>web.xml under the same directory as where Pluto itself is deployed. If Pluto
>is installed under <tomcat_home>/webapps, the Pluto registry service will
>scan all folders under webapps and look for portlet.xml. When it finds one,
>it adds the application to its registry. Create a MyPortlet/WEB-INF folder
>structure under webapps and just copy the 2 xml files needed to please
>Pluto. That should work. 
>
>Daniel
>
>-----Original Message-----
>From: Nick Lothian [mailto:nl@essential.com.au] 
>Sent: Sunday, August 29, 2004 8:40 PM
>To: 'pluto-user@portals.apache.org'
>Subject: RE: Deployment Question
>
>It's possible that this could be the same problem as people have deploying
>in JBoss:
>http://nagoya.apache.org/eyebrowse/ReadMsg?listName=pluto-user@jakarta.apach
>e.org&msgId=1366784
>
>The comments there say:
>
>  
>
>>First, Pluto assumes that the URL "testsuite" maps onto the filesystem 
>>as the directory "testsuite", which is true for Tomcat but not true for 
>>JBoss.  (Instead it's mapped to "testsuite.war").  So you have to patch 
>>up their context mapping code.  It really needs to be rearchitected, but 
>>here's a hack that will work temporarily:
>>    
>>
>
>That might point you in the right direction - if you get it working let us
>know.
>
>Nick
>
>  
>
>>-----Original Message-----
>>From: Kenneth Ramirez [mailto:ken_ramirez@yahoo.com]
>>Sent: Monday, 30 August 2004 12:08 PM
>>To: pluto-user@portals.apache.org
>>Subject: RE: Deployment Question
>>Importance: Low
>>
>>
>>I actually didn't try '\\', but I didn't think I had
>>to since the context was generated from Sysdeo running
>>inside of Eclipse. Usually, the paths it generates
>>work fine. I know that to be the case for plain old
>>Servlets.
>>
>>I'll try the double slash, but I'm not hopeful that
>>this will make a difference. Do you have any other
>>suggestions?
>>
>>Ken
>>
>>--- "David H. DeWolf" <dd...@apache.org> wrote:
>>
>>    
>>
>>>Have you tried using '\\' for you path separator
>>>instead of a single '\'?
>>>
>>>in other words:
>>>
>>>. . .docBase="C:\\Portlets\\MyPortlet" . . .
>>>
>>>David
>>>
>>>-----Original Message-----
>>>From: Kenneth Ramirez [mailto:ken_ramirez@yahoo.com]
>>>
>>>Sent: Sunday, August 29, 2004 9:51 PM
>>>To: Pluto-List
>>>Subject: Deployment Question
>>>
>>>
>>>I'm trying to set a context path for a Portlet so
>>>that I can keep the entire
>>>project outside of Tomcat's webapp path and am
>>>having a problem doing so.
>>>
>>>I created the context as follows:
>>><Context path="/MyPortlet" reloadable="true"
>>>docBase="C:\Portlets\MyPortlet"/>
>>>
>>>If I put the Portlet in Tomcat's webapp path and
>>>eliminate the Context path,
>>>everything works as expected. If I move the Portlet
>>>directory structure to a
>>>different location and then set the Context path as
>>>shown above, Pluto shows
>>>the Portlet's title and then fails to load the
>>>Portlet, showing an error in
>>>the console window. However, the error doesn't
>>>really provide any useful
>>>information to determine what the problem might be. 
>>>
>>>Has anyone tried doing this? Does anyone have any
>>>suggestions?
>>>
>>>Thanks,
>>>
>>>Ken
>>>
>>>
>>>Do you Yahoo!?
>>>New and Improved Yahoo! Mail - 100MB free storage!
>>>
>>>
>>>      
>>>
>>
>>	
>>		
>>__________________________________
>>Do you Yahoo!?
>>New and Improved Yahoo! Mail - 100MB free storage!
>>http://promotions.yahoo.com/new_mail 
>>
>>    
>>
>
>
>  
>