Author: tdraier
Date: Thu Nov 22 17:27:43 2007
New Revision: 19266
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19266&repname=
=3Djahia
Log:
readme files for deploying on jboss and tomcat
Added:
branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/
branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-jackrabbit=
.txt
branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/tomcat-jackrabbi=
t.txt
Added: branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-jackrab=
bit.txt
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/branches/JAHIA=
-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-jackrabbit.txt&rev=3D19266&r=
epname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-jackrabbit=
.txt (added)
+++ branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-jackrabbit=
.txt Thu Nov 22 17:27:43 2007
@@ -0,0 +1,113 @@
+This document describes how to install Jahia on Jboss with Jackrabbit
+
+JBoss : 4.2.2.GA
+Jackrabbit version : 595678
+Jahia : 19258
+JDK : 1.5.0_07
+
+1/ Install Jboss
+
+Download and unzip Jboss
+Edit the bin/run.conf to set the max permgen space to 128M with the follow=
ing parameter :
+-XX:PermSize=3D128M
+
+2/ Deploy Jahia
+
+Create a jahia-ds.xml file in server/default/deploy folder =
+
+Create, in the server "deploy" directory, a file named: =
+ =
+jahia-ds.xml =
+ =
+The content of this file is dedicated to your database configuration. =
+ =
+To declare your database, you will find a lot of example in the following =
directory of your JBoss =
+installation root folder: =
+ =
+jboss/docs/examples/jca =
+ =
+Take one sample files, ie postgres-ds.xml for postgres database, and modif=
y the content of the =
+file with your database connection data. =
+ =
+Replace the jndi-name with the following tag: =
+ =
+<jndi-name>jahiaDS</jndi-name> =
+ =
+Then, add your database driver lib in the following folder: =
+ =
+server/lib. =
+
+Finaly, copy the jetspeed jars (jetspeed-api-2.0.jar, portals-bridges-comm=
on-1.0.jar, =
+portlet-api-1.0.jar, pluto-1.0.1.jar, jetspeed-commons-2.0.jar, jetspeed-a=
pi-2.1-dev.jar) into the following folder: =
+ =
+server/lib =
+
+
+Take the Jahia folder of the Jahia default package. (or a jahia.war file -=
use "maven jahia:war" to generate a war file) =
+ =
+Note : you can take the Jahia folder of an already installed Jahia in orde=
r to migrate this existing Jahia instance to JBoss application server but i=
n that case, you can NOT change the database type. =
+ =
+Copy the Jahia folder in the following folder: =
+ =
+server/default/deploy =
+ =
+Rename the "jahia" folder to "jahia.war" (or unzip the content of your jah=
ia.war file in the jahia.war folder) =
+ =
+Go to the jahia.war/WEB-INF/lib, remove the following files :
+jboss-cache-1.4.1.SP3.jar =
+jboss-common-4.0.3.jar =
+jboss-jmx-4.0.3.jar =
+jboss-minimal-4.0.3.jar =
+jboss-serialization-4.0.3.jar =
+jboss-system-4.0.3.jar
+jsf-api-1.1.jar =
+jsf-impl-1.1.jar
+jackrabbit-api-1.4-595678.jar =
+jackrabbit-jcr-commons-1.4-595678.jar jackrabbit-text-extractors-1.4-=
595678.jar =
+jackrabbit-core-1.4-595678.jar =
+jackrabbit-jcr-rmi-1.4-595678.jar =
+jackrabbit-spi-1.4-595678.jar =
+jackrabbit-core-ext-5.0-SNAPSHOT.jar =
+jackrabbit-spi-commons-1.4-595678.jar =
+
+Move the following files to the server/default/lib directory :
+
+jcr-1.0.jar
+jgroups-all-2.4.1.jar =
+commons-id-0.1-dev.jar =
+commons-discovery-0.2.jar
+public-api-5.0-SNAPSHOT.jar
+
+2/ Deploy Jackrabbit
+
+Create a jackrabbit-jca.rar folder into server/default/deploy.
+Unzip the content of the jackrabbit-jca-1.4-xxx-SNAPSHOT.rar file.
+
+In this directory :
+
+- Replace the repository.xml file with the one provided in jahia.war/WEB-I=
NF/etc/repository
+
+- Copy the file jahia.war/WEB-INF/lib/jackrabbit-core-ext-5.0-SNAPSHOT.jar =
+
+In server/default/deploy, Create a jcr-ds.xml file :
+
+<connection-factories>
+ <tx-connection-factory>
+ <jndi-name>jcr/local</jndi-name>
+ <xa-transaction/>
+ <rar-name>jackrabbit-jca.rar</rar-name>
+ <connection-definition>javax.jcr.Repository</connection-de=
finition>
+ <config-property name=3D"homeDir" type=3D"java.lang.String=
">/temp/jackrabbit</config-property>
+ <config-property name=3D"configFile" type=3D"java.lang.Str=
ing">classpath:repository.xml</config-property>
+ <config-property name=3D"bindSessionToTransaction" type=3D=
"java.lang.Boolean">true</config-property>
+ </tx-connection-factory>
+</connection-factories>
+
+Set the "homeDir" property to any empty folder, where the repository will =
store its data.
+
+
+Start jboss, run the wizard. =
+
+On the database page, you must enter the same information as in jahia-ds.x=
ml .
+
+Restart jboss and play.
Added: branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/tomcat-jackra=
bbit.txt
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/branches/JAHIA=
-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/tomcat-jackrabbit.txt&rev=3D19266&=
repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/tomcat-jackrabbi=
t.txt (added)
+++ branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/tomcat-jackrabbi=
t.txt Thu Nov 22 17:27:43 2007
@@ -0,0 +1,69 @@
+This document describes how to install Jahia on Tomcat with Jackrabbit as =
a shared repository (not embedded into Jahia)
+
+Tomcat : 5.5.23
+Jackrabbit version : 595678
+Jahia : 19258
+JDK : 1.5.0_07
+
+-Install the following JARs in common/endorsed :
+xercesImpl-2.9.1.jar =
+xmlParserAPIs-2.9.1.jar
+
+-Copy these files from jahia/WEB-INF/lib to common/lib :
+
+commons-codec-1.3.jar
+commons-collections-3.1.jar
+commons-discovery-0.2.jar
+commons-httpclient-3.0.jar
+commons-id-0.1-dev.jar
+concurrent-1.3.4.jar
+geronimo-spec-jta-1.0-M1.jar
+jcr-1.0.jar
+log4j-1.2.14.jar
+lucene-core-2.2.0.jar
+nekohtml-0.9.4.jar
+PDFBox-0.6.7a-patched.jar
+poi-2.5.1-final-20040804.jar
+slf4j-log4j12-1.3.0.jar
+tm-extractors-0.4.jar
+
+-Move these files from jahia/WEB-INF/lib to common/lib :
+
+jackrabbit-api-1.4-SNAPSHOT.jar
+jackrabbit-core-1.4-SNAPSHOT.jar
+jackrabbit-jcr-commons-1.4-SNAPSHOT.jar
+jackrabbit-jcr-rmi-1.4-SNAPSHOT.jar
+jackrabbit-text-extractors-1.4-SNAPSHOT.jar
+jackrabbit-spi 4-SNAPSHOT.jar
+public-api-5.0-SNAPSHOT.jar
+jackrabbit-core-ext-5.0-SNAPSHOT.jar
+
+-Declare JNDI resources in server.xml file :
+
+<Resource name=3D"jcr/repository"
+ auth=3D"Container"
+ type=3D"javax.jcr.Repository"
+ factory=3D"org.apache.jackrabbit.core.jndi.JahiaBindableReposito=
ryFactory"
+ configFilePath=3D"..."
+ repHomeDir=3D"..." />
+
+<Resource name=3D"jahia/users"
+ auth=3D"Container"
+ type=3D"org.jahia.api.user.JahiaUserService"
+ factory=3D"org.jahia.api.user.JahiaUserServiceFactory"
+ />
+
+The configFilePath should be the full path of the repository.xml file (def=
ault one is packaged with jahia in jahia/WEB-INF/etc/repository, you can po=
int to it or copy it somewhere else).
+The repHomeDir will be the storage area for the repository, it must point =
to a valid directory.
+If you use the JahiaBindableRepositoryFactory, you can use environment var=
iables in the path, like ${jahiaWebAppRoot}/WEB-INF/etc/repository/reposito=
ry.xml .
+
+-In jahia.xml file, comment the 2 Resource jcr/repository and jahia/users,=
and uncomment the 2 Resources references at the end of the file :
+
+ <ResourceLink name=3D"jcr/repository"
+ global=3D"jcr/repository"
+ type=3D"javax.jcr.Repository"/>
+
+ <ResourceLink name=3D"jahia/users"
+ global=3D"jahia/users"
+ type=3D"org.jahia.api.user.JahiaUserService" />
+ =
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list