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 CD...@hannaford.com on 2005/10/24 05:13:14 UTC

Deploying pluto-1.1 driver and testsuite to Tomcat??

I finally got the pluto-1.1 driver and testsuite built after making a 
couple of changes to the root pom.xml and the same file under 
pluto-testsuite that I've checked into SVN. But I haven't been successful 
in deploying them to Tomcat 5.5.9. Can someone help me with this issue? 
Specifically, I'd like to know where all the generated jar files should 
go? They all seem to end up in WEB-INF/lib of the pluto webapp, which 
raises classloader problems in Tomcat. I moved most of them over to 
<TOMCAT_HOME>/shared/lib, but then I ran into an NPE in the test pages, 
which seemed to be related to a lost ServetContext for the testsuite 
webapp. (The NPE stack trace points to line 119 in 
org.apache.pluto.core.PortletDescriptorRegistry).

In addition, I moved the pluto.xml Tomcat web context descriptor into 
<TOMCAT_HOME>/conf/Catalina/localhost. Also, I changed the 
pluto-testsuite.war name to testsuite.war (and fixed this in its pom.xml). 
This allowed the testsuite's deployed context (/testsuite) to reflect what 
was in the portal driver config file (pluto-portal-driver-config.xml).

TIA
/Craig

Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by "David H. DeWolf" <dd...@apache.org>.
the pluto-installer module was renamed to pluto-util. Docs are now updated.

