jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller" <thomas.tom.muel...@gmail.com>
Subject Re: Hello / questions
Date Mon, 15 Oct 2007 09:13:26 GMT
Hi,

Could you please describe what files (directories and file names) you
want to store remotely? Could you also describe the use case?

Thanks,
Thomas


On 10/15/07, henri godron <enjoyaol@gmail.com> wrote:
> Hello everybody.
>
> I have a few questions about jackrabbit.
>
> First of all i would like to dev a new store (file system), which is kind of
> a remote file system data store. For example i would like to dev an FTP
> store. Just for the data store. I want the persistance manager and
> versionning still remaining like the default configuration provided (derby
> and all). I just want the files to be remotely written/readen through
> jackrabbit and its webdav webapp.
>
> To do so i checked the project out from SVN and started debugging. I then
> modified LocalFileSystem.java. I compiled and replaced the real one with the
> new one (modified by me). Basically i just put sysout() everywhere in the
> code, in every method..
>
> Here is my problem : whenever i start tomcat, i can see jackrabbit going
> through the init() but then if i copy/paste a file through the windows
> explorer (network favorites webdave client), its not going though my class..
>
> Here is the tomcat log regarding this operation : I start tomcat, i log into
> the repository using Windows XP and i create a new folder. (and there is
> already 3 files inside). Its not going through any method of
> LocalFileSystem. Do you know why ? (the YEAHH in the log is a sysout in
> init())
>
>
> Thanks !
>
>
> 15 oct. 2007 10:56:57
> org.apache.catalina.core.AprLifecycleListenerlifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path: C:\Program
> Files
> in;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Intel\DMIX;C:\Program Files\MySQL\MySQL Server 5
> 90\Tools\binn\;C:\Program
> Files\Java\jdk1.6.0_02\bin\;D:\subversion-bin;D:\Sun\jwsdp-
> 2.0\jwsdp-shared\bin;D:\subversion-bin;D:\SLIDE\wck\apache-ant-1.7.0\b
>
> 15 oct. 2007 10:56:57 org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
> 15 oct. 2007 10:56:57 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 344 ms
> 15 oct. 2007 10:56:57 org.apache.catalina.core.StandardService start
> INFO: DÚmarrage du service Catalina
> 15 oct. 2007 10:56:57 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5
> 15 oct. 2007 10:56:57 org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 15 oct. 2007 10:56:58 org.apache.catalina.startup.HostConfig deployWAR
> INFO: DÚploiement de l'archive jackrabbit-webapp.war de l'application web
> log4j:WARN No appenders could be found for logger (
> org.apache.commons.digester.Digester.sax).
> log4j:WARN Please initialize the log4j system properly.
> 15.10.2007 10:56:58 *INFO * root: Logging initialized. (LoggingServlet.java,
> line 87)
> 15.10.2007 10:56:58 *INFO * RepositoryStartupServlet:
> RepositoryStartupServlet initializing... (RepositoryStartupServlet.java,
> line 233)
> 15.10.2007 10:56:58 *INFO * AbstractConfig: Configuration of BootstrapConfig
> (AbstractConfig.java, line 101)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   valid: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   rmiConfig:
> org.apache.jackrabbit.j2ee.RMIConfig@97d01f (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   repositoryConfig:
> jackrabbit/repository.xml (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   repositoryHome: jackrabbit (
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   repositoryName:
> jackrabbit.repository (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   jndiConfig:
> org.apache.jackrabbit.j2ee.JNDIConfig@feb48 (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 15.10.2007 10:56:58 *INFO * AbstractConfig: Configuration of JNDIConfig (
> AbstractConfig.java, line 101)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   valid: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   jndiName:
> jackrabbit.repository (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   jndiEnabled: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   jndiEnv: {
> java.naming.provider.url=http://www.apache.org/jackrabbit,
> java.naming.factory.initial=org.apache.j
> extFactory} (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 15.10.2007 10:56:58 *INFO * AbstractConfig: Configuration of RMIConfig (
> AbstractConfig.java, line 101)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   valid: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   rmiName: jackrabbit.repository(
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.RMIConfig (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   rmiUri:
> //localhost:1099/jackrabbit.repository (AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   rmiPort: 1099 (
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   rmiEnabled: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:   rmiHost: localhost (
> AbstractConfig.java, line 106)
> 15.10.2007 10:56:58 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 15.10.2007 10:56:58 *INFO * RepositoryImpl: Starting repository... (
> RepositoryImpl.java, line 223)
> 15.10.2007 10:56:58 *WARN * RepositoryLock: Existing lock file D:\apache-
> tomcat-5.5.25-src\build\build\bin\jackrabbit\.lock detected. Repository was
> not sh
> 111)
>
>
> YEAHHHH
>
>
> 15.10.2007 10:56:58 *INFO * LocalFileSystem: LocalFileSystem initialized at
> path D:\apache-tomcat-5.5.25-src\build\build\bin\jackrabbit\repository(LocalFi
> 15.10.2007 10:56:59 *INFO * NodeTypeRegistry: no custom node type
> definitions found (NodeTypeRegistry.java, line 839)
>
>
> YEAHHHH
>
>
> 15.10.2007 10:56:59 *INFO * LocalFileSystem: LocalFileSystem initialized at
> path D:\apache-tomcat-5.5.25-src\build\build\bin\jackrabbit\version(LocalFileS
>
>
> YEAHHHH
>
>
> 15.10.2007 10:56:59 *INFO * LocalFileSystem: LocalFileSystem initialized at
> path D:\apache-tomcat-5.5.25-src\build\build\bin\jackrabbit\version\blobs(Loca
> 15.10.2007 10:56:59 *INFO * RepositoryImpl: initializing workspace
> 'default'... (RepositoryImpl.java, line 1690)
>
>
> YEAHHHH
>
>
> 15.10.2007 10:56:59 *INFO * LocalFileSystem: LocalFileSystem initialized at
> path D:\apache-
> tomcat-5.5.25-src\build\build\bin\jackrabbit\workspaces\default
>
>
> YEAHHHH
>
>
> 15.10.2007 10:56:59 *INFO * LocalFileSystem: LocalFileSystem initialized at
> path D:\apache-
> tomcat-5.5.25-src\build\build\bin\jackrabbit\workspaces\default\
> 15.10.2007 10:56:59 *INFO * RepositoryImpl: workspace 'default' initialized
> (RepositoryImpl.java, line 1731)
>
>
> YEAHHHH
>
>
> 15.10.2007 10:56:59 *INFO * LocalFileSystem: LocalFileSystem initialized at
> path D:\apache-tomcat-5.5.25-src\build\build\bin\jackrabbit\repository\index(L
> 15.10.2007 10:56:59 *INFO * SearchIndex: Index initialized: D:\apache-
> tomcat-5.5.25-src\build\build\bin\jackrabbit/repository/index (
> SearchIndex.java, line
>
>
> YEAHHHH
>
>
> 15.10.2007 10:56:59 *INFO * LocalFileSystem: LocalFileSystem initialized at
> path D:\apache-
> tomcat-5.5.25-src\build\build\bin\jackrabbit\workspaces\default\
> 15.10.2007 10:56:59 *INFO * SearchIndex: Index initialized: D:\apache-
> tomcat-5.5.25-src\build\build\bin\jackrabbit\workspaces\default/index (
> SearchIndex.ja
> 15.10.2007 10:56:59 *INFO * RepositoryImpl: Repository started (
> RepositoryImpl.java, line 322)
> 15.10.2007 10:56:59 *INFO * RepositoryStartupServlet: Repository bound via
> RMI with name: //localhost:1099/jackrabbit.repository
> (RepositoryStartupServlet.
> 15.10.2007 10:56:59 *INFO * RepositoryStartupServlet: Repository bound to
> JNDI with name: jackrabbit.repository (RepositoryStartupServlet.java, line
> 431)
> 15.10.2007 10:56:59 *INFO * RepositoryStartupServlet:
> RepositoryStartupServlet initialized. (RepositoryStartupServlet.java, line
> 239)
> 15.10.2007 10:56:59 *INFO * RepositoryAccessServlet: RepositoryAccessServlet
> initialized. (RepositoryAccessServlet.java, line 90)
> 15.10.2007 10:56:59 *INFO * SimpleWebdavServlet: resource-path-prefix =
> '/repository' (SimpleWebdavServlet.java, line 151)
> 15.10.2007 10:56:59 *INFO * SimpleWebdavServlet: WWW-Authenticate header =
> 'Basic realm="Jackrabbit Webdav Server"' (SimpleWebdavServlet.java, line
> 157)
> 15 oct. 2007 10:56:59 org.apache.coyote.http11.Http11BaseProtocol start
> INFO: DÚmarrage de Coyote HTTP/1.1 sur http-8080
> 15 oct. 2007 10:57:00 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 15 oct. 2007 10:57:00 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/16  config=null
> 15 oct. 2007 10:57:00 org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> 15 oct. 2007 10:57:00 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2344 ms
> 15.10.2007 10:57:08 *INFO * AbstractConfig: Configuration of BootstrapConfig
> (AbstractConfig.java, line 101)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   valid: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   rmiConfig:
> org.apache.jackrabbit.j2ee.RMIConfig@670479 (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   repositoryConfig:
> jackrabbit/repository.xml (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   repositoryHome: jackrabbit (
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   repositoryName:
> jackrabbit.repository (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   jndiConfig:
> org.apache.jackrabbit.j2ee.JNDIConfig@156b386 (AbstractConfig.java, line
> 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 15.10.2007 10:57:08 *INFO * AbstractConfig: Configuration of JNDIConfig (
> AbstractConfig.java, line 101)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   valid: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   jndiName:
> jackrabbit.repository (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   jndiEnabled: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   jndiEnv: {
> java.naming.provider.url=http://www.apache.org/jackrabbit,
> java.naming.factory.initial=org.apache.j
> extFactory} (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 15.10.2007 10:57:08 *INFO * AbstractConfig: Configuration of RMIConfig (
> AbstractConfig.java, line 101)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   valid: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   rmiName: jackrabbit.repository(
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.RMIConfig (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   rmiUri:
> //localhost:1099/jackrabbit.repository (AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   rmiPort: 1099 (
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   rmiEnabled: true (
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:   rmiHost: localhost (
> AbstractConfig.java, line 106)
> 15.10.2007 10:57:08 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 15.10.2007 10:57:08 *INFO * RepositoryAccessServlet: Acquired repository via
> JNDI. (RepositoryAccessServlet.java, line 193)
> 15.10.2007 10:57:18 *INFO * ImportContextImpl: Result for IOHandler (
> org.apache.jackrabbit.server.io.DefaultHandler): OK (DefaultIOListener.java,
> line 50)
>
> --
> ________________
> Henri Godron
> 06 80 00 59 71
>

Mime
View raw message