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 michael freedman <mi...@oracle.com> on 2008/10/28 21:59:13 UTC

Configuring latest Pluto 2.0 for Tomcat 6.x

Any advice?  I have an installation of Pluto 2.0 + Tomcat 6.0.16 from 
back in the spring that works fine.  Now I am trying to install the 
latest Pluto 2.0 into either a new Tomcat 6.0.16 or Tomcat 6.0.18.  All 
seems to install okay (based on the information from the Pluto 
website).  However Pluto doesn't start -- becaused it throws a 
noClassDefFound exception for the class: 
org.apache.pluto.driver.PortalStartupListener.  Checking the various 
config files makes it look like things are set up right.  And of course 
this class exists in the pluto-portal-driver-2.0.0-SNAPSHOT.jar that is 
found in the web-inf/lib dir of the pluto (installed) webapp.  Has 
anyone seen this/or have ideas on what I can check/try?
     -Mike-

Re: Configuring latest Pluto 2.0 for Tomcat 6.x

Posted by michael freedman <mi...@oracle.com>.
Yep.  It looks like the exception is it can't load the 
PortletContainerFactory.  Any ideas?  Again, anyone running the latest 
Pluto 2.0 with Tomcat 6.x?
    -Mike-

michael freedman wrote:
> Rooting around a little more ... actually I don't know at the moment 
> what class it can't find.  The logging is only reporting the exception 
> name (noClassDefFound) but not the name of the class.  The line that 
> is last reported being called when the exception occurs 
> is                        PortletContainerFactory factory =
>         PortletContainerFactory.getInstance();
> If its in fact the PortletContainerFactory that can't be found it 
> seems weird as this is in the pluto jar in the Tomcat/lib dir.
>
> Looks like I need to set a breakpoint to get more info.
>
> Anyone running the latest Pluto 2.0 with Tomcat 6.x?  Any ideas?      
> -Mike-
>
> Eric Dalquist wrote:
>> Actually if it has worked before I'm not sure. My initial email 
>> assumed that Pluto 2 and 1.1 have the same classloader needs and I 
>> honestly thought they did. What I have for my shared loader config is:
>>
>> shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar 
>>
>>
>> -Eric
>>
>> michael freedman wrote:
>>> Thanks. What should I set the shared.loader setting to?  Also what 
>>> is different from the Pluto 2.0 in  February 2008 and now as that 
>>> one runs fine in an Apache 6.0.16 environment without shared.loader 
>>> being set to anything.
>>>   -Mike-
>>>
>>>
>>> Eric Dalquist wrote:
>>>> You need to edit conf/catalina.properties and enable the shared 
>>>> classloader. Tomcat 6 by default doesn't enable a classloader for 
>>>> shared/lib where Pluto needs to put its JARs.
>>>>
>>>> -Eric
>>>>
>>>> michael freedman wrote:
>>>>> Any advice?  I have an installation of Pluto 2.0 + Tomcat 6.0.16 
>>>>> from back in the spring that works fine.  Now I am trying to 
>>>>> install the latest Pluto 2.0 into either a new Tomcat 6.0.16 or 
>>>>> Tomcat 6.0.18.  All seems to install okay (based on the 
>>>>> information from the Pluto website).  However Pluto doesn't start 
>>>>> -- becaused it throws a noClassDefFound exception for the class: 
>>>>> org.apache.pluto.driver.PortalStartupListener.  Checking the 
>>>>> various config files makes it look like things are set up right.  
>>>>> And of course this class exists in the 
>>>>> pluto-portal-driver-2.0.0-SNAPSHOT.jar that is found in the 
>>>>> web-inf/lib dir of the pluto (installed) webapp.  Has anyone seen 
>>>>> this/or have ideas on what I can check/try?
>>>>>     -Mike-

Re: Configuring latest Pluto 2.0 for Tomcat 6.x

Posted by michael freedman <mi...@oracle.com>.
Rooting around a little more ... actually I don't know at the moment 
what class it can't find.  The logging is only reporting the exception 
name (noClassDefFound) but not the name of the class.  The line that is 
last reported being called when the exception occurs is                   
      PortletContainerFactory factory =
         PortletContainerFactory.getInstance(); 

If its in fact the PortletContainerFactory that can't be found it seems 
weird as this is in the pluto jar in the Tomcat/lib dir.

Looks like I need to set a breakpoint to get more info.

Anyone running the latest Pluto 2.0 with Tomcat 6.x?  Any ideas?  
     -Mike-

