Hi all, 
I was trying to configure JackRabbit in order to get everything stored in an
Oracle Database, and trying to not create any files on the LocalFileSystem. 

But I'm still finding this file and this folder 
   ${rep.home}/workspaces/${defaultWorkspace} 
   ${rep.home}/.lock 

Is there any option in order of not creating any File/Directory on
LocalFileSystem?

Repository Config creates a folder using java.io.File instead of
OracleFileSystem

org.apache.jackrabbit.core.config.RepositoryConfig

        // The physical workspace home directory on disk (TODO encode name?)
        File directory = new File(workspaceDirectory, name);

        // Create the physical workspace directory, fail if it exists
        // or cannot be created
        if (!directory.mkdir()) {
            if (directory.exists()) {
                throw new ConfigurationException(
                        "Workspace directory already exists: " + name);
            } else {
                throw new ConfigurationException(
                        "Failed to create workspace directory: " + name);
            }
        }

<?xml version="1.0"?>
<!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD
Jackrabbit 1.2//EN"
                           
"http://jackrabbit.apache.org/dtd/repository-1.2.dtd";>
<Repository>
     <FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
        
        
        
                
     </FileSystem>
    <Security appName="Jackrabbit">
        <AccessManager
class="org.apache.jackrabbit.core.security.SimpleJBossAccessManager">
        </AccessManager>
        <LoginModule 
                class="org.jboss.security.auth.spi.UsersRolesLoginModule"       
        </LoginModule>
    </Security>
    <Workspaces rootPath="${rep.home}/workspaces"
defaultWorkspace="JackRabbitWS" configRootPath="/configRootPath" />
    <Workspace name="JackRabbitWS">
        <FileSystem
class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
                
                
                
                        
             </FileSystem>       
        <PersistenceManager
class="org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager">
                
                        
                        
                
                
                </PersistenceManager>
    </Workspace>
</Repository>

thanks in advance



-- 
View this message in context: 
http://www.nabble.com/Workspaces-Configuration---tp14879928p14879928.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to