See below...

On 11/3/05, Pollähne. Ullrich <[EMAIL PROTECTED]> wrote:
Hi,

is Pluto 1.1 (as of today noon) supposed to run in tomcat 5.5.12?
I checked out everything from the svn repository, built the stuff, installed pluto and have the following in webapps after starting tomcat:
pluto-portal/
ROOT/
pluto-testsuite/
tomcat-docs/
pluto-portal.war
pluto-testsuite.war


Here seems to be a problem. Check the dir <TOMCAT>/conf/Catalina/localhost, do you have the following files?
 * pluto.xml
 * testsuite.xml

If you don't have, copy these two files to the config dir. You may find the two files in pluto's source:
 * pluto-portal/src/main/resources/pluto.xml
 * pluto-testsuite/src/main/resources/testsuite.xml

After starting tomcat, under webapps, you should see two directories unzipped from the war files:
 * pluto/
 * testsuite/

After re-starting tomcat and directing my browser to http://localhost:8080/pluto-portal I see the following exptions instead of the portlets:

And you should check the URL: http://localhost:8080/pluto/portal
 

org.apache.pluto.PortletContainerRuntimeException: Error creating portlet invoker for portlet TestPortlet1.  Unable to locate context /testsuite.  Check your portlet configuration and ensure cross context dispatching is enabled.

Well, there is no context /testsuite but a context /pluto-testsuite.
Tomcat complains about the following:
WARNUNG: A docBase C:\Programme\Tomcat 5.5\webapps\pluto-testsuite.war inside the host appBase has been specified, and will be ignored

So it seems that this is reason for the nonexistent /testsuite context. But was this different in tomcat 5.5.9?

If I rename pluto-portal* to pluto* and pluto-testsuite* to testsuite* then I get the portal site but only after removing testsuite/WEB-INF/lib/jsp-api-2.0.jar I am able to use the testsuite since tomcat already has a jsp-api.jar in it's path.



Another question:
The readme states that I should do the following to install my portlet:

    Step 1: 'cd pluto-install'
    Step 2: 'maven pluto:assemble - Dmaven.deploy.deployment=<path to war>

    Step 1: 'cd pluto-install'
    Step 2: 'maven pluto:deploy -Dmaven.deploy.deployment=<path to war>

I have not tried it yet since this page http://portals.apache.org/pluto/1.1/getting-started.html tells to go to pluto-util for the assemble task and in addition I do not know how the deploy task does know where to deploy to.

Ok I dared to execute the assemble task (in pluto-util) and got the following:
        BUILD FAILED
        Goal "pluto:assemble" does not exist in this project.

Ullrich.


Regards.

--

ZHENG Zhong

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

Reply via email to