--- /dev/null
+1. /usr/java/jdk1.5.0_15/jre/lib/security/ sur le server avec jackrabbit, elle doit etre.
+ grant {
+ permission java.net.SocketPermission "*:1024-65535", "connect, accept, resolve";
+ permission java.net.SocketPermission "*80", "connect";
+ permission.java.security.AllPermission;
+ };
+
+2. catalina.sh CATALINA_OPTS="-Djava.rmi.server.hostmane=193.48.120.93" pour RMI
+
+3. repository.xml
+ This file must be put in the repository location for example if the jackrabbit directory is
+ /usr/tomcat/JACKRABBIT then this file must be in this location.
+ At each restart of the server, this file will be loaded in memory.
+ Usage: in the <param name = "access" value = "restricted"... > located at :
+ <AccessManager
+ class="com.pentila.jackrabbit.auth.SimpleCASAccessManager">
+ <param name="access" value="restricted" />
+ <!--
+ value = "restricted" will force the application to restrict access
+ according to the properties of the nodes value = "anonymous" will let
+ every body see what everybody has.
+ -->
+ </AccessManager>
+ the value = "restricted" which means that the access is based on the properties of each node, cand
+ be modified to value = "anonymous" to have access anywhere in the repository
+
+4. the file bootstrap.properties is used by repository.xml
+
+ java.naming.factory.initial=org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory
+ Home directory :
+ repository.home=jackrabbit
+ Enable RMI for accessing the repository. Other settings are found in applicationContext-repository.xml
+ that comes with the application.
+ rmi.enabled=true
+ Location of the repository.xml
+ repository.config=jackrabbit/repository.xml
+ With this name, the repository will be registered in JNDI, and can be retrieved with RMI or with a
+ Context object if jndi is enabled.
+ repository.name=jackrabbit.repository
+ rmi.host=193.48.120.93
+ java.naming.provider.url=http://www.apache.org/jackrabbit
+ jndi.enabled=true
+ rmi.port=1111
+
+
+5. for registering custom node types, a file with the name:
+ custom-node-types.xml must be set in the /repository/nodetypes location.
+ the format of the content can be viewed in a file located in the jar: jackrabbit-core*.jar
+ in the path: org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml.
+ for registering properties to a node, that exists already, this file can be edited and the jar
+ will be reconstructed.
+
+ 6. monday 24 nov the jar jackrabbit-core*.jar must be set in the classpath of the project ( server,or local)
+ ... the differences between this jar and the one from jackrabbit site are that there are new properties for nodes file and folder.
\ No newline at end of file