On 10/24/05, CDoremus@hannaford.com <CD...@hannaford.com> wrote:
>
>
> Hi David!
>
> Where is this 'utilities subproject' and how do you use it?
>
> Also, the pluto-installer directory mentioned in the README appears to be
> missing, and the 'mvn pluto:install' command does not work in the root
> directory. Please advise?
>
> TIA
> /Craig
>
>
>
>  *"David H. DeWolf" <dd...@apache.org>*
>
> 10/24/2005 07:50 AM  Please respond to
> pluto-dev@portals.apache.org
>
>   To
> pluto-dev@portals.apache.org  cc
>
>  Subject
> Re: Deploying pluto-1.1 driver and testsuite to Tomcat??
>
>
>
>
>
>
> The utilities subproject works for me. . .I'll have a little time today
> to work with people to flush it out if there are some things that
> causing you guys headaches with it.
>
> I think probably the biggest gotcha is that by default it deploys to a
> directory called "pluto-tomcat" which it assumes is a child dir of your
> <pluto-home>. This is configurable in settings.xml (according to
> maven's site).
>
> David
>
> Zhong ZHENG wrote:
> > Hi Craig,
> >
> > I know how to deploy pluto 1.1 to tomcat 5.5.9 manually. So if you would
>
> > like to do that manually too, you may refer to the README file.
> >
> > Manual Installation:
> >
> > 1/ cd to pluto project home and execute: 'mvn install'
> > 2/ copy the following to <TOMCAT_HOME>/shared/lib. (In a clean tomcat
> > installation, the shared/lib directory should be empty)
> > - castor-0.9.6
> > - portlet-api-1.0.jar
> > - pluto-container-1.1-SNAPSHOT.jar
> > - pluto-descriptor-api-1.1-SNAPSHOT.jar
> > - pluto-descriptor-impl-1.1-SNAPSHOT.jar
> > 3/ copy the following to <TOMCAT_HOME>/common/endorsed, and replace the
> > original JARs.
> > - xercesImpl-2.6.2
> > - xmlParserAPIs-2.6.2
> > 4/ copy the following to <TOMCAT_HOME>/conf/Catalina/localhost:
> > - <PLUTO_HOME>/pluto-portal/src/main/resources/pluto.xml
> > - <PLUTO_HOME>/pluto-testsuite/src/main/resources/testsuite.xml
> > 5/ copy and rename the following to <TOMCAT_HOME>/webapps
> > - pluto-portal-1.1-SNAPSHOT.war to pluto-portal.war
> > - pluto-testsuite-1.1-SNAPSHOT.war to pluto-testsuite.war
> > 6/ start tomcat and visit: http://localhost:8080/pluto/portal
> >
> >
> > Hope that helps.
> > Regards.
> >
> > On 10/24/05, *CDoremus@hannaford.com <ma...@hannaford.com>*
> > <CDoremus@hannaford.com <ma...@hannaford.com>> wrote:
> >
> >
> > I finally got the pluto-1.1 driver and testsuite built after making
> > a couple of changes to the root pom.xml and the same file under
> > pluto-testsuite that I've checked into SVN. But I haven't been
> > successful in deploying them to Tomcat 5.5.9. Can someone help me
> > with this issue? Specifically, I'd like to know where all the
> > generated jar files should go? They all seem to end up in
> > WEB-INF/lib of the pluto webapp, which raises classloader problems
> > in Tomcat. I moved most of them over to <TOMCAT_HOME>/shared/lib,
> > but then I ran into an NPE in the test pages, which seemed to be
> > related to a lost ServetContext for the testsuite webapp. (The NPE
> > stack trace points to line 119 in
> > org.apache.pluto.core.PortletDescriptorRegistry).
> >
> > In addition, I moved the pluto.xml Tomcat web context descriptor
> > into <TOMCAT_HOME>/conf/Catalina/localhost. Also, I changed the
> > pluto-testsuite.war name to testsuite.war (and fixed this in its
> > pom.xml). This allowed the testsuite's deployed context (/testsuite)
> > to reflect what was in the portal driver config file
> > (pluto-portal-driver-config.xml).
> >
> > TIA
> > /Craig
> >
> >
> > --
> >
> > ZHENG Zhong
> >
> > 1 Avenue Alphand
> > 75116 Paris, France
> > +33 6 76 80 45 90
>
>

Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by "David H. DeWolf" <dd...@apache.org>.
it's in:

<1.1 HOME>/pluto-util

Simply CD to this directory and do a:

mvn pluto:install

to install pluto into a tomcat distribution.

NOTE: the only prereq to this is doing an

mvn install

at the root directory (<1.1 HOME>)
David

On 10/24/05, CDoremus@hannaford.com <CD...@hannaford.com> wrote:
>
>
> Hi David!
>
> Where is this 'utilities subproject' and how do you use it?
>
> Also, the pluto-installer directory mentioned in the README appears to be
> missing, and the 'mvn pluto:install' command does not work in the root
> directory. Please advise?
>
> TIA
> /Craig
>
>
>
>  *"David H. DeWolf" <dd...@apache.org>*
>
> 10/24/2005 07:50 AM  Please respond to
> pluto-dev@portals.apache.org
>
>   To
> pluto-dev@portals.apache.org  cc
>
>  Subject
> Re: Deploying pluto-1.1 driver and testsuite to Tomcat??
>
>
>
>
>
>
> The utilities subproject works for me. . .I'll have a little time today
> to work with people to flush it out if there are some things that
> causing you guys headaches with it.
>
> I think probably the biggest gotcha is that by default it deploys to a
> directory called "pluto-tomcat" which it assumes is a child dir of your
> <pluto-home>. This is configurable in settings.xml (according to
> maven's site).
>
> David
>
> Zhong ZHENG wrote:
> > Hi Craig,
> >
> > I know how to deploy pluto 1.1 to tomcat 5.5.9 manually. So if you would
>
> > like to do that manually too, you may refer to the README file.
> >
> > Manual Installation:
> >
> > 1/ cd to pluto project home and execute: 'mvn install'
> > 2/ copy the following to <TOMCAT_HOME>/shared/lib. (In a clean tomcat
> > installation, the shared/lib directory should be empty)
> > - castor-0.9.6
> > - portlet-api-1.0.jar
> > - pluto-container-1.1-SNAPSHOT.jar
> > - pluto-descriptor-api-1.1-SNAPSHOT.jar
> > - pluto-descriptor-impl-1.1-SNAPSHOT.jar
> > 3/ copy the following to <TOMCAT_HOME>/common/endorsed, and replace the
> > original JARs.
> > - xercesImpl-2.6.2
> > - xmlParserAPIs-2.6.2
> > 4/ copy the following to <TOMCAT_HOME>/conf/Catalina/localhost:
> > - <PLUTO_HOME>/pluto-portal/src/main/resources/pluto.xml
> > - <PLUTO_HOME>/pluto-testsuite/src/main/resources/testsuite.xml
> > 5/ copy and rename the following to <TOMCAT_HOME>/webapps
> > - pluto-portal-1.1-SNAPSHOT.war to pluto-portal.war
> > - pluto-testsuite-1.1-SNAPSHOT.war to pluto-testsuite.war
> > 6/ start tomcat and visit: http://localhost:8080/pluto/portal
> >
> >
> > Hope that helps.
> > Regards.
> >
> > On 10/24/05, *CDoremus@hannaford.com <ma...@hannaford.com>*
> > <CDoremus@hannaford.com <ma...@hannaford.com>> wrote:
> >
> >
> > I finally got the pluto-1.1 driver and testsuite built after making
> > a couple of changes to the root pom.xml and the same file under
> > pluto-testsuite that I've checked into SVN. But I haven't been
> > successful in deploying them to Tomcat 5.5.9. Can someone help me
> > with this issue? Specifically, I'd like to know where all the
> > generated jar files should go? They all seem to end up in
> > WEB-INF/lib of the pluto webapp, which raises classloader problems
> > in Tomcat. I moved most of them over to <TOMCAT_HOME>/shared/lib,
> > but then I ran into an NPE in the test pages, which seemed to be
> > related to a lost ServetContext for the testsuite webapp. (The NPE
> > stack trace points to line 119 in
> > org.apache.pluto.core.PortletDescriptorRegistry).
> >
> > In addition, I moved the pluto.xml Tomcat web context descriptor
> > into <TOMCAT_HOME>/conf/Catalina/localhost. Also, I changed the
> > pluto-testsuite.war name to testsuite.war (and fixed this in its
> > pom.xml). This allowed the testsuite's deployed context (/testsuite)
> > to reflect what was in the portal driver config file
> > (pluto-portal-driver-config.xml).
> >
> > TIA
> > /Craig
> >
> >
> > --
> >
> > ZHENG Zhong
> >
> > 1 Avenue Alphand
> > 75116 Paris, France
> > +33 6 76 80 45 90
>
>

Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by CD...@hannaford.com.
> I'm researching it today (can't promise a solution, but will try). 
> I belive you use activation profiles which allow inclusion of custom
> properties. I've never used them before, but will see if I can plug 
> through it.  Unfortunately, I've found that M2's documentation on 
> this type of fringe stuff is just a little bit better than our own! 
> :)  Maybe we can help both projects by working through this.
> 
> I might refactor things in the plugin a little bit.  What do you 
> think about the following:
> 
> 1) any dir specified on the command line (-Dpluto.installDir=blah) 
> takes precedence over everything
> 2) look at the settings.xml file and use the prop set there
> 3) use default -- or should there be no default and a nice error 
message?


