In Step 3, when you deployed the cocoon.war file to jetspeed did you copy
the the cocoon.war file to the Jetspeed/WEB-INF/deploy dir to deploy it ? If
so did you check to see if there were any errors when you deployed it ? If
you click on the PALM tab in the Administrative Interface you will be able
to see which applications are loaded into your Jetspeed Instance.

I also noticed that you have the value of  7 in the row value, when it
should be one, but I don't think that should make a big difference.

Good luck,
Dominique


On 6/20/07, Bruce Atherton <[EMAIL PROTECTED]> wrote:

I am trying to deploy a standard build of Cocoon 2.1.9 that contains a
JSR-168 portlet to Jetspeed 2.1, but I seem to be hitting a roadblock.
Following the instructions at
http://portals.apache.org/jetspeed-2/multiproject/jetspeed-deploy-tools/index.html,
I did the following:

1. I built a WAR file of Cocoon 2.1.9 with the portlet included. This is
called cocoon.war.
2. I checked that the portlet.xml file contained a definition for
CocoonPortlet (as it does out of the box).
3. I deployed the cocoon.war file to the Tomcat instance running Jetspeed
2.
4. I modified
${Jetspeed-2.1}/webapps/jetspeed/WEB-INF/pages/default-page.psml to
include:
    <fragment id="dp-19" type="portlet" name="cocoon::CocoonPortlet">
      <property name="row" value="7"/>
      <property name="column" value="0"/>
    </fragment>
5. I started Jetspeed.
6. I verified that a cocoon directory was created from the contents of
cocoon.war.
7. I navigated to the Jetspeed default page.

Instead of seeing the expected "Hello from CocoonPortlet" text, I get this
error
message: "Portlet Application cocoon not available". The jetspeed.log has
this:

2007-06-19 16:49:49,153 [http-8080-Processor25] ERROR
org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
portlet OID dp-19: javax.portlet.UnavailableException: Portlet Application
cocoon not available

I've asked on the Cocoon list but haven't received a response, and I
thought the people here might be more familiar with what is going on. Have I
missed a step in deploying a portlet to Jetspeed here? What am I missing to
get a portlet like this to deploy?

Thanks for any help.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"In today's highly interdependent world, individuals and nations can no
longer resolve many of their problems by themselves. We need one another. We
must therefore develop a sense of universal responsibility. . . It is our
collective and individual responsibility to protect and nurture the global
family, to support its weaker members, and the preserve and tend to the
environment in which we all live." His Holiness the Dalai Lama, A Policy of
Kindness: An Anthology of Writings by and about the Dali Lama (Ithaca, Ny:
Snow Lion, 1990), 113-14.

Reply via email to