Eric Dalquist wrote:
> Actually if it has worked before I'm not sure. My initial email 
> assumed that Pluto 2 and 1.1 have the same classloader needs and I 
> honestly thought they did. What I have for my shared loader config is:
>
> shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar 
>
>
> -Eric
>
> michael freedman wrote:
>> Thanks. What should I set the shared.loader setting to?  Also what is 
>> different from the Pluto 2.0 in  February 2008 and now as that one 
>> runs fine in an Apache 6.0.16 environment without shared.loader being 
>> set to anything.
>>   -Mike-
>>
>>
>> Eric Dalquist wrote:
>>> You need to edit conf/catalina.properties and enable the shared 
>>> classloader. Tomcat 6 by default doesn't enable a classloader for 
>>> shared/lib where Pluto needs to put its JARs.
>>>
>>> -Eric
>>>
>>> michael freedman wrote:
>>>> Any advice?  I have an installation of Pluto 2.0 + Tomcat 6.0.16 
>>>> from back in the spring that works fine.  Now I am trying to 
>>>> install the latest Pluto 2.0 into either a new Tomcat 6.0.16 or 
>>>> Tomcat 6.0.18.  All seems to install okay (based on the information 
>>>> from the Pluto website).  However Pluto doesn't start -- becaused 
>>>> it throws a noClassDefFound exception for the class: 
>>>> org.apache.pluto.driver.PortalStartupListener.  Checking the 
>>>> various config files makes it look like things are set up right.  
>>>> And of course this class exists in the 
>>>> pluto-portal-driver-2.0.0-SNAPSHOT.jar that is found in the 
>>>> web-inf/lib dir of the pluto (installed) webapp.  Has anyone seen 
>>>> this/or have ideas on what I can check/try?
>>>>     -Mike-

Re: Configuring latest Pluto 2.0 for Tomcat 6.x

Posted by Eric Dalquist <er...@doit.wisc.edu>.
Actually if it has worked before I'm not sure. My initial email assumed 
that Pluto 2 and 1.1 have the same classloader needs and I honestly 
thought they did. What I have for my shared loader config is:

shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar

-Eric

michael freedman wrote:
> Thanks. What should I set the shared.loader setting to?  Also what is 
> different from the Pluto 2.0 in  February 2008 and now as that one 
> runs fine in an Apache 6.0.16 environment without shared.loader being 
> set to anything.
>   -Mike-
>
>
> Eric Dalquist wrote:
>> You need to edit conf/catalina.properties and enable the shared 
>> classloader. Tomcat 6 by default doesn't enable a classloader for 
>> shared/lib where Pluto needs to put its JARs.
>>
>> -Eric
>>
>> michael freedman wrote:
>>> Any advice?  I have an installation of Pluto 2.0 + Tomcat 6.0.16 
>>> from back in the spring that works fine.  Now I am trying to install 
>>> the latest Pluto 2.0 into either a new Tomcat 6.0.16 or Tomcat 
>>> 6.0.18.  All seems to install okay (based on the information from 
>>> the Pluto website).  However Pluto doesn't start -- becaused it 
>>> throws a noClassDefFound exception for the class: 
>>> org.apache.pluto.driver.PortalStartupListener.  Checking the various 
>>> config files makes it look like things are set up right.  And of 
>>> course this class exists in the 
>>> pluto-portal-driver-2.0.0-SNAPSHOT.jar that is found in the 
>>> web-inf/lib dir of the pluto (installed) webapp.  Has anyone seen 
>>> this/or have ideas on what I can check/try?
>>>     -Mike-

Re: Configuring latest Pluto 2.0 for Tomcat 6.x

Posted by michael freedman <mi...@oracle.com>.
Thanks. What should I set the shared.loader setting to?  Also what is 
different from the Pluto 2.0 in  February 2008 and now as that one runs 
fine in an Apache 6.0.16 environment without shared.loader being set to 
anything.
   -Mike-


Eric Dalquist wrote:
> You need to edit conf/catalina.properties and enable the shared 
> classloader. Tomcat 6 by default doesn't enable a classloader for 
> shared/lib where Pluto needs to put its JARs.
>
> -Eric
>
> michael freedman wrote:
>> Any advice?  I have an installation of Pluto 2.0 + Tomcat 6.0.16 from 
>> back in the spring that works fine.  Now I am trying to install the 
>> latest Pluto 2.0 into either a new Tomcat 6.0.16 or Tomcat 6.0.18.  
>> All seems to install okay (based on the information from the Pluto 
>> website).  However Pluto doesn't start -- becaused it throws a 
>> noClassDefFound exception for the class: 
>> org.apache.pluto.driver.PortalStartupListener.  Checking the various 
>> config files makes it look like things are set up right.  And of 
>> course this class exists in the 
>> pluto-portal-driver-2.0.0-SNAPSHOT.jar that is found in the 
>> web-inf/lib dir of the pluto (installed) webapp.  Has anyone seen 
>> this/or have ideas on what I can check/try?
>>     -Mike-

Re: Configuring latest Pluto 2.0 for Tomcat 6.x

Posted by Eric Dalquist <er...@doit.wisc.edu>.
You need to edit conf/catalina.properties and enable the shared 
classloader. Tomcat 6 by default doesn't enable a classloader for 
shared/lib where Pluto needs to put its JARs.

-Eric

michael freedman wrote:
> Any advice?  I have an installation of Pluto 2.0 + Tomcat 6.0.16 from 
> back in the spring that works fine.  Now I am trying to install the 
> latest Pluto 2.0 into either a new Tomcat 6.0.16 or Tomcat 6.0.18.  
> All seems to install okay (based on the information from the Pluto 
> website).  However Pluto doesn't start -- becaused it throws a 
> noClassDefFound exception for the class: 
> org.apache.pluto.driver.PortalStartupListener.  Checking the various 
> config files makes it look like things are set up right.  And of 
> course this class exists in the pluto-portal-driver-2.0.0-SNAPSHOT.jar 
> that is found in the web-inf/lib dir of the pluto (installed) webapp.  
> Has anyone seen this/or have ideas on what I can check/try?
>     -Mike-