[JBoss JIRA] (ISPN-3269) Connection leaks in TableManipulation
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-3269?page=com.atlassian.jira.plugin.... ]
Dan Berindei resolved ISPN-3269.
--------------------------------
Fix Version/s: 5.2.0.Final
Resolution: Duplicate Issue
Duplicate of ISPN-2329
> Connection leaks in TableManipulation
> -------------------------------------
>
> Key: ISPN-3269
> URL: https://issues.jboss.org/browse/ISPN-3269
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 5.1.7.Final, 5.2.6.Final, 5.3.0.CR2
> Reporter: Nicolas Filotto
> Assignee: Mircea Markus
> Fix For: 5.2.0.Final
>
>
> It seems that there are connection leaks in the method getDatabaseType of the class TableManipulation. Indeed in this method we call twice {{connectionFactory.getConnection()}} but the returned connection is never closed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (ISPN-2950) In distributed mode cache store data should be read through the main data owner (vs directly from the store)
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-2950?page=com.atlassian.jira.plugin.... ]
Work on ISPN-2950 started by William Burns.
> In distributed mode cache store data should be read through the main data owner (vs directly from the store)
> ------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-2950
> URL: https://issues.jboss.org/browse/ISPN-2950
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Reporter: Sanne Grinovero
> Assignee: William Burns
> Priority: Blocker
> Labels: onboard
> Fix For: 6.0.0.Final
>
>
> Dist cache with a cache store (shared or not), k owned by \{N1, N2\}. k is read on N3. What currently happens at this stage, if k is not present in N3's memory (likely unless L1 is configured), the N3's cache store is queried and data is loaded from there. This has several drawbacks:
> - the data might already be in the memory of the owner node (N1,N2) so reading it from the disk is highly inefficient. Especially for hot data: data requested from various nodes at the same time (see also mailing list discussion around lucene query performance depending on this)
> - if this is a local cache store, it might contain stale data which would be returned to the user
> - for async configured cache store this would result in dirty reads, given that a change might be in the async store's memory but not in the store at the moment when it is in read by N3. (Note that using async stores still leaves place to inconsistencies when a node leaves, e.g. because of node crashing before managing to flush the async store.)
> This JIRA is about changing the distribution mode: when asked for a specific key, a node would only touch a cache store if it is an owner of that key, otherwise would first go to the main owner of the key to read the value from there. The ClusterCacheLoader should be deprecated as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (ISPN-2950) In distributed mode cache store data should be read through the main data owner (vs directly from the store)
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-2950?page=com.atlassian.jira.plugin.... ]
William Burns reassigned ISPN-2950:
-----------------------------------
Assignee: William Burns (was: Mircea Markus)
> In distributed mode cache store data should be read through the main data owner (vs directly from the store)
> ------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-2950
> URL: https://issues.jboss.org/browse/ISPN-2950
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Reporter: Sanne Grinovero
> Assignee: William Burns
> Priority: Blocker
> Labels: onboard
> Fix For: 6.0.0.Final
>
>
> Dist cache with a cache store (shared or not), k owned by \{N1, N2\}. k is read on N3. What currently happens at this stage, if k is not present in N3's memory (likely unless L1 is configured), the N3's cache store is queried and data is loaded from there. This has several drawbacks:
> - the data might already be in the memory of the owner node (N1,N2) so reading it from the disk is highly inefficient. Especially for hot data: data requested from various nodes at the same time (see also mailing list discussion around lucene query performance depending on this)
> - if this is a local cache store, it might contain stale data which would be returned to the user
> - for async configured cache store this would result in dirty reads, given that a change might be in the async store's memory but not in the store at the moment when it is in read by N3. (Note that using async stores still leaves place to inconsistencies when a node leaves, e.g. because of node crashing before managing to flush the async store.)
> This JIRA is about changing the distribution mode: when asked for a specific key, a node would only touch a cache store if it is an owner of that key, otherwise would first go to the main owner of the key to read the value from there. The ClusterCacheLoader should be deprecated as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (ISPN-3183) HotRod RollUps from 5.2 to 5.3 -- target can't obtain formerly stored data from RCS
by Tomas Sykora (JIRA)
[ https://issues.jboss.org/browse/ISPN-3183?page=com.atlassian.jira.plugin.... ]
Tomas Sykora updated ISPN-3183:
-------------------------------
Assignee: Tristan Tarrant (was: Mircea Markus)
Assigning to Tristan who will be probably interested.
> HotRod RollUps from 5.2 to 5.3 -- target can't obtain formerly stored data from RCS
> -----------------------------------------------------------------------------------
>
> Key: ISPN-3183
> URL: https://issues.jboss.org/browse/ISPN-3183
> Project: Infinispan
> Issue Type: Bug
> Reporter: Tomas Sykora
> Assignee: Tristan Tarrant
> Attachments: 52to52sourceTrace, 52to52targetTrace, 52to53sourceTrace, 52to53targetTrace
>
>
> Scenario (typical for rollups):
> Start source node, put entries.
> Start target node which is pointing to source (source is his RemoteCacheStore now) and try to get entries.
> For 5.2 to 5.2 working perfectly.
> For 5.2 source and 5.3 target -- we have problems here.
> Sorry that I can't provide any valuable info beside TRACEs.
> 4 TRACE logs -- rollups from 5.2 to 5.2 source log and target log + rollups from 5.2 to 5.3 source log and target log.
> Very quick summary:
> 5.2 to 5.2 on target: Entry exists in loader? true
> 5.2 to 5.3 on targer:
> 16:21:41,508 TRACE [org.infinispan.container.EntryFactoryImpl] (HotRodServerWorker-2) Exists in context? null
> 16:21:41,508 TRACE [org.infinispan.container.EntryFactoryImpl] (HotRodServerWorker-2) Retrieved from container null
> What changed in RemoteCacheStore. What changed in HotRod? Any idea? Let me know, thank you!
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (ISPN-2948) ConcurrentModificationException in TransactionCoordinator.commit()
by Lars Dabringhaus (JIRA)
[ https://issues.jboss.org/browse/ISPN-2948?page=com.atlassian.jira.plugin.... ]
Lars Dabringhaus commented on ISPN-2948:
----------------------------------------
we are facing the same issue. we are using jsf2.0 in jboss eap 6.1 and quite often following exception is thrown....
{noformat}
ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (ajp-/192.xxx.xxx.xxx:8009-10) ISPN000136: Execution error: org.infinispan.CacheException: java.lang.RuntimeException: Failure to marshal argum
ent(s)
at org.infinispan.util.Util.rewrapAsCacheException(Util.java:542)
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:186)
at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:515)
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:169)
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:190)
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:247)
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:234)
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:229)
at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:208)
at org.infinispan.interceptors.ReplicationInterceptor.broadcastPrepare(ReplicationInterceptor.java:109)
at org.infinispan.interceptors.ReplicationInterceptor.visitPrepareCommand(ReplicationInterceptor.java:101)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:106)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:108)
at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:135)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:58)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.TxInterceptor.invokeNextInterceptorAndVerifyTransaction(TxInterceptor.java:128)
at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:115)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitPrepareCommand(TransactionSynchronizerInterceptor.java:61)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.statetransfer.StateTransferInterceptor.handleTopologyAffectedCommand(StateTransferInterceptor.java:216)
at org.infinispan.statetransfer.StateTransferInterceptor.handleTxCommand(StateTransferInterceptor.java:189)
at org.infinispan.statetransfer.StateTransferInterceptor.visitPrepareCommand(StateTransferInterceptor.java:93)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92)
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:92)
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343)
at org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:175)
at org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81)
at org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:285)
at org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:334)
at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:91)
at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:102)
at org.jboss.as.clustering.web.impl.TransactionBatchingManager.endBatch(TransactionBatchingManager.java:75)
at org.jboss.as.web.session.DistributableSessionManager.processSessionRepl(DistributableSessionManager.java:1535) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.session.DistributableSessionManager.storeSession(DistributableSessionManager.java:865) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:47) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:142) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.jboss.as.web.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:374) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:488) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:420) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]
Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:281)
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:300)
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:179)
... 82 more
Caused by: java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) [rt.jar:1.6.0_33]
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392) [rt.jar:1.6.0_33]
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391) [rt.jar:1.6.0_33]
at java.util.HashMap.writeObject(HashMap.java:999) [rt.jar:1.6.0_33]
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) [:1.6.0_33]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_33]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_33]
at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:180)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:998)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:998)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.jboss.as.clustering.SimpleMarshalledValue.getBytes(SimpleMarshalledValue.java:85)
at org.jboss.as.clustering.SimpleMarshalledValue.writeExternal(SimpleMarshalledValue.java:175)
at org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:47)
at org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:36)
at org.infinispan.marshall.jboss.ExternalizerTable$ForeignExternalizerAdapter.writeObject(ExternalizerTable.java:459)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.atomic.PutOperation$Externalizer.writeObject(PutOperation.java:111)
at org.infinispan.atomic.PutOperation$Externalizer.writeObject(PutOperation.java:107)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.marshall.MarshallUtil.marshallCollection(MarshallUtil.java:48)
at org.infinispan.marshall.exts.LinkedListExternalizer.writeObject(LinkedListExternalizer.java:50)
at org.infinispan.marshall.exts.LinkedListExternalizer.writeObject(LinkedListExternalizer.java:45)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.atomic.AtomicHashMapDelta$Externalizer.writeObject(AtomicHashMapDelta.java:113)
at org.infinispan.atomic.AtomicHashMapDelta$Externalizer.writeObject(AtomicHashMapDelta.java:109)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:85)
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:72)
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:60)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:87)
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:128)
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:112)
at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:73)
at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:96)
at org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:92)
at org.infinispan.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:64)
at org.infinispan.marshall.AbstractDelegatingMarshaller.objectToBuffer(AbstractDelegatingMarshaller.java:109)
at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:45)
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:279)
... 84 more
Caused by: an exception which occurred:
in object com.sun.faces.util.LRUMap@a8101014
in object org.jboss.as.clustering.SimpleMarshalledValue@a8101014
-> toString = {4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173}, -4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca}, -6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d}, -3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a}, -6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}
in object org.infinispan.atomic.PutOperation@6be1de0c
-> toString = PutOperation{key=com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap, oldValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173}, -4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca}, -6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d}, -3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a}, -6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}, newValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173}, -4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca}, -6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d}, -3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a}, -6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}}
in object java.util.LinkedList@c683adab
-> toString = [PutOperation{key=0, oldValue=486, newValue=487}, PutOperation{key=1, oldValue=1372230580178, newValue=1372230580178}, PutOperation{key=com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap, oldValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173}, -4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca}, -6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d}, -3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a}, -6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}, newValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173}, -4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca}, -6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d}, -3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a}, -6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}}]
in object org.infinispan.atomic.AtomicHashMapDelta@533a7fa8
-> toString = AtomicHashMapDelta{changeLog=[PutOperation{key=0, oldValue=486, newValue=487}, PutOperation{key=1, oldValue=1372230580178, newValue=1372230580178}, PutOperation{key=com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap, oldValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173}, -4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca}, -6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d}, -3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a}, -6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}, newValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173}, -4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca}, -6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d}, -3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a}, -6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}}],hasClear=false}
in object org.infinispan.commands.write.PutKeyValueCommand@971d23f
-> toString = PutKeyValueCommand{key=pjmEELxbQWBIsyzHdEYkL6E9, value=AtomicHashMap, flags=[SKIP_REMOTE_LOOKUP, DELTA_WRITE], putIfAbsent=false, lifespanMillis=-1, maxIdleTimeMillis=-1, successful=true}
in object org.infinispan.commands.tx.PrepareCommand@6342a19e
-> toString = PrepareCommand {modifications=[PutKeyValueCommand{key=pjmEELxbQWBIsyzHdEYkL6E9, value=AtomicHashMap, flags=[SKIP_REMOTE_LOOKUP, DELTA_WRITE], putIfAbsent=false, lifespanMillis=-1, maxIdleTimeMillis=-1, successful=true}], onePhaseCommit=true, gtx=GlobalTransaction:<167/web>:32085:local, cacheName='default-host/bla', topologyId=25}
{noformat}
> ConcurrentModificationException in TransactionCoordinator.commit()
> ------------------------------------------------------------------
>
> Key: ISPN-2948
> URL: https://issues.jboss.org/browse/ISPN-2948
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.2.1.Final
> Reporter: Clement Pang
> Assignee: Mircea Markus
>
> Not entirely sure how to reproduce this but it seems like a map is modified while it is being serialized.
> {code}
> 11:19:29,584 ERROR org.infinispan.interceptors.InvocationContextInterceptor (http-/0.0.0.0:8080-2) ISPN000136: Execution error: java.util.ConcurrentModificationException
> at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:390) rt.jar:1.6.0_27
> at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:409) rt.jar:1.6.0_27
> at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:408) rt.jar:1.6.0_27
> at java.util.HashMap.writeObject(HashMap.java:1016) rt.jar:1.6.0_27
> at sun.reflect.GeneratedMethodAccessor472.invoke(Unknown Source) :1.6.0_27
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) rt.jar:1.6.0_27
> at java.lang.reflect.Method.invoke(Method.java:616) rt.jar:1.6.0_27
> at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:180)
> at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007)
> at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:998)
> at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:998)
> at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
> at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:680)
> at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
> at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
> at org.jboss.as.clustering.SimpleMarshalledValue.getBytes(SimpleMarshalledValue.java:85)
> at org.jboss.as.clustering.SimpleMarshalledValue.writeExternal(SimpleMarshalledValue.java:175)
> at org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:47)
> at org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:36)
> at org.infinispan.marshall.jboss.ExternalizerTable$ForeignExternalizerAdapter.writeObject(ExternalizerTable.java:457) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
> at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
> at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
> at org.infinispan.marshall.MarshallUtil.marshallMap(MarshallUtil.java:59) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:63) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:47) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:408) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
> at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
> at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
> at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:237) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:234) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:408) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
> at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
> at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
> at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.writeObject(ImmortalCacheEntry.java:154) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.writeObject(ImmortalCacheEntry.java:150) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:408) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
> at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
> at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
> at org.infinispan.loaders.bucket.Bucket$Externalizer.writeObject(Bucket.java:148) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.loaders.bucket.Bucket$Externalizer.writeObject(Bucket.java:139) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:408) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
> at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
> at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
> at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:96) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:92) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:94) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:84) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.marshall.AbstractDelegatingMarshaller.objectToByteBuffer(AbstractDelegatingMarshaller.java:94) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.loaders.file.FileCacheStore.updateBucket(FileCacheStore.java:335) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.loaders.bucket.BucketBasedCacheStore.storeLockSafe(BucketBasedCacheStore.java:89) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.loaders.bucket.BucketBasedCacheStore.storeLockSafe(BucketBasedCacheStore.java:49) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.loaders.LockSupportCacheStore.store(LockSupportCacheStore.java:213) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.loaders.AbstractCacheStore.applyModifications(AbstractCacheStore.java:126) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.loaders.AbstractCacheStore.commit(AbstractCacheStore.java:163) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.CacheStoreInterceptor.commitCommand(CacheStoreInterceptor.java:164) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.CacheStoreInterceptor.visitCommitCommand(CacheStoreInterceptor.java:146) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.EntryWrappingInterceptor.visitCommitCommand(EntryWrappingInterceptor.java:116) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitCommitCommand(AbstractTxLockingInterceptor.java:100) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.NotificationInterceptor.visitCommitCommand(NotificationInterceptor.java:65) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.TxInterceptor.visitCommitCommand(TxInterceptor.java:153) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:85) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:182) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:285) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:334) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:91) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:102) infinispan-core-5.2.1.Final.jar:5.2.1.Final
> at org.jboss.as.clustering.web.impl.TransactionBatchingManager.endBatch(TransactionBatchingManager.java:75)
> at org.jboss.as.web.session.DistributableSessionManager.processSessionRepl(DistributableSessionManager.java:1527) jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.web.session.DistributableSessionManager.storeSession(DistributableSessionManager.java:865) jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.web.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:47) jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:142) jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) jboss-as-jpa-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) jboss-as-jpa-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) jbossweb-7.2.0.Final.jar:7.2.0.Final
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) jbossweb-7.2.0.Final.jar:7.2.0.Final
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) jbossweb-7.2.0.Final.jar:7.2.0.Final
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) jbossweb-7.2.0.Final.jar:7.2.0.Final
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) jbossweb-7.2.0.Final.jar:7.2.0.Final
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) jbossweb-7.2.0.Final.jar:7.2.0.Final
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) jbossweb-7.2.0.Final.jar:7.2.0.Final
> at java.lang.Thread.run(Thread.java:679) rt.jar:1.6.0_27
> Caused by: an exception which occurred:
> in object java.util.HashMap@c8c53a7f
> in object org.jboss.as.clustering.SimpleMarshalledValue@c8c53a7f
> in object org.infinispan.util.FastCopyHashMap@6685286f
> in object org.infinispan.atomic.AtomicHashMap@5dd18547
> in object org.infinispan.container.entries.ImmortalCacheEntry@a8322011
> in object org.infinispan.loaders.bucket.Bucket@31cbb8e4
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (ISPN-3271) Connection leaks in JdbcBinaryCacheStore
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3271?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-3271:
----------------------------------------
This is already fixed in Infinispan via ISPN-2033.
> Connection leaks in JdbcBinaryCacheStore
> ----------------------------------------
>
> Key: ISPN-3271
> URL: https://issues.jboss.org/browse/ISPN-3271
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 5.1.7.Final, 5.2.6.Final, 5.3.0.CR2
> Reporter: Nicolas Filotto
> Assignee: Mircea Markus
>
> It seems that there is a connection leak in the method {{purgeInternal}} of the class {{JdbcBinaryCacheStore}}. Indeed in this method, there are situations where {{connectionFactory.releaseConnection(conn)}} is not called for example in case {{emptyBuckets.isEmpty()}} or {{expiredBuckets.isEmpty()}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (ISPN-3271) Connection leaks in JdbcBinaryCacheStore
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3271?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño resolved ISPN-3271.
------------------------------------
Resolution: Duplicate Issue
> Connection leaks in JdbcBinaryCacheStore
> ----------------------------------------
>
> Key: ISPN-3271
> URL: https://issues.jboss.org/browse/ISPN-3271
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 5.1.7.Final, 5.2.6.Final, 5.3.0.CR2
> Reporter: Nicolas Filotto
> Assignee: Mircea Markus
>
> It seems that there is a connection leak in the method {{purgeInternal}} of the class {{JdbcBinaryCacheStore}}. Indeed in this method, there are situations where {{connectionFactory.releaseConnection(conn)}} is not called for example in case {{emptyBuckets.isEmpty()}} or {{expiredBuckets.isEmpty()}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months