cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: JSR168Portlet
Date Mon, 15 Nov 2004 16:45:03 GMT
   Date: 2004-11-15T08:45:03
   Editor: RalphGoers <Ralph_Goers@dslextreme.com>
   Wiki: Cocoon Wiki
   Page: JSR168Portlet
   URL: http://wiki.apache.org/cocoon/JSR168Portlet

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -43,10 +43,20 @@
 === Deployment ===
 
 This example documents how to install the R''''''ssPortlet found at [http://sourceforge.net/projects/portlet-opensrc
Portlet Open Source Trading Site]. You'll need:
+
  *  jars (found in webapps/WEB-INF/lib of your Cocoon build):
   * The pluto jar (pluto-1.0.1-rc1.jar in release 2.1.6). 
   * portlet-api-1.0.jar.
+
 Move these two jars into a library shared across web applications in your servlet container.
In Tomcat this should be $CATALINA_BASE/shared/lib however as of release 5.0.28 this did not
work and the jars need to be placed in $CATALINA_HOME/common/lib.
+
+On Tomcat, Cocoon must be configured to allow access to other web applications. This is enabled
by creating a configuration file with crossContext="true" specified. For Tomcat release 5.0,
this is documented at [http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
Server Configuration Reference]. An example configuration file might look like:
+
+{{{                                                                                     
                                                                                         
                                                                                         
                   
+<Context path="/cocoon" docBase="${catalina.home}/webapps/cocoon"
+        debug="0" crossContext="true">
+</Context>
+}}}
 
 Unjar R''''''ssPortlet.war into an exploded web application directory in the servlet container
(i.e. webapps/R''''''ssPortlet in Tomcat).
 

Mime
View raw message