# Copyright 2003-2006 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. Req's: Java 5 (Java 4 untested at this point, but should work) Maven 2.0.6+ Tomcat 5.5.x (6.0.x should work, but untested) SVN Install Tomcat 5.5.x 1) Download and install Tomcat 5.5.x 1) with emptySessionPath=true in conf/server.xml 2) Configure user in conf/tomcat-users.xml with roles="tomcat,pluto" 3) echo "JAVA_OPTS=\"\$JAVA_OPTS -Dorg.apache.pluto.useJaxp=true\"" >> bin/setenv.sh (needed for running under Java 5 w/o XML libs in common/endorsed) Checkout and install Pluto 1.1.5-SNAPSHOT (unreleased, contains fix for PLUTO-417) 1) svn co http://svn.apache.org/repos/asf/portals/pluto/branches/pluto-1.1.x 2) cd pluto-1.1.x 3) mvn install 4) mvn pluto:install -DinstallDir=/path/to/tomcat Check out and install WSRP4J from trunk 1) svn co http://svn.apache.org/repos/asf/portals/wsrp4j/trunk wsrp4j-trunk 2) cd wsrp4j-trunk 3) cp build.properties.sample build.properties ; vi build.properties 4) mvn install 5) copy proxyportlet webapp to tomcat webapps: cp consumer-proxyportlet/target/wsrpj-proxyportlet.war /path/to/tomcat/webapps 6) copy producer webapp to tomcat webapps: cp producer/target/wsrp4j-producer.war /path/to/tomcat/webapps Configure WSRP4J Proxy Portlet 1) Start Tomcat 1) Web to http://localhost:8080/pluto/portal and login 2) Add WSRP4J proxy portlets (two of them) using pluto admin 3) Edit WSRP4J producer config, changing endpoints to port 8080. TODO Configure WSRP4J Producer