1 1. /usr/java/jdk1.5.0_15/jre/lib/security/ sur le server avec jackrabbit, elle doit etre.
3 permission java.net.SocketPermission "*:1024-65535", "connect, accept, resolve";
4 permission java.net.SocketPermission "*80", "connect";
5 permission.java.security.AllPermission;
8 2. catalina.sh CATALINA_OPTS="-Djava.rmi.server.hostmane=193.48.120.93" pour RMI
11 This file must be put in the repository location for example if the jackrabbit directory is
12 /usr/tomcat/JACKRABBIT then this file must be in this location.
13 At each restart of the server, this file will be loaded in memory.
14 Usage: in the <param name = "access" value = "restricted"... > located at :
16 class="com.pentila.jackrabbit.auth.SimpleCASAccessManager">
17 <param name="access" value="restricted" />
19 value = "restricted" will force the application to restrict access
20 according to the properties of the nodes value = "anonymous" will let
21 every body see what everybody has.
24 the value = "restricted" which means that the access is based on the properties of each node, cand
25 be modified to value = "anonymous" to have access anywhere in the repository
27 4. the file bootstrap.properties is used by repository.xml
29 java.naming.factory.initial=org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory
31 repository.home=jackrabbit
32 Enable RMI for accessing the repository. Other settings are found in applicationContext-repository.xml
33 that comes with the application.
35 Location of the repository.xml
36 repository.config=jackrabbit/repository.xml
37 With this name, the repository will be registered in JNDI, and can be retrieved with RMI or with a
38 Context object if jndi is enabled.
39 repository.name=jackrabbit.repository
40 rmi.host=193.48.120.93
41 java.naming.provider.url=http://www.apache.org/jackrabbit
46 5. for registering custom node types, a file with the name:
47 custom-node-types.xml must be set in the /repository/nodetypes location.
48 the format of the content can be viewed in a file located in the jar: jackrabbit-core*.jar
49 in the path: org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml.
50 for registering properties to a node, that exists already, this file can be edited and the jar
51 will be reconstructed.
53 6. monday 24 nov the jar jackrabbit-core*.jar must be set in the classpath of the project ( server,or local)
54 ... the differences between this jar and the one from jackrabbit site are that there are new properties for nodes file and folder.