[JBoss JIRA] (ISPN-4468) HR client is not able to unmarshall custom class when using AS modules
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4468?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4468:
-----------------------------------------------
Christian Huffman <chuffman(a)redhat.com> changed the Status of [bug 1168262|https://bugzilla.redhat.com/show_bug.cgi?id=1168262] from VERIFIED to CLOSED
> HR client is not able to unmarshall custom class when using AS modules
> ----------------------------------------------------------------------
>
> Key: ISPN-4468
> URL: https://issues.jboss.org/browse/ISPN-4468
> Project: Infinispan
> Issue Type: Bug
> Components: Marshalling, Remote Protocols
> Reporter: Vojtech Juranek
> Assignee: Galder Zamarreño
>
> When using HR client in JBoss and use JBoss modules for HR client, storing custom objects into remote cache works, however when custom objects is read back from remote cache, it fails as {{ClassNotFoundException}}:
> {noformat}
> testPutGetCustomObject(com.jboss.datagrid.test.hotrod.HotRodRemoteCacheIT) Time elapsed: 1.749 sec <<< ERROR!
> org.infinispan.client.hotrod.exceptions.HotRodClientException: Unable to unmarshall byte stream
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.bytes2obj(RemoteCacheImpl.java:555)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.get(RemoteCacheImpl.java:425)
> at org.infinispan.server.test.client.hotrod.AbstractRemoteCacheIT.testPutGetCustomObject(AbstractRemoteCacheIT.java:746)
> {noformat}
> [...]
> {noformat}
> Caused by: java.lang.ClassNotFoundException: org.infinispan.server.test.client.hotrod.AbstractRemoteCacheIT$Person from [Module "org.infinispan.commons:jdg-6.3" from local module loader @5cbf5bb7 (finder: local module finder @171e7af3 (roots: /opt/test_servers/jboss-eap-6.2.2/modules,/opt/test_servers/jboss-eap-6.2.2/modules/system/layers/base))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:270)
> at org.jboss.marshalling.AbstractClassResolver.loadClass(AbstractClassResolver.java:131)
> at org.jboss.marshalling.AbstractClassResolver.resolveClass(AbstractClassResolver.java:112)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:943)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1239)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
> at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
> at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:135)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromByteBuffer(AbstractJBossMarshaller.java:113)
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.bytes2obj(RemoteCacheImpl.java:553)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.get(RemoteCacheImpl.java:425)
> at org.infinispan.server.test.client.hotrod.AbstractRemoteCacheIT.testPutGetCustomObject(AbstractRemoteCacheIT.java:746)
> {noformat}
> Adding jar file with {{org.infinispan.server.test.client.hotrod.AbstractRemoteCacheIT$Person}} into jboss-deployment-structure as a module didn't helped.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6228) Cross-Site State Transfer not working properly when topology changes
by Pedro Ruivo (JIRA)
Pedro Ruivo created ISPN-6228:
---------------------------------
Summary: Cross-Site State Transfer not working properly when topology changes
Key: ISPN-6228
URL: https://issues.jboss.org/browse/ISPN-6228
Project: Infinispan
Issue Type: Bug
Components: Cross-Site Replication
Affects Versions: 8.2.0.Beta1
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
It looks like when the receiver site is receiving state and a new node joins, the new node is not aware of the x-site state transfer and it ignores the state received.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6207) Cross-Site Replication marshalling issues
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6207?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-6207:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Cross-Site Replication marshalling issues
> -----------------------------------------
>
> Key: ISPN-6207
> URL: https://issues.jboss.org/browse/ISPN-6207
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication
> Affects Versions: 8.2.0.Beta1
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Fix For: 8.2.0.Beta2
>
>
> Issues:
> * {{LocalCacheBackupReceiver}} is not using the correct command
> * {{XSiteAdminCommand.AMEND_TAKE_OFFLINE}} is not marshalling the arguments correctly since they can be {{null}}.
> * {{XSiteStateTransferControlCommand.START/FINISH_RECEIVE}} is not marshalling the site name (although it is not needed when sent between sites, it is needed in the cluster)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-5932) Remove ClusterRegistry
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5932?page=com.atlassian.jira.plugin.... ]
Adrian Nistor commented on ISPN-5932:
-------------------------------------
ATM (8.2.x) there are no more usages of ClusterRegistry and it is deprecated. It will be removed in Infinispan 9.0
> Remove ClusterRegistry
> ----------------------
>
> Key: ISPN-5932
> URL: https://issues.jboss.org/browse/ISPN-5932
> Project: Infinispan
> Issue Type: Task
> Components: Core, Embedded Querying
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 9.0.0.Final, 9.0.0.Alpha1
>
>
> ClusterRegistry can be replaced by InternalCacheRegistry. ClusterRegistry and ScopedKey should be removed. Do we still keep package org.infinispan.registry.* public in the javadocs?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month