Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 19232 invoked from network); 24 Jun 2008 18:33:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jun 2008 18:33:53 -0000 Received: (qmail 53294 invoked by uid 500); 24 Jun 2008 18:33:52 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 53275 invoked by uid 500); 24 Jun 2008 18:33: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 53264 invoked by uid 99); 24 Jun 2008 18:33:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2008 11:33:52 -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; Tue, 24 Jun 2008 18:33:00 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id 8703E50881; Tue, 24 Jun 2008 20:32:10 +0200 (CEST) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.231]) by goobak01.day.com (Postfix) with ESMTP id C07DD50884 for ; Tue, 24 Jun 2008 20:32:09 +0200 (CEST) Received: by qb-out-0506.google.com with SMTP id e14so7500822qbe.1 for ; Tue, 24 Jun 2008 11:31:57 -0700 (PDT) Received: by 10.142.158.17 with SMTP id g17mr6047846wfe.212.1214332311223; Tue, 24 Jun 2008 11:31:51 -0700 (PDT) Received: by 10.142.148.15 with HTTP; Tue, 24 Jun 2008 11:31:51 -0700 (PDT) Message-ID: Date: Tue, 24 Jun 2008 14:31:51 -0400 From: "Alexander Klimetschek" To: users@jackrabbit.apache.org Subject: Re: Exceptions with Repository running against DB2 In-Reply-To: <8DB841EE5290EB489C935EEEC0E1B6208FC28D@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> <8DB841EE5290EB489C935EEEC0E1B6208FC28D@exchange6.int.mgc.com> X-Virus-Checked: Checked by ClamAV on apache.org Well, it was introduced with 1.3 (I think). Have a look at your jackrabbit-core jar, all persistence managers (inside org.apache.jackrabbit.core.persistence) you will find there can be used. BundleDB pm is part of it. Regards, Alex On Tue, Jun 24, 2008 at 1:21 PM, Vikas Phonsa wrote: > Alex, > > I read ( somewhere on JackRabbit site) that BundleDbPersistenceManager > offers good performance when used with a DataStore, but you need > JackRabbit 1.4 to do that. But my JBOSS BRMS app uses JackRabbit 1.3, > that's why I decided to just use the SimpleDbPersistanceManager. > > Can BundleDbPersistenceManager be used with Jackrabbit 1.3 ? > > Thanks, > Vikas > > -----Original Message----- > From: Alexander Klimetschek [mailto:aklimets@day.com] > Sent: Tuesday, June 24, 2008 9:25 AM > To: users@jackrabbit.apache.org > Subject: Re: Exceptions with Repository running against DB2 > > I would recommend to use a bundle db persistence manager: > > org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager > > It should be better regarding DB connections and has better performance > than the simple db pm. > > Regards, > Alex > > On Tue, Jun 24, 2008 at 11:46 AM, Vikas Phonsa > wrote: >> Hi All, >> >> I'm using JBOSS Rules BRMS application, which uses Jackrabbit. >> >> The repository is connected to a DB2 database. >> >> I've deployed the application on Weblogic. It works fine for the most >> part. >> >> But every time the repository starts up I see the exception listed >> below. >> >> And eventually, I start seeing OutofMemory errors in the server log. >> >> Can't say if the two issues are related, but has anybody experienced >> any such problem ? >> >> I'm also listing my FileSystem and PersistanceManager configurations >> below. >> >> Thanks in advance for any feedback. >> >> Regards, >> Vikas >> >> >> >> ------------------------ Repository >> Config------------------------------ >> >> > class=3D"org.apache.jackrabbit.core.fs.db.DbFileSystem"> >> > value=3D"com.ibm.db2.jcc.DB2Driver"/> >> > value=3D"jdbc:db2://localhost:50000/Drools"/> >> >> >> >> >> > value=3D"${wsp.name}_FS_"/> >> >> >> >> > class=3D"org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceMa >> na >> ger"> >> >> > value=3D"jdbc:db2://localhost:50000/Drools"/> >> >> >> >> >> >> >> >> >> >> --------------------Exception Stack >> Trace------------------------------ >> >> ERROR 23-06 17:45:34,571 (RepositoryImpl.java:dispose:1890) error >> while closing persistence manager of workspace MBR_WS >> com.ibm.db2.jcc.b.SqlException: [jcc][t4][10251][10308][3.50.152] >> java.sql.Connection.close() requested while a transaction is in >> progress on the connection. >> The transaction remains active, and the connection cannot be closed. >> ERRORCODE=3D-4471, SQLSTATE=3Dnull >> at com.ibm.db2.jcc.b.wc.a(wc.java:55) >> at com.ibm.db2.jcc.b.wc.a(wc.java:119) >> at com.ibm.db2.jcc.b.eb.t(eb.java:996) >> at com.ibm.db2.jcc.b.eb.w(eb.java:1019) >> at com.ibm.db2.jcc.b.eb.u(eb.java:1005) >> at com.ibm.db2.jcc.b.eb.close(eb.java:989) >> at >> org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.c >> lo >> seConnection(DatabasePersistenceManager.java:765) >> at >> org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.c >> lo >> se(DatabasePersistenceManager.java:253) >> at >> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.dispose(Reposi >> to >> ryImpl.java:1888) >> at >> org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.ja >> va >> :1009) >> at >> org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java >> :9 >> 63) >> at >> org.apache.jackrabbit.core.TransientRepository.stopRepository(Transien >> tR >> epository.java:275) >> at >> org.apache.jackrabbit.core.TransientRepository.loggedOut(TransientRepo >> si >> tory.java:427) >> at >> > org.apache.jackrabbit.core.SessionImpl.notifyLoggedOut(SessionImpl.java: >> 559) >> at >> org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:1295) >> at >> > org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:379) >> at >> org.drools.brms.server.repository.BRMSRepositoryConfiguration.create(B >> RM >> SRepositoryConfiguration.java:66) >> at >> org.drools.brms.server.repository.BRMSRepositoryConfiguration.create(B >> RM >> SRepositoryConfiguration.java:56) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j >> av >> a:64) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess >> or >> Impl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:615) >> at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) >> at >> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationC >> on >> text.java:31) >> at >> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationC >> on >> text.java:56) >> at >> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackIn >> te >> rceptor.java:31) >> at >> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationC >> on >> text.java:68) >> at >> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContex >> tI >> nterceptor.java:42) >> at >> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationC >> on >> text.java:68) >> at >> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:1 >> 06 >> ) >> at >> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaB >> ea >> nInterceptor.java:155) >> at >> > org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor. >> java:91) >> at >> org.drools.brms.server.repository.BRMSRepositoryConfiguration_$$_javas >> si >> st_0.create(BRMSRepositoryConfiguration_$$_javassist_0.java) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j >> av >> a:64) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess >> or >> Impl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:615) >> at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) >> at >> org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125) >> at >> org.jboss.seam.Component.callComponentMethod(Component.java:2087) >> at >> org.jboss.seam.Component.callCreateMethod(Component.java:2010) >> at org.jboss.seam.Component.newInstance(Component.java:1981) >> at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) >> at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) >> at >> org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLife >> cy >> cle.java:95) >> at >> org.jboss.seam.init.Initialization.init(Initialization.java:554) >> at >> org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.ja >> va >> :34) >> at >> weblogic.servlet.internal.EventsManager$FireContextListenerAction.run( >> Ev >> entsManager.java:376) >> at >> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated >> Su >> bject.java:321) >> at >> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1 >> 21 >> ) >> at >> weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(Even >> ts >> Manager.java:82) >> at >> weblogic.servlet.internal.WebAppServletContext.preloadResources(WebApp >> Se >> rvletContext.java:1609) >> at >> weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCont >> ex >> t.java:2764) >> at >> weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java >> :8 >> 89) >> at >> weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333) >> at >> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStat >> eD >> river.java:204) >> at >> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDr >> iv >> er.java:26) >> at >> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleState >> Dr >> iver.java:60) >> at >> weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModu >> le >> Driver.java:200) >> at >> weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleL >> is >> tenerInvoker.java:117) >> at >> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStat >> eD >> river.java:204) >> at >> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDr >> iv >> er.java:26) >> at >> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleState >> Dr >> iver.java:60) >> at >> weblogic.application.internal.flow.StartModulesFlow.activate(StartModu >> le >> sFlow.java:26) >> at >> > weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java: >> 635) >> at >> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDr >> iv >> er.java:26) >> at >> weblogic.application.internal.BaseDeployment.activate(BaseDeployment.j >> av >> a:212) >> at >> weblogic.application.internal.DeploymentStateChecker.activate(Deployme >> nt >> StateChecker.java:154) >> at >> weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(App >> Co >> ntainerInvoker.java:80) >> at >> weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDe >> pl >> oyment.java:181) >> at >> weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServ >> er >> Lifecycle(BasicDeployment.java:358) >> at >> weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(Dep >> lo >> ymentAdapter.java:52) >> at >> weblogic.management.deploy.internal.DeploymentAdapter.activate(Deploym >> en >> tAdapter.java:186) >> at >> weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppT >> ra >> nsition.java:30) >> at >> weblogic.management.deploy.internal.ConfiguredDeployments.transitionAp >> ps >> (ConfiguredDeployments.java:254) >> at >> weblogic.management.deploy.internal.ConfiguredDeployments.transitionAp >> ps >> (ConfiguredDeployments.java:239) >> at >> weblogic.management.deploy.internal.ConfiguredDeployments.activate(Con >> fi >> guredDeployments.java:169) >> at >> weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Confi >> gu >> redDeployments.java:123) >> at >> weblogic.management.deploy.internal.DeploymentServerService.resume(Dep >> lo >> ymentServerService.java:173) >> at >> weblogic.management.deploy.internal.DeploymentServerService.start(Depl >> oy >> mentServerService.java:89) >> at >> weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) >> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) >> at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) >> >> This email and/or any files or attachments transmitted with it are > confidential and intended solely for the use of the individual or entity > to whom they are addressed, and may contain information that is > privileged, confidential and exempt from disclosure under applicable > law. If you are not the intended recipient, or the employee or agent > responsible for delivering the message to the intended recipient, you > are hereby notified that any dissemination, distribution or copying of > this e-mail and/or any files or attachments transmitted with it is > strictly forbidden. If you have received this email in error, please > delete the e-mail and/or any files or attachments, and also notify the > system manager (PostMaster@mercuryinsurance.com) of the error. Please > note that any views or opinions presented in this email are solely those > of the author and do not necessarily represent those of the company. > Finally, the recipient should check this email and any attachments for > the presence of viruses. The company accepts no liability for any damage > caused by any virus transmitted by this email and/or any files or > attachments transmitted with it. >> >> >> > > > > -- > Alexander Klimetschek > alexander.klimetschek@day.com > > > > 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