Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 43550 invoked from network); 25 Jun 2008 16:56:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 16:56:57 -0000 Received: (qmail 99466 invoked by uid 500); 25 Jun 2008 16:56:52 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 99450 invoked by uid 500); 25 Jun 2008 16:56:52 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 99425 invoked by uid 99); 25 Jun 2008 16:56:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 09:56:51 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 16:55:59 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id 58D615087F; Wed, 25 Jun 2008 18:55:08 +0200 (CEST) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by goobak01.day.com (Postfix) with ESMTP id 8AA9C50831 for ; Wed, 25 Jun 2008 18:55:06 +0200 (CEST) Received: by wf-out-1314.google.com with SMTP id 25so3139141wfc.28 for ; Wed, 25 Jun 2008 09:55:13 -0700 (PDT) Received: by 10.142.166.20 with SMTP id o20mr1118595wfe.245.1214412913306; Wed, 25 Jun 2008 09:55:13 -0700 (PDT) Received: by 10.142.148.15 with HTTP; Wed, 25 Jun 2008 09:55:13 -0700 (PDT) Message-ID: Date: Wed, 25 Jun 2008 12:55:13 -0400 From: "Alexander Klimetschek" To: users@jackrabbit.apache.org Subject: Re: Exceptions with Repository running against DB2 In-Reply-To: <8DB841EE5290EB489C935EEEC0E1B6208FC3A6@exchange6.int.mgc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <485BB7A4.4080000@gmx.net> <48610EF8.3080201@day.com> <8DB841EE5290EB489C935EEEC0E1B6208FC258@exchange6.int.mgc.com> <90a8d1c00806250147s7b637c81l60b998af5afad23c@mail.gmail.com> <8DB841EE5290EB489C935EEEC0E1B6208FC3A6@exchange6.int.mgc.com> X-Virus-Checked: Checked by ClamAV on apache.org Not sure, but maybe the in your repository.xml should be hence referencing the workspace name. You need to remove all workspaces and re-create them, though for this change to have effect. Regards, Alex On Wed, Jun 25, 2008 at 12:39 PM, Vikas Phonsa wrote: > I tried using the BundleDbPersistenceManager. But am getting some new > exceptions now. > > I tried to use it against my existing database, which has the tables > that were generated by the SimpleDbPeristenceManager. Does that matter ? > > > It seems to be looking for an object VPHONSA.VERSION_NAMES, which > doesn't exist in the DB, cause it wasn't created by SimpleDbPM. > > Just to test it, I deleted all the existing tables and let the > BundleDbPM create the schema, still no VERSION_NAMES object was created. > It did create a > VPHONSA_X002E_VERSION_NAMES table though. > > I'm attaching my complete repository.xml. > > If ultimately I'm able to make the BundleDbPM work, can I migrate my > repository data from tables created by SimpleDbPM to the tables created > by the BundleDbPM ( if they are going to be different ). > > Also what is "deadbeef-face-babe-cafe-babecafebabe" :-) > > Thanks a lot for your help, > > Vikas > > > ----------------Exception Stack Trace----------------------- > > > org.apache.jackrabbit.core.state.ItemStateException: failed to write > bundle: deadbeef-face-babe-cafe-babecafebabe > at > org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager > .storeBundle(BundleDbPersistenceManager.java:944) > at > org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceM > anager.putBundle(AbstractBundlePersistenceManager.java:693) > at > org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceM > anager.store(AbstractBundlePersistenceManager.java:634) > at > org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager > .store(BundleDbPersistenceManager.java:495) > at > org.apache.jackrabbit.core.version.VersionManagerImpl.(VersionMana > gerImpl.java:159) > at > org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(Repositor > yImpl.java:372) > at > org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:282 > ) > at > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:584 > ) > at > org.apache.jackrabbit.core.TransientRepository$2.getRepository(Transient > Repository.java:245) > at > org.apache.jackrabbit.core.TransientRepository.startRepository(Transient > Repository.java:265) > at > org.apache.jackrabbit.core.TransientRepository.login(TransientRepository > .java:333) > at > org.apache.jackrabbit.core.TransientRepository.login(TransientRepository > .java:363) > at > org.drools.brms.server.repository.BRMSRepositoryConfiguration.newSession > (BRMSRepositoryConfiguration.java:87) > at > org.drools.brms.server.repository.BRMSRepositoryConfiguration.create(BRM > SRepositoryConfiguration.java:55) > > java.lang.IllegalStateException: Unable to read index: > com.ibm.db2.jcc.b.nm: DB2 SQL Error: SQLCODE=3D-204, SQLSTATE=3D42704, > SQLERRMC=3DVPHONSA.VERSION_NAMES, DRIVER=3D3.50.152 > at > org.apache.jackrabbit.core.persistence.bundle.util.DbNameIndex.getIndex( > DbNameIndex.java:175) > at > org.apache.jackrabbit.core.persistence.bundle.util.DbNameIndex.stringToI > ndex(DbNameIndex.java:96) > at > org.apache.jackrabbit.core.persistence.bundle.util.BundleBinding.writeBu > ndle(BundleBinding.java:245) > at > org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager > .storeBundle(BundleDbPersistenceManager.java:930) > at > org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceM > anager.putBundle(AbstractBundlePersistenceManager.java:693) > at > org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceM > anager.store(AbstractBundlePersistenceManager.java:634) > at > org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager > .store(BundleDbPersistenceManager.java:495) > at > org.apache.jackrabbit.core.version.VersionManagerImpl.(VersionMana > gerImpl.java:159) > at > org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(Repositor > yImpl.java:372) > at > org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:282 > ) > at > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:584 > ) > at > org.apache.jackrabbit.core.TransientRepository$2.getRepository(Transient > Repository.java:245) > at > org.apache.jackrabbit.core.TransientRepository.startRepository(Transient > Repository.java:265) > at > org.apache.jackrabbit.core.TransientRepository.login(TransientRepository > .java:333) > at > org.apache.jackrabbit.core.TransientRepository.login(TransientRepository > .java:363) > at > org.drools.brms.server.repository.BRMSRepositoryConfiguration.newSession > (BRMSRepositoryConfiguration.java:87) > at > org.drools.brms.server.repository.BRMSRepositoryConfiguration.create(BRM > SRepositoryConfiguration.java:55) > > > > This email and/or any files or attachments transmitted with it are confid= ential and intended solely for the use of the individual or entity to whom = they are addressed, and may contain information that is privileged, confide= ntial and exempt from disclosure under applicable law. If you are not the i= ntended recipient, or the employee or agent responsible for delivering the = message to the intended recipient, you are hereby notified that any dissemi= nation, distribution or copying of this e-mail and/or any files or attachme= nts transmitted with it is strictly forbidden. If you have received this em= ail in error, please delete the e-mail and/or any files or attachments, and= also notify the system manager (PostMaster@mercuryinsurance.com) of the er= ror. Please note that any views or opinions presented in this email are sol= ely those of the author and do not necessarily represent those of the compa= ny. Finally, the recipient should check this email and any attachments for = the presence of viruses. The company accepts no liability for any damage ca= used by any virus transmitted by this email and/or any files or attachments= transmitted with it. > > --=20 Alexander Klimetschek alexander.klimetschek@day.com