deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esteve Avilés <eavil...@gmail.com>
Subject Re: Deltaspike + Infinispan
Date Tue, 22 Dec 2015 14:08:25 GMT
Hi,

Thank you.

I will try.

Esteve

On Tue, Dec 22, 2015 at 3:05 PM, Thomas Andraschko <
andraschko.thomas@gmail.com> wrote:

> Hi,
>
> using ApplicationScoped on your repositories could fix it.
>
> 2015-12-22 15:00 GMT+01:00 Esteve Avilés <eavilesa@gmail.com>:
>
> > Hi,
> >
> > We are using Deltaspike data module with JBoss EAP 6.4 in cluster using
> > Infinispan. We get the following error:
> >
> > Can anyone help us?
> >
> > Thanks in advance.
> >
> > Caused by: org.infinispan.marshall.NotSerializableException:
> >
> org.apache.deltaspike.data.impl.meta.extractor.AnnotationMetadataExtractor
> > Caused by: an exception which occurred:
> > in field a
> > in field extractors
> > in field components
> > in field delegateInvocationHandler
> > in field instance
> > in field c
> > in field dependentInstances
> > in field creationalContext
> > in object java.util.HashMap@eacded17
> > in object org.jboss.as.clustering.SimpleMarshalledValue@eacded17
> > in object org.infinispan.atomic.PutOperation@36c19487
> > in object java.util.LinkedList@2c42c608
> > in object org.infinispan.atomic.AtomicHashMapDelta@64fb8934
> > in object org.infinispan.commands.write.PutKeyValueCommand@c10651eb
> > in object org.infinispan.commands.tx.PrepareCommand@838b9fc0
> >
> > 2015-12-17 13:28:22,475 ERROR
> > [org.infinispan.transaction.TransactionCoordinator]
> > (http-lxaplint3.xarxa.interna/172.28.191.67:8080-9) ISPN000097: Error
> > while
> > processing a prepare in a single-phase transaction:
> > org.infinispan.CacheException: java.lang.RuntimeException: Failure to
> > marshal argument(s)
> > at org.infinispan.util.Util.rewrapAsCacheException(Util.java:542)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:186)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:515)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:173)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:194)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:251)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:238)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:233)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:212)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.ReplicationInterceptor.broadcastPrepare(ReplicationInterceptor.java:112)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.ReplicationInterceptor.visitPrepareCommand(ReplicationInterceptor.java:103)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:134)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:134)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:111)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:109)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:135)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:58)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.TxInterceptor.invokeNextInterceptorAndVerifyTransaction(TxInterceptor.java:128)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:115)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:134)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitPrepareCommand(TransactionSynchronizerInterceptor.java:61)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.statetransfer.StateTransferInterceptor.handleTopologyAffectedCommand(StateTransferInterceptor.java:284)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.statetransfer.StateTransferInterceptor.handleTxCommand(StateTransferInterceptor.java:209)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.statetransfer.StateTransferInterceptor.visitPrepareCommand(StateTransferInterceptor.java:113)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:120)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:92)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:175)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:285)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:334)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:91)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:102)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.jboss.as.clustering.web.impl.TransactionBatchingManager.endBatch(TransactionBatchingManager.java:75)
> > at
> >
> >
> org.jboss.as.web.session.DistributableSessionManager.processSessionRepl(DistributableSessionManager.java:1574)
> > [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at
> >
> >
> org.jboss.as.web.session.DistributableSessionManager.storeSession(DistributableSessionManager.java:872)
> > [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at
> >
> >
> org.jboss.as.web.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:47)
> > [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at
> >
> >
> org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:142)
> > [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at
> >
> >
> org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99)
> > [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92)
> > [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64)
> > [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at
> >
> >
> org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
> > [jboss-as-jpa-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at
> >
> >
> org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
> > [jboss-as-jpa-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at
> >
> >
> org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
> > [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)
> > [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> > at
> >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
> > [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> > at
> >
> >
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:400)
> > [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> > at
> >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
> > [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
> > [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> > at
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854)
> > [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> > at
> >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
> > [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> > at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
> > [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> > at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
> > Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
> > at
> >
> >
> org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:281)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:300)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > at
> >
> >
> org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:179)
> > [infinispan-core-5.2.15.Final-redhat-1.jar:5.2.15.Final-redhat-1]
> > ... 78 more
> >
> > --
> > Esteve Avilés
> >
>



-- 
Esteve Avilés

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