jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shah, Sumit (CGI Federal)" <Sumit.S...@cgifederal.com>
Subject Jackrabbit - DBFileSystem Error
Date Mon, 15 Oct 2012 18:18:30 GMT
Hi,

I am trying to use the DBFileSystem and DBDataStore to cluster 2 Jackrabbit instance. I cannot
use a shared filesystem and hence I am trying to use the DBFileSystem, but I get the following
error while deploying the Jackrabbit WAR file. I am using Jackrabbit 2.2.5. I see that the
class is present in the jackrabbit-core-2.2.5.jar inside the WAR file. I also tried using
the OracleFileSystem with no luck.


Caused by: org.apache.jackrabbit.core.config.ConfigurationException: Configured bean implementation
class org.apache.jackrabbit.core.fs.db.DbFileSystem  was not found.
        at org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:217) ~[jackrabbit-core-2.2.5.jar:2.2.5]
        at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$6.getFileSystem(RepositoryConfigurationParser.java:1056)
~[jackrabbit-core-2.2.5.jar:2.2.5]
        at org.apache.jackrabbit.core.config.RepositoryConfig.getFileSystem(RepositoryConfig.java:911)
~[jackrabbit-core-2.2.5.jar:2.2.5]
        at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:285)
~[jackrabbit-core-2.2.5.jar:2.2.5]
        at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:605) ~[jackrabbit-core-2.2.5.jar:2.2.5]
        at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.createRepository(RepositoryStartupServlet.java:445)
[_wl_cls_gen.jar:na]
        at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServlet.java:413)
[_wl_cls_gen.jar:na]
        ... 45 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.apache.jackrabbit.core.fs.db.DbFileSystem
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]
        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]
        at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[na:1.6.0_25]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[na:1.6.0_25]
        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]
        at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]
        at java.lang.Class.forName0(Native Method) ~[na:1.6.0_25]
        at java.lang.Class.forName(Class.java:247) ~[na:1.6.0_25]
        at org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:177) ~[jackrabbit-core-2.2.5.jar:2.2.5]
        ... 51 common frames omitted

Here is my configuration for the DBFileSystem in the repository.xml:

<FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
    <param name="driver" value="javax.naming.InitialContext" />
    <param name="url" value="jackrabbit1.txDataSource" />
    <param name="schemaObjectPrefix" value="fs_"/>
  </FileSystem>

Any help will be appreciated.

Thanks
Sumit

Mime
View raw message