From dev-return-36461-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Oct 15 18:19:16 2012 Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBD66D2B4 for ; Mon, 15 Oct 2012 18:19:16 +0000 (UTC) Received: (qmail 73522 invoked by uid 500); 15 Oct 2012 18:19:16 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 73457 invoked by uid 500); 15 Oct 2012 18:19:16 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 73447 invoked by uid 99); 15 Oct 2012 18:19:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 18:19:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.200.184.20] (HELO smtp.cgifederal.com) (208.200.184.20) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 18:19:09 +0000 X-Sender-IP: 10.128.16.52 X-Sender-Reputation: None X-IronPort-AV: E=Sophos;i="4.80,588,1344225600"; d="scan'208,217";a="39953106" Received: from unknown (HELO FFX-S-EX-A2.cgifederal.com) ([10.128.16.52]) by smtp.cgifederal.com with ESMTP/TLS/AES128-SHA; 15 Oct 2012 14:19:03 -0400 Received: from FFX-S-EX-A4.cgifederal.com (10.128.16.56) by FFX-S-EX-A2.cgifederal.com (10.128.16.52) with Microsoft SMTP Server (TLS) id 14.2.247.3; Mon, 15 Oct 2012 14:18:30 -0400 Received: from FFX-S-EX-C1.cgifederal.com ([169.254.2.37]) by FFX-S-EX-A4.cgifederal.com ([10.128.16.56]) with mapi id 14.02.0247.003; Mon, 15 Oct 2012 14:18:30 -0400 From: "Shah, Sumit (CGI Federal)" To: "users@jackrabbit.apache.org" , "dev@jackrabbit.apache.org" Subject: Jackrabbit - DBFileSystem Error Thread-Topic: Jackrabbit - DBFileSystem Error Thread-Index: Ac2rAXq6tzZrT+OsTkuzyf+tuo8GVw== Date: Mon, 15 Oct 2012 18:18:30 +0000 Message-ID: <3357D2C72D9A0345A66DFB0B043C04163111DC8D@FFX-S-EX-C1.cgifederal.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.36.136] Content-Type: multipart/alternative; boundary="_000_3357D2C72D9A0345A66DFB0B043C04163111DC8DFFXSEXC1cgifede_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_3357D2C72D9A0345A66DFB0B043C04163111DC8DFFXSEXC1cgifede_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 th= e DBFileSystem, but I get the following error while deploying the Jackrabbi= t 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: Config= ured bean implementation class org.apache.jackrabbit.core.fs.db.DbFileSyste= m was not found. at org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanCon= fig.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.(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.createReposi= tory(RepositoryStartupServlet.java:445) [_wl_cls_gen.jar:na] at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initReposito= ry(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(Ge= nericClassLoader.java:296) ~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.= 6.0.0] at weblogic.utils.classloaders.GenericClassLoader.findClass(Generic= ClassLoader.java:269) ~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0= ] at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(Cha= ngeAwareClassLoader.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(Generic= ClassLoader.java:177) ~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0= ] at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(Cha= ngeAwareClassLoader.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(BeanCon= fig.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: Any help will be appreciated. Thanks Sumit --_000_3357D2C72D9A0345A66DFB0B043C04163111DC8DFFXSEXC1cgifede_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am trying to use the DBFileSystem and DBDataStore = to cluster 2 Jackrabbit instance. I cannot use a shared filesystem and henc= e 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 jackra= bbit-core-2.2.5.jar inside the WAR file. I also tried using the OracleFileS= ystem with no luck.

 

 

Caused by: org.apache.jackrabbit.core.config.Configu= rationException: Configured bean implementation class org.apache.jackrabbit= .core.fs.db.DbFileSystem  was not found.

        at org.ap= ache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:217) ~[j= ackrabbit-core-2.2.5.jar:2.2.5]

        at org.ap= ache.jackrabbit.core.config.RepositoryConfigurationParser$6.getFileSystem(R= epositoryConfigurationParser.java:1056) ~[jackrabbit-core-2.2.5.jar:2.2.5]<= o:p>

        at org.ap= ache.jackrabbit.core.config.RepositoryConfig.getFileSystem(RepositoryConfig= .java:911) ~[jackrabbit-core-2.2.5.jar:2.2.5]

        at org.ap= ache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:285) ~= [jackrabbit-core-2.2.5.jar:2.2.5]

        at org.ap= ache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:605) ~[jackr= abbit-core-2.2.5.jar:2.2.5]

        at org.ap= ache.jackrabbit.j2ee.RepositoryStartupServlet.createRepository(RepositorySt= artupServlet.java:445) [_wl_cls_gen.jar:na]

        at org.ap= ache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStar= tupServlet.java:413) [_wl_cls_gen.jar:na]

        ... 45 co= mmon frames omitted

Caused by: java.lang.ClassNotFoundException: org.apa= che.jackrabbit.core.fs.db.DbFileSystem

        at weblog= ic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.= java:296) ~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]=

        at weblog= ic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:= 269) ~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]

        at weblog= ic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoad= er.java:56) ~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]

       at java.la= ng.ClassLoader.loadClass(ClassLoader.java:306) ~[na:1.6.0_25]

        at java.l= ang.ClassLoader.loadClass(ClassLoader.java:247) ~[na:1.6.0_25]

        at weblog= ic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:= 177) ~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]

        at weblog= ic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoad= er.java:37) ~[com.bea.core.utils.classloaders_1.6.0.0.jar:1.6.0.0]

        at java.l= ang.Class.forName0(Native Method) ~[na:1.6.0_25]

        at java.l= ang.Class.forName(Class.java:247) ~[na:1.6.0_25]

        at org.ap= ache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:177) ~[j= ackrabbit-core-2.2.5.jar:2.2.5]

        ... 51 co= mmon frames omitted

 

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

 

<FileSystem class=3D"org.apache.jackrabbit.c= ore.fs.db.DbFileSystem">

    <param name=3D"driver&quo= t; value=3D"javax.naming.InitialContext" />

    <param name=3D"url" = value=3D"jackrabbit1.txDataSource" />

    <param name=3D"schemaObje= ctPrefix" value=3D"fs_"/>

  </FileSystem>

 

Any help will be appreciated.

 

Thanks

Sumit

--_000_3357D2C72D9A0345A66DFB0B043C04163111DC8DFFXSEXC1cgifede_--