Yes, this will fill in the final missing piece to the automated deployment 
process. Thanks!

I prefer no default and just an error message.

Thanks, again.
/Craig

> On 10/25/05, Craig Doremus <cr...@maine.com> wrote:
> Hi David:
> 
> >
> > I think probably the biggest gotcha is that by default it deploys to a
> > directory called "pluto-tomcat" which it assumes is a child dir of
> > your <pluto-home>.  This is configurable in settings.xml (according to
> > maven's site).
> >
> I could not find out how to set the installationDirectory element in
> pluto-util/pom.xml using settings.xml, so I modified this file directly
> to get the automated deployment to work. Do you know how to use 
> settings.xml to set the installationDirectory element?
> 
> TIA
> /Craig

Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by "David H. DeWolf" <dd...@apache.org>.
I'm researching it today (can't promise a solution, but will try). I belive
you use activation profiles which allow inclusion of custom properties. I've
never used them before, but will see if I can plug through it.
Unfortunately, I've found that M2's documentation on this type of fringe
stuff is just a little bit better than our own! :) Maybe we can help both
projects by working through this.

I might refactor things in the plugin a little bit. What do you think about
the following:

1) any dir specified on the command line (-Dpluto.installDir=blah) takes
precedence over everything
2) look at the settings.xml file and use the prop set there
3) use default -- or should there be no default and a nice error message?


