jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Slocinski, Michal" <michal.slocin...@atos.net>
Subject exceptions when inserting data into the repository
Date Thu, 13 Oct 2011 11:58:03 GMT
Hi,
 
we're using Jackrabbit 2.0.0 - no major problems so far, only recently we encountered an issue
that when adding artifacts to the repository, we got series of following exceptions.
 
After shutting down system and starting it again, everything started to work again.
 
Do you have any ideas of what could be the root cause? It looks like something environmental
however I've no idea what could it be.
 
 
2011-10-11 11:06:28,518 ERROR [org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager]
(WorkerThread#0[158.166.5.237:60535]) failed to write bundle: cafebabe-cafe-babe-cafe-babecafebabe
org.apache.commons.dbcp.SQLNestedException: Borrow prepareStatement from pool failed
 at org.apache.commons.dbcp.PoolingConnection.prepareStatement(PoolingConnection.java:98)
 at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:248)
 at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:302)
 at org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyUpdate(ConnectionHelper.java:308)
 at org.apache.jackrabbit.core.util.db.ConnectionHelper.access$100(ConnectionHelper.java:65)
 at org.apache.jackrabbit.core.util.db.ConnectionHelper$2.call(ConnectionHelper.java:297)
 at org.apache.jackrabbit.core.util.db.ConnectionHelper$2.call(ConnectionHelper.java:293)
 at org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:443)
 at org.apache.jackrabbit.core.util.db.ConnectionHelper.update(ConnectionHelper.java:293)
 at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.storeBundle(BundleDbPersistenceManager.java:1132)
 at org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager.putBundle(AbstractBundlePersistenceManager.java:682)
 at org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager.storeInternal(AbstractBundlePersistenceManager.java:624)
 at org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager.store(AbstractBundlePersistenceManager.java:500)
 at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:478)
 at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:734)
 at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1140)
 at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:351)
 at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354)
 at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
 at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:328)
 at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1141)
 at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:919)
 at org.apache.jackrabbit.jca.JCASessionHandle.save(JCASessionHandle.java:184)
 at [CUT] [CUT] [CUT] [CUT] [CUT] [CUT] [CUT]
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
 at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
 at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
 at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
 at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_1086395735.invoke(InvocationContextInterceptor_z_fillMethod_1086395735.java)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
 at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_1086395735.invoke(InvocationContextInterceptor_z_setup_1086395735.java)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
 at org.jboss.ejb3.tx.TxInterceptor$Never.invoke(TxInterceptor.java:63)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
 at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
 at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:421)
 at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53)
 at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
 at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
 at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
 at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
 at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
 at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
 at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
Caused by: java.sql.SQLException: The conglomerate (656) requested does not exist.
 at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
 at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
 at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
 at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
 at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
 at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(Unknown Source)
 at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(Unknown Source)
 at org.apache.derby.impl.jdbc.EmbedPreparedStatement40.<init>(Unknown Source)
 at org.apache.derby.jdbc.Driver40.newEmbedPreparedStatement(Unknown Source)
 at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
 at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
 at org.apache.commons.dbcp.PoolingConnection.makeObject(PoolingConnection.java:193)
 at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:797)
 at org.apache.commons.dbcp.PoolingConnection.prepareStatement(PoolingConnection.java:92)
 ... 84 more
Caused by: java.sql.SQLException: The conglomerate (656) requested does not exist.
 at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
 at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
 ... 100 more
Caused by: ERROR XSAI2: The conglomerate (656) requested does not exist.
 at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
 at org.apache.derby.impl.store.access.heap.HeapConglomerateFactory.readConglomerate(Unknown
Source)
 at org.apache.derby.impl.store.access.RAMAccessManager.conglomCacheFind(Unknown Source)
 at org.apache.derby.impl.store.access.RAMTransaction.findExistingConglomerate(Unknown Source)
 at org.apache.derby.impl.store.access.RAMTransaction.openConglomerate(Unknown Source)
 at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndexMinion(Unknown
Source)
 at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndex(Unknown Source)
 at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getTriggerDescriptorsScan(Unknown
Source)
 at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getTriggerDescriptors(Unknown Source)
 at org.apache.derby.iapi.sql.dictionary.TableDescriptor.getAllRelevantTriggers(Unknown Source)
 at org.apache.derby.impl.sql.compile.UpdateNode.getUpdateReadMap(Unknown Source)
 at org.apache.derby.impl.sql.compile.UpdateNode.getReadMap(Unknown Source)
 at org.apache.derby.impl.sql.compile.UpdateNode.bindStatement(Unknown Source)
 at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
 at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
 at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown
Source)
 ... 94 more

 
Michal
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message