Windows:

Change line 176 from

jakarta-pluto/portal/src/java/org/apache/pluto/portalImpl/services/portletdefinitionregistry/PortletDefinitionRegistryServiceFileImpl.java

to     if (webModule.endsWith(WAR_FILE_EXT) && webModule.startsWith(TMP_PREFIX.substring(0,3)) && len > TMP_PREFIX.length() + WAR_FILE_EXT.length()) {

maven.tomcat.home=C:/tmp

maven.tomcat.version.major=4

After "maven fullDeployment" you find 3 Folders in c:\tmp : common, shared and webapps

copy all jar files from "common" and "shared" to %JBOSS%\server\default\lib

go to webapps/pluto and build a war useing

jar cvf pluto.war *

do the same in wbapps/testsuite useing

jar cvf testsuite.war *

create a portal.ear folder under %JBOSS%\server\default\deploy

create a META-INF folder into portal.ear and add the following xml files:

application.xml


<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd"> <application> {{{ <display-name>Portal Applications</display-name>

{{{ </web>

{{{ </web>

</application>

jboss-app.xml


<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.3V2//EN" "http://www.jboss.org/j2ee/dtd/jboss-app_3_2.dtd"> <jboss-app>   <loader-repository>your.dot.com:loader=portal.ear</loader-repository>  </jboss-app>


copy both war to %JBOSS%\server\default\deploy\portal.ear

start jboss

For JBoss 3.0.x you will also need to replace the castor jar with the one that ships with Pluto

For windowsYou may also need to set your TMP env variable to something without spaces in it (otherwise it'll get translated with %20s)

PlutoProjectPages/JBoss (last edited 2009-09-20 23:32:43 by localhost)