Author: tdraier
Date: Thu Dec 27 11:54:13 2007
New Revision: 19421

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19421&repname=
=3Djahia
Log:
alfresco deployement

Added:
    branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-alfresco.t=
xt

Added: branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-alfresc=
o.txt
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/branches/JAHIA=
-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-alfresco.txt&rev=3D19421&rep=
name=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-alfresco.t=
xt (added)
+++ branches/JAHIA-5-0-3-DMS-JACKRABBIT-BRANCH/deployments/jboss-alfresco.t=
xt Thu Dec 27 11:54:13 2007
@@ -0,0 +1,70 @@
+Alfresco :
+
+--------- Install and config =

+
+- Follow the instructions at : http://wiki.alfresco.com/wiki/Deploying_WAR=
_JBoss
+
+deploy alfresco.war in a alfresco.war folder
+
+- edit : <jboss>/server/default/deploy/alfresco.war/WEB-INF/classes/alfres=
co/repository.properties for database
+
+- create the db
+
+- remove the <jboss>/bin/alf_data dir if it exists (previous install)
+
+- edit the classes/alfresco/file-servers.xml to set the port for smb and f=
tp :
+
+   <config evaluator=3D"string-compare" condition=3D"FTP Server">
+         <serverEnable enabled=3D"true"/>
+         <port>1121</port>
+   </config>
+  =

+- edit the classes/alfresco/core-services-context.xml to add a reference I=
n the list dictionaryBootstrap/models : =

+               =

+               <value>alfresco/model/jahia.xml</value>
+               =

+- add the alfresco/model/jahia.xml
+
+------------- JNDI Configuration
+download jcr-jndi-alfresco
+create alfresco.sar , put the jar in it
+create alfresco.sar/META-INF
+create the file jboss-service.xml :
+
+<server>
+    <mbean code=3D"org.alfresco.jcr.jndi.mbean.JbossJndiJcr" =

+           name=3D"baseJcr.alfresc:service=3DJBossJndiJcr">
+        <attribute name=3D"JndiName">jcr/baseRepository</attribute>
+        <attribute name=3D"JcrRepositoryName">baseAlfrescoRepository</attr=
ibute>
+        <depends>jboss:service=3DNaming</depends>
+    </mbean>
+</server>
+
+- add the file jcr-api-jndi-context.xml  into alfresco.war/WEB-INF/classes=
/alfresco/extension/
+
+- remove naming* .jar and jcr-1.0.jar
+
+- remove the file org.hibernate.jdbc.ConnectionWrapper from hibernate-3.2.=
1.jar :
+zip -d hibernate-3.2.1.jar  org/hibernate/jdbc/ConnectionWrapper.class
+
+
+---------------- Auth
+
+- start jboss, create the users root and @system in alfresco (with admin p=
anel)
+- stop jboss
+
+- take the classes/alfresco/authentication-services-context.xml
+
+- replace the jar lib/acegi-security-0.8.2_patched.jar
+
+- create a login entry in server/default/login-config.xml :
+
+    <application-policy name =3D "JAASTest">
+       <authentication>
+          <login-module code =3D "org.jahia.jaas.JahiaLoginModule"
+             flag =3D "required">
+          </login-module>
+       </authentication>
+    </application-policy>
+    =

+    =

\ No newline at end of file

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to