David

On 10/25/05, Craig Doremus <cr...@maine.com> wrote:
>
> Hi David:
>
> >
> > I think probably the biggest gotcha is that by default it deploys to a
> > directory called "pluto-tomcat" which it assumes is a child dir of
> > your <pluto-home>. This is configurable in settings.xml (according to
> > maven's site).
> >
> I could not find out how to set the installationDirectory element in
> pluto-util/pom.xml using settings.xml, so I modified this file directly
> to get the automated deployment to work. Do you know how to use
> settings.xml to set the installationDirectory element?
>
> TIA
> /Craig
>

Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by Craig Doremus <cr...@maine.com>.
Hi David:

>
> I think probably the biggest gotcha is that by default it deploys to a 
> directory called "pluto-tomcat" which it assumes is a child dir of 
> your <pluto-home>.  This is configurable in settings.xml (according to 
> maven's site).
>
I could not find out how to set the installationDirectory element in 
pluto-util/pom.xml using settings.xml, so I modified this file directly 
to get the automated deployment to work. Do you know how to use 
settings.xml to set the installationDirectory element?

TIA
/Craig

Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by CD...@hannaford.com.
Hi David!

Where is this 'utilities subproject' and how do you use it?

Also, the pluto-installer directory mentioned in the README appears to be 
missing, and the 'mvn pluto:install' command does not work in the root 
directory. Please advise?

TIA
/Craig




"David H. DeWolf" <dd...@apache.org> 
10/24/2005 07:50 AM
Please respond to
pluto-dev@portals.apache.org


To
pluto-dev@portals.apache.org
cc

Subject
Re: Deploying pluto-1.1 driver and testsuite to Tomcat??






The utilities subproject works for me. . .I'll have a little time today 
to work with people to flush it out if there are some things that 
causing you guys headaches with it.

I think probably the biggest gotcha is that by default it deploys to a 
directory called "pluto-tomcat" which it assumes is a child dir of your 
<pluto-home>.  This is configurable in settings.xml (according to 
maven's site).

David

Zhong ZHENG wrote:
> Hi Craig,
> 
> I know how to deploy pluto 1.1 to tomcat 5.5.9 manually. So if you would 

> like to do that manually too, you may refer to the README file.
> 
> Manual Installation:
> 
> 1/ cd to pluto project home and execute: 'mvn install'
> 2/ copy the following to <TOMCAT_HOME>/shared/lib. (In a clean tomcat 
> installation, the shared/lib directory should be empty)
>      - castor-0.9.6
>      - portlet-api-1.0.jar
>      - pluto-container-1.1-SNAPSHOT.jar
>      - pluto-descriptor-api-1.1-SNAPSHOT.jar
>      - pluto-descriptor-impl-1.1-SNAPSHOT.jar
> 3/ copy the following to <TOMCAT_HOME>/common/endorsed, and replace the 
> original JARs.
>      - xercesImpl-2.6.2
>      - xmlParserAPIs-2.6.2
> 4/ copy the following to <TOMCAT_HOME>/conf/Catalina/localhost:
>      - <PLUTO_HOME>/pluto-portal/src/main/resources/pluto.xml
>      - <PLUTO_HOME>/pluto-testsuite/src/main/resources/testsuite.xml
> 5/ copy and rename the following to <TOMCAT_HOME>/webapps
>     - pluto-portal-1.1-SNAPSHOT.war to pluto-portal.war
>     - pluto-testsuite-1.1-SNAPSHOT.war to pluto-testsuite.war
> 6/ start tomcat and visit: http://localhost:8080/pluto/portal
> 
> 
> Hope that helps.
> Regards.
> 
> On 10/24/05, *CDoremus@hannaford.com <ma...@hannaford.com>* 
> <CDoremus@hannaford.com <ma...@hannaford.com>> wrote:
> 
> 
>     I finally got the pluto-1.1 driver and testsuite built after making
>     a couple of changes to the root pom.xml and the same file under
>     pluto-testsuite that I've checked into SVN. But I haven't been
>     successful in deploying them to Tomcat 5.5.9. Can someone help me
>     with this issue? Specifically, I'd like to know where all the
>     generated jar files should go? They all seem to end up in
>     WEB-INF/lib of the pluto webapp, which raises classloader problems
>     in Tomcat. I moved most of them over to  <TOMCAT_HOME>/shared/lib,
>     but then I ran into an NPE in the test pages, which seemed to be
>     related to a lost ServetContext for the testsuite webapp. (The NPE
>     stack trace points to line 119 in
>     org.apache.pluto.core.PortletDescriptorRegistry).
> 
>     In addition, I moved the pluto.xml Tomcat web context descriptor
>     into <TOMCAT_HOME>/conf/Catalina/localhost. Also, I changed the
>     pluto-testsuite.war name to testsuite.war (and fixed this in its
>     pom.xml). This allowed the testsuite's deployed context (/testsuite)
>     to reflect what was in the portal driver config file
>     (pluto-portal-driver-config.xml).
> 
>     TIA
>     /Craig
> 
> 
> -- 
> 
> ZHENG Zhong
> 
> 1 Avenue Alphand
> 75116 Paris, France
> +33 6 76 80 45 90


Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by "David H. DeWolf" <dd...@apache.org>.
The utilities subproject works for me. . .I'll have a little time today 
to work with people to flush it out if there are some things that 
causing you guys headaches with it.

I think probably the biggest gotcha is that by default it deploys to a 
directory called "pluto-tomcat" which it assumes is a child dir of your 
<pluto-home>.  This is configurable in settings.xml (according to 
maven's site).

David

Zhong ZHENG wrote:
> Hi Craig,
> 
> I know how to deploy pluto 1.1 to tomcat 5.5.9 manually. So if you would 
> like to do that manually too, you may refer to the README file.
> 
> Manual Installation:
> 
> 1/ cd to pluto project home and execute: 'mvn install'
> 2/ copy the following to <TOMCAT_HOME>/shared/lib. (In a clean tomcat 
> installation, the shared/lib directory should be empty)
>      - castor-0.9.6
>      - portlet-api-1.0.jar
>      - pluto-container-1.1-SNAPSHOT.jar
>      - pluto-descriptor-api-1.1-SNAPSHOT.jar
>      - pluto-descriptor-impl-1.1-SNAPSHOT.jar
> 3/ copy the following to <TOMCAT_HOME>/common/endorsed, and replace the 
> original JARs.
>      - xercesImpl-2.6.2
>      - xmlParserAPIs-2.6.2
> 4/ copy the following to <TOMCAT_HOME>/conf/Catalina/localhost:
>      - <PLUTO_HOME>/pluto-portal/src/main/resources/pluto.xml
>      - <PLUTO_HOME>/pluto-testsuite/src/main/resources/testsuite.xml
> 5/ copy and rename the following to <TOMCAT_HOME>/webapps
>     - pluto-portal-1.1-SNAPSHOT.war to pluto-portal.war
>     - pluto-testsuite-1.1-SNAPSHOT.war to pluto-testsuite.war
> 6/ start tomcat and visit: http://localhost:8080/pluto/portal
> 
> 
> Hope that helps.
> Regards.
> 
> On 10/24/05, *CDoremus@hannaford.com <ma...@hannaford.com>* 
> <CDoremus@hannaford.com <ma...@hannaford.com>> wrote:
> 
> 
>     I finally got the pluto-1.1 driver and testsuite built after making
>     a couple of changes to the root pom.xml and the same file under
>     pluto-testsuite that I've checked into SVN. But I haven't been
>     successful in deploying them to Tomcat 5.5.9. Can someone help me
>     with this issue? Specifically, I'd like to know where all the
>     generated jar files should go? They all seem to end up in
>     WEB-INF/lib of the pluto webapp, which raises classloader problems
>     in Tomcat. I moved most of them over to  <TOMCAT_HOME>/shared/lib,
>     but then I ran into an NPE in the test pages, which seemed to be
>     related to a lost ServetContext for the testsuite webapp. (The NPE
>     stack trace points to line 119 in
>     org.apache.pluto.core.PortletDescriptorRegistry).
> 
>     In addition, I moved the pluto.xml Tomcat web context descriptor
>     into <TOMCAT_HOME>/conf/Catalina/localhost. Also, I changed the
>     pluto-testsuite.war name to testsuite.war (and fixed this in its
>     pom.xml). This allowed the testsuite's deployed context (/testsuite)
>     to reflect what was in the portal driver config file
>     (pluto-portal-driver-config.xml).
> 
>     TIA
>     /Craig
> 
> 
> -- 
> 
> ZHENG Zhong
> 
> 1 Avenue Alphand
> 75116 Paris, France
> +33 6 76 80 45 90


Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by CD...@hannaford.com.
Thanks, Zheng. That worked.
/Craig




Zhong ZHENG <he...@gmail.com> 
10/24/2005 05:29 AM
Please respond to
pluto-dev@portals.apache.org


To
pluto-dev@portals.apache.org
cc

Subject
Re: Deploying pluto-1.1 driver and testsuite to Tomcat??






Hi Craig,

I know how to deploy pluto 1.1 to tomcat 5.5.9 manually. So if you would 
like to do that manually too, you may refer to the README file.

Manual Installation:

1/ cd to pluto project home and execute: 'mvn install'
2/ copy the following to <TOMCAT_HOME>/shared/lib. (In a clean tomcat 
installation, the shared/lib directory should be empty)
     - castor-0.9.6
     - portlet-api-1.0.jar
     - pluto-container-1.1-SNAPSHOT.jar
     - pluto-descriptor-api-1.1-SNAPSHOT.jar
     - pluto-descriptor-impl-1.1-SNAPSHOT.jar
3/ copy the following to <TOMCAT_HOME>/common/endorsed, and replace the 
original JARs.
     - xercesImpl-2.6.2
     - xmlParserAPIs-2.6.2
4/ copy the following to <TOMCAT_HOME>/conf/Catalina/localhost:
     - <PLUTO_HOME>/pluto-portal/src/main/resources/pluto.xml
     - <PLUTO_HOME>/pluto-testsuite/src/main/resources/testsuite.xml
5/ copy and rename the following to <TOMCAT_HOME>/webapps
    - pluto-portal-1.1-SNAPSHOT.war to pluto-portal.war
    - pluto-testsuite-1.1-SNAPSHOT.war to pluto-testsuite.war
6/ start tomcat and visit: http://localhost:8080/pluto/portal


Hope that helps.
Regards.

On 10/24/05, CDoremus@hannaford.com <CDoremus@hannaford.com > wrote:

I finally got the pluto-1.1 driver and testsuite built after making a 
couple of changes to the root pom.xml and the same file under 
pluto-testsuite that I've checked into SVN. But I haven't been successful 
in deploying them to Tomcat 5.5.9. Can someone help me with this issue? 
Specifically, I'd like to know where all the generated jar files should 
go? They all seem to end up in WEB-INF/lib of the pluto webapp, which 
raises classloader problems in Tomcat. I moved most of them over to 
<TOMCAT_HOME>/shared/lib, but then I ran into an NPE in the test pages, 
which seemed to be related to a lost ServetContext for the testsuite 
webapp. (The NPE stack trace points to line 119 in 
org.apache.pluto.core.PortletDescriptorRegistry). 

In addition, I moved the pluto.xml Tomcat web context descriptor into 
<TOMCAT_HOME>/conf/Catalina/localhost. Also, I changed the 
pluto-testsuite.war name to testsuite.war (and fixed this in its pom.xml). 
This allowed the testsuite's deployed context (/testsuite) to reflect what 
was in the portal driver config file (pluto-portal-driver-config.xml). 

TIA 
/Craig 

-- 

ZHENG Zhong

1 Avenue Alphand
75116 Paris, France
+33 6 76 80 45 90

Re: Deploying pluto-1.1 driver and testsuite to Tomcat??

Posted by Zhong ZHENG <he...@gmail.com>.
Hi Craig,

I know how to deploy pluto 1.1 to tomcat 5.5.9 manually. So if you would
like to do that manually too, you may refer to the README file.

Manual Installation:

1/ cd to pluto project home and execute: 'mvn install'
2/ copy the following to <TOMCAT_HOME>/shared/lib. (In a clean tomcat
installation, the shared/lib directory should be empty)
- castor-0.9.6
- portlet-api-1.0.jar
- pluto-container-1.1-SNAPSHOT.jar
- pluto-descriptor-api-1.1-SNAPSHOT.jar
- pluto-descriptor-impl-1.1-SNAPSHOT.jar
3/ copy the following to <TOMCAT_HOME>/common/endorsed, and replace the
original JARs.
- xercesImpl-2.6.2
- xmlParserAPIs-2.6.2
4/ copy the following to <TOMCAT_HOME>/conf/Catalina/localhost:
- <PLUTO_HOME>/pluto-portal/src/main/resources/pluto.xml
- <PLUTO_HOME>/pluto-testsuite/src/main/resources/testsuite.xml
5/ copy and rename the following to <TOMCAT_HOME>/webapps
- pluto-portal-1.1-SNAPSHOT.war to pluto-portal.war
- pluto-testsuite-1.1-SNAPSHOT.war to pluto-testsuite.war
6/ start tomcat and visit: http://localhost:8080/pluto/portal


Hope that helps.
Regards.

On 10/24/05, CDoremus@hannaford.com <CD...@hannaford.com> wrote:
>
>
> I finally got the pluto-1.1 driver and testsuite built after making a
> couple of changes to the root pom.xml and the same file under
> pluto-testsuite that I've checked into SVN. But I haven't been successful in
> deploying them to Tomcat 5.5.9. Can someone help me with this issue?
> Specifically, I'd like to know where all the generated jar files should go?
> They all seem to end up in WEB-INF/lib of the pluto webapp, which raises
> classloader problems in Tomcat. I moved most of them over to
> <TOMCAT_HOME>/shared/lib, but then I ran into an NPE in the test pages,
> which seemed to be related to a lost ServetContext for the testsuite webapp.
> (The NPE stack trace points to line 119 in
> org.apache.pluto.core.PortletDescriptorRegistry).
>
> In addition, I moved the pluto.xml Tomcat web context descriptor into
> <TOMCAT_HOME>/conf/Catalina/localhost. Also, I changed the
> pluto-testsuite.war name to testsuite.war (and fixed this in its pom.xml).
> This allowed the testsuite's deployed context (/testsuite) to reflect what
> was in the portal driver config file (pluto-portal-driver-config.xml).
>
> TIA
> /Craig
>

--

ZHENG Zhong

1 Avenue Alphand
75116 Paris, France
+33 6 76 80 45 90