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]

Reply via email to