[JBoss JIRA] (ISPN-4076) RHQ server plugin: bytesRead and bytesWritten stats are broken
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4076?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-4076:
----------------------------------------
Tomas, any updates on this?
> RHQ server plugin: bytesRead and bytesWritten stats are broken
> --------------------------------------------------------------
>
> Key: ISPN-4076
> URL: https://issues.jboss.org/browse/ISPN-4076
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: Tomas Sykora
> Labels: 630
> Fix For: 7.0.0.Alpha2, 7.0.0.Final
>
>
> resource path: subsystem=endpoint
> and underlined connectors provides statistics: bytesRead, bytesWritten.
> However plugin asks for bytes-read and bytes-written which is wrong. Small change in map in MetricsRemappingComponent is needed.
> + We will remove monitoring of those statistics for REST endpoint, as this endpoint does not provide those statistics at all.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month
[JBoss JIRA] (ISPN-4468) HR client is not able to unmarshall custom class when using AS modules
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4468?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño resolved ISPN-4468.
------------------------------------
Fix Version/s: (was: 7.0.0.Final)
Resolution: Out of Date
> 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.3.1#6329)
10 years, 1 month
[JBoss JIRA] (ISPN-4921) Tests in "smoke" TestNG group do not run in default profile
by Martin Gencur (JIRA)
[ https://issues.jboss.org/browse/ISPN-4921?page=com.atlassian.jira.plugin.... ]
Martin Gencur updated ISPN-4921:
--------------------------------
Description:
All occurences of
{code:java}
@Test(groups = "functional,smoke",......
{code}
should be changed to
{code:java}
@Test(groups = {"functional", "smoke"} ....
{code}
was:
There's probably a bug in TestNG. When multiple groups are defined on a test class, the test is only run if the requested (active) group is the last one defined withing @Test annotation.
{code:java}
@Test(groups = "functional,smoke", testName = "api.batch.BatchWithoutTMTest")
public class BatchWithoutTMTest {....}
{code}
The above test class is only run if "smoke" TestNG group is active. OTOH, if "functional" group is active, this test is not run.
> Tests in "smoke" TestNG group do not run in default profile
> -----------------------------------------------------------
>
> Key: ISPN-4921
> URL: https://issues.jboss.org/browse/ISPN-4921
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 7.0.0.CR2
> Reporter: Martin Gencur
> Assignee: Martin Gencur
>
> All occurences of
> {code:java}
> @Test(groups = "functional,smoke",......
> {code}
> should be changed to
> {code:java}
> @Test(groups = {"functional", "smoke"} ....
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month