[JBoss JIRA] (ISPN-4125) ClassCastException if cache.keyset() is invoked for a string-keyed-jdbc-store in C/S mode
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-4125?page=com.atlassian.jira.plugin.... ]
Adrian Nistor commented on ISPN-4125:
-------------------------------------
[~wfink] How do you add data in cache? Using hot rod client?
> ClassCastException if cache.keyset() is invoked for a string-keyed-jdbc-store in C/S mode
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-4125
> URL: https://issues.jboss.org/browse/ISPN-4125
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 6.0.0.Final
> Reporter: Wolf-Dieter Fink
> Assignee: Adrian Nistor
> Labels: 621, 630
> Fix For: 7.0.0.Alpha2, 7.0.0.Final
>
>
> If the cache is empty cache.keyset() invocation returns an empty set.
> If it is invoked after entities are added it failes with the Exception below.
> The same test work if a binary-keyed-jdbc-store is used!
> The HotRod client is based on the hot-rod C/S quickstart.
> The configuration is:
> <subsystem xmlns="urn:infinispan:server:core:6.0" default-cache-container="clustered">
> <cache-container name="clustered" default-cache="string" statistics="true">
> <transport executor="infinispan-transport" lock-timeout="60000"/>
> <replicated-cache name="string" mode="ASYNC" start="EAGER">
> <locking isolation="READ_COMMITTED" acquire-timeout="20000" concurrency-level="500" striping="false"/>
> <transaction mode="NONE"/>
> <string-keyed-jdbc-store datasource="java:jboss/datasources/JDGDatasource" passivation="false" preload="true" purge="false" shared="false">
> <!-- property name="databaseType">ORACLE</property -->
> <string-keyed-table prefix="qs">
> <id-column name="id" type="VARCHAR(255)"/>
> <data-column name="datum" type="BLOB(2000)"/>
> <timestamp-column name="version" type="BIGINT"/>
> </string-keyed-table>
> <write-behind modification-queue-size="1024" shutdown-timeout="25000" flush-lock-timeout="15000" thread-pool-size="5" />
> </string-keyed-jdbc-store>
> <expiration interval="10000" />
> </replicated-cache>
> ERROR [org.infinispan.server.hotrod.HotRodDecoder:76] (HotRodServerWorker-88) ISPN005009: Unexpected error before any request parameters read: java.lang.ClassCastException: java.lang.String cannot be cast to [B
> at org.infinispan.server.hotrod.AbstractEncoder1x$$anonfun$writeResponse$5.apply(AbstractEncoder1x.scala:113) [infinispan.jar:7.0.0-SNAPSHOT]
> at scala.collection.Iterator$class.foreach(Iterator.scala:727)
> at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
> at org.infinispan.server.hotrod.AbstractEncoder1x.writeResponse(AbstractEncoder1x.scala:113) [infinispan.jar:7.0.0-SNAPSHOT]
> at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:48) [infinispan.jar:7.0.0-SNAPSHOT]
> at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.Channels.write(Channels.java:704) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.Channels.write(Channels.java:671) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248) [netty-3.6.6.Final.jar:]
> at org.infinispan.server.core.AbstractProtocolDecoder.writeResponse(AbstractProtocolDecoder.scala:163) [infinispan.jar:7.0.0-SNAPSHOT]
> at org.infinispan.server.hotrod.HotRodDecoder.customDecodeKey(HotRodDecoder.scala:138) [infinispan.jar:7.0.0-SNAPSHOT]
> at org.infinispan.server.core.AbstractProtocolDecoder.decodeKey(AbstractProtocolDecoder.scala:105) [infinispan.jar:7.0.0-SNAPSHOT]
> at org.infinispan.server.core.AbstractProtocolDecoder.decode(AbstractProtocolDecoder.scala:53) [infinispan.jar:7.0.0-SNAPSHOT]
> at org.infinispan.server.core.AbstractProtocolDecoder.decode(AbstractProtocolDecoder.scala:29) [infinispan.jar:7.0.0-SNAPSHOT]
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:500) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435) [netty-3.6.6.Final.jar:]
> at org.infinispan.server.core.AbstractProtocolDecoder.messageReceived(AbstractProtocolDecoder.scala:377) [infinispan.jar:7.0.0-SNAPSHOT]
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90) [netty-3.6.6.Final.jar:]
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [netty-3.6.6.Final.jar:]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
--
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
12 years
[JBoss JIRA] (ISPN-4103) Generic loader cache child creation fails
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-4103?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-4103:
--------------------------------
Summary: Generic loader cache child creation fails (was: RHQ server plugin: generic loader cache child creation fails)
> Generic loader cache child creation fails
> -----------------------------------------
>
> Key: ISPN-4103
> URL: https://issues.jboss.org/browse/ISPN-4103
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: William Burns
>
> Creation of cache child -- cluster loader is ok.
> However, when trying to create the same using generic loader child resource, it fails with following message [1].
> Server probably wasn't updated for latest persistence (loaders/stores) changes and only allows 5.2 based loaders/stores.
> Operation call from RHQ point of view looks to be clear and OK.
> [1]:
> 09:46:08,710 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014612: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]): java.lang.IllegalArgumentException: JBAS011001: org.infinispan.persistence.cluster.ClusterLoader is not a valid cache loader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:602)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.handleLoaderProperties(CacheAdd.java:548)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.processModelNode(CacheAdd.java:515)
> at org.jboss.as.clustering.infinispan.subsystem.ClusteredCacheAdd.processModelNode(ClusteredCacheAdd.java:70)
> at org.jboss.as.clustering.infinispan.subsystem.SharedStateCacheAdd.processModelNode(SharedStateCacheAdd.java:47)
> at org.jboss.as.clustering.infinispan.subsystem.DistributedCacheAdd.processModelNode(DistributedCacheAdd.java:86)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.installRuntimeServices(CacheAdd.java:223)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.performRuntime(CacheAdd.java:199)
> at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:334) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
> Caused by: java.lang.ClassCastException: org.infinispan.persistence.cluster.ClusterLoader cannot be cast to org.infinispan.loaders.CacheLoader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:597)
> ... 17 more
--
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
12 years
[JBoss JIRA] (ISPN-4135) Generic stores must implement CacheLoader
by William Burns (JIRA)
William Burns created ISPN-4135:
-----------------------------------
Summary: Generic stores must implement CacheLoader
Key: ISPN-4135
URL: https://issues.jboss.org/browse/ISPN-4135
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 6.0.2.Final
Reporter: William Burns
Assignee: Dan Berindei
The Parser60 class currently assigns the store definition to a CacheLoader variable, which therefore requires any provided generic store to also implement this interface. Our documentation states you can implement either CacheLoader/CacheWriter or both of the interfaces if desired.
--
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
12 years
[JBoss JIRA] (ISPN-3896) Running hotrod tests on OSX fails with malloc error
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3896?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-3896:
----------------------------------------
An early access build for JDK8u20 is available in https://jdk8.java.net/download.html, and that build works fine.
So, update to JDK8u20 to get around this issue on OSX.
> Running hotrod tests on OSX fails with malloc error
> ---------------------------------------------------
>
> Key: ISPN-3896
> URL: https://issues.jboss.org/browse/ISPN-3896
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 7.0.0.Final
> Environment: OSX 10.9.1, MacBook Pro, java 1.7.0_51-b13
> Reporter: Valerio Schiavoni
> Assignee: Mircea Markus
> Labels: hotrod
> Attachments: hs_err_pid14746.log, surefire40827213194968278tmp, surefirebooter496416065947160594.jar, surefire_06836732761783650088tmp
>
>
> The module server/hotrod fails to compile with a very nasty JVM crash:
> %mvn clean install -e
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Infinispan Hot Rod Server 7.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ infinispan-server-hotrod ---
> [INFO] Deleting /Users/veleno/workspace-git/infinispan/server/hotrod/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java) @ infinispan-server-hotrod ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ infinispan-server-hotrod ---
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = META-INF/DEPENDENCIES.txt.vm [line 20,column 14] : $license.name is not a valid reference.
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ infinispan-server-hotrod ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.2:compile (default) @ infinispan-server-hotrod ---
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] /Users/veleno/workspace-git/infinispan/server/hotrod/src/main/scala:-1: info: compiling
> [INFO] Compiling 23 source files to /Users/veleno/workspace-git/infinispan/server/hotrod/target/classes at 1389828713500
> [INFO] compiler plugin: BasicArtifact(com.typesafe.genjavadoc,genjavadoc-plugin_2.10.2,0.5)
> [WARNING] warning: there were 1 deprecation warning(s); re-run with -deprecation for details
> [WARNING] one warning found
> [INFO] prepare-compile in 0 s
> [INFO] compile in 11 s
> [INFO]
> [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ infinispan-server-hotrod ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 4 source files to /Users/veleno/workspace-git/infinispan/server/hotrod/target/classes
> [WARNING] /Users/veleno/workspace-git/infinispan/server/hotrod/src/main/scala/org/infinispan/server/hotrod/logging/JavaLog.java: /Users/veleno/workspace-git/infinispan/server/hotrod/src/main/scala/org/infinispan/server/hotrod/logging/JavaLog.java uses or overrides a deprecated API.
> [WARNING] /Users/veleno/workspace-git/infinispan/server/hotrod/src/main/scala/org/infinispan/server/hotrod/logging/JavaLog.java: Recompile with -Xlint:deprecation for details.
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.2:compile (compile) @ infinispan-server-hotrod ---
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ infinispan-server-hotrod ---
> [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
> [INFO]
> [INFO] >>> exec-maven-plugin:1.2.1:java (serialize_component_metadata) @ infinispan-server-hotrod >>>
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java) @ infinispan-server-hotrod ---
> [INFO]
> [INFO] <<< exec-maven-plugin:1.2.1:java (serialize_component_metadata) @ infinispan-server-hotrod <<<
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:java (serialize_component_metadata) @ infinispan-server-hotrod ---
> [INFO] skipping execute as per configuraion
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ infinispan-server-hotrod ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (copy_serialized_metadata) @ infinispan-server-hotrod ---
> [INFO] Skipping Antrun execution
> [INFO]
> [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ infinispan-server-hotrod ---
> [INFO] Changes detected - recompiling the module!
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.2:testCompile (test-compile) @ infinispan-server-hotrod ---
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] /Users/veleno/workspace-git/infinispan/server/hotrod/src/test/scala:-1: info: compiling
> [INFO] Compiling 29 source files to /Users/veleno/workspace-git/infinispan/server/hotrod/target/test-classes at 1389828729403
> [INFO] compiler plugin: BasicArtifact(com.typesafe.genjavadoc,genjavadoc-plugin_2.10.2,0.5)
> [WARNING] warning: there were 4 deprecation warning(s); re-run with -deprecation for details
> [WARNING] one warning found
> [INFO] prepare-compile in 0 s
> [INFO] compile in 16 s
> [INFO]
> [INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ infinispan-server-hotrod ---
> [INFO] Surefire report directory: /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running TestSuite
> Configuring TestNG with: TestNG652Configurator
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Transport protocol stack used = tcp
> [testng-CrashedMemberDetectorTest] Test testDetectCrashedMembers(org.infinispan.server.hotrod.CrashedMemberDetectorTest) succeeded.
> Test suite progress: tests succeeded: 1, failed: 0, skipped: 0.
> [testng-HotRodMarshallingTest] Test testMarshallingBigByteArrayKey(org.infinispan.server.hotrod.HotRodMarshallingTest) succeeded.
> Test suite progress: tests succeeded: 2, failed: 0, skipped: 0.
> [testng-HotRodMarshallingTest] Test testMarshallingCommandWithBigByteArrayKey(org.infinispan.server.hotrod.HotRodMarshallingTest) succeeded.
> Test suite progress: tests succeeded: 3, failed: 0, skipped: 0.
> [testng-HotRodDefaultCacheTest] Test testPutOnDefaultCache(org.infinispan.server.hotrod.HotRodDefaultCacheTest) succeeded.
> Test suite progress: tests succeeded: 4, failed: 0, skipped: 0.
> [testng-HotRodServerTest] Test testValidateProtocolServerNullProperties(org.infinispan.server.hotrod.HotRodServerTest) succeeded.
> Test suite progress: tests succeeded: 5, failed: 0, skipped: 0.
> [testng-HotRodConfigurationTest] Test testLazyLoadTopology(org.infinispan.server.hotrod.HotRodConfigurationTest) succeeded.
> Test suite progress: tests succeeded: 6, failed: 0, skipped: 0.
> [testng-HotRodConfigurationTest] Test testRepeatableReadIsolationLevelValidation(org.infinispan.server.hotrod.HotRodConfigurationTest) succeeded.
> Test suite progress: tests succeeded: 7, failed: 0, skipped: 0.
> [testng-HotRodConfigurationTest] Test testSerializableIsolationLevelValidation(org.infinispan.server.hotrod.HotRodConfigurationTest) succeeded.
> Test suite progress: tests succeeded: 8, failed: 0, skipped: 0.
> [testng-HotRodSharedContainerTest] Test testSharedContainer(org.infinispan.server.hotrod.HotRodSharedContainerTest) succeeded.
> Test suite progress: tests succeeded: 9, failed: 0, skipped: 0.
> [testng-HotRod12ReplicationTest] Test testPingWithTopologyAwareClient(org.infinispan.server.hotrod.HotRod12ReplicationTest) succeeded.
> Test suite progress: tests succeeded: 10, failed: 0, skipped: 0.
> [testng-HotRodSharedContainerTest] Test testTopologyConflict(org.infinispan.server.hotrod.HotRodSharedContainerTest) succeeded.
> Test suite progress: tests succeeded: 11, failed: 0, skipped: 0.
> [testng-HotRodConfigurationTest] Test testUserDefinedTimeouts(org.infinispan.server.hotrod.HotRodConfigurationTest) succeeded.
> Test suite progress: tests succeeded: 12, failed: 0, skipped: 0.
> [testng-HotRod12ReplicationTest] Test testReplicatedPut(org.infinispan.server.hotrod.HotRod12ReplicationTest) succeeded.
> Test suite progress: tests succeeded: 13, failed: 0, skipped: 0.
> [testng-HotRodShutdownTest] Test testPutBasic(org.infinispan.server.hotrod.HotRodShutdownTest) succeeded.
> Test suite progress: tests succeeded: 14, failed: 0, skipped: 0.
> [testng-HotRodSingleClusteredTest] Test testPutGet(org.infinispan.server.hotrod.HotRodSingleClusteredTest) succeeded.
> Test suite progress: tests succeeded: 15, failed: 0, skipped: 0.
> java(4580,0x12f145000) malloc: *** error for object 0x12f134440: pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> /bin/sh: line 1: 4580 Abort trap: 6 /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 41.325s
> [INFO] Finished at: Wed Jan 15 23:32:31 WET 2014
> [INFO] Final Memory: 63M/982M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-server-hotrod: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> [ERROR] Command was/bin/sh -c cd /Users/veleno/workspace-git/infinispan/server/hotrod && /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-server-hotrod: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> Command was/bin/sh -c cd /Users/veleno/workspace-git/infinispan/server/hotrod && /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> Command was/bin/sh -c cd /Users/veleno/workspace-git/infinispan/server/hotrod && /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> ... 19 more
> Caused by: java.lang.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> Command was/bin/sh -c cd /Users/veleno/workspace-git/infinispan/server/hotrod && /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:485)
> at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:350)
> at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:156)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:809)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:703)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:631)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> ... 20 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
--
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
12 years
[JBoss JIRA] (ISPN-3896) Running hotrod tests on OSX fails with malloc error
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3896?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño resolved ISPN-3896.
------------------------------------
Resolution: Done
> Running hotrod tests on OSX fails with malloc error
> ---------------------------------------------------
>
> Key: ISPN-3896
> URL: https://issues.jboss.org/browse/ISPN-3896
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 7.0.0.Final
> Environment: OSX 10.9.1, MacBook Pro, java 1.7.0_51-b13
> Reporter: Valerio Schiavoni
> Assignee: Mircea Markus
> Labels: hotrod
> Attachments: hs_err_pid14746.log, surefire40827213194968278tmp, surefirebooter496416065947160594.jar, surefire_06836732761783650088tmp
>
>
> The module server/hotrod fails to compile with a very nasty JVM crash:
> %mvn clean install -e
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Infinispan Hot Rod Server 7.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ infinispan-server-hotrod ---
> [INFO] Deleting /Users/veleno/workspace-git/infinispan/server/hotrod/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java) @ infinispan-server-hotrod ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ infinispan-server-hotrod ---
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = META-INF/DEPENDENCIES.txt.vm [line 20,column 14] : $license.name is not a valid reference.
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ infinispan-server-hotrod ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.2:compile (default) @ infinispan-server-hotrod ---
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] /Users/veleno/workspace-git/infinispan/server/hotrod/src/main/scala:-1: info: compiling
> [INFO] Compiling 23 source files to /Users/veleno/workspace-git/infinispan/server/hotrod/target/classes at 1389828713500
> [INFO] compiler plugin: BasicArtifact(com.typesafe.genjavadoc,genjavadoc-plugin_2.10.2,0.5)
> [WARNING] warning: there were 1 deprecation warning(s); re-run with -deprecation for details
> [WARNING] one warning found
> [INFO] prepare-compile in 0 s
> [INFO] compile in 11 s
> [INFO]
> [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ infinispan-server-hotrod ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 4 source files to /Users/veleno/workspace-git/infinispan/server/hotrod/target/classes
> [WARNING] /Users/veleno/workspace-git/infinispan/server/hotrod/src/main/scala/org/infinispan/server/hotrod/logging/JavaLog.java: /Users/veleno/workspace-git/infinispan/server/hotrod/src/main/scala/org/infinispan/server/hotrod/logging/JavaLog.java uses or overrides a deprecated API.
> [WARNING] /Users/veleno/workspace-git/infinispan/server/hotrod/src/main/scala/org/infinispan/server/hotrod/logging/JavaLog.java: Recompile with -Xlint:deprecation for details.
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.2:compile (compile) @ infinispan-server-hotrod ---
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- animal-sniffer-maven-plugin:1.9:check (default) @ infinispan-server-hotrod ---
> [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
> [INFO]
> [INFO] >>> exec-maven-plugin:1.2.1:java (serialize_component_metadata) @ infinispan-server-hotrod >>>
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java) @ infinispan-server-hotrod ---
> [INFO]
> [INFO] <<< exec-maven-plugin:1.2.1:java (serialize_component_metadata) @ infinispan-server-hotrod <<<
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:java (serialize_component_metadata) @ infinispan-server-hotrod ---
> [INFO] skipping execute as per configuraion
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ infinispan-server-hotrod ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (copy_serialized_metadata) @ infinispan-server-hotrod ---
> [INFO] Skipping Antrun execution
> [INFO]
> [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ infinispan-server-hotrod ---
> [INFO] Changes detected - recompiling the module!
> [INFO]
> [INFO] --- maven-scala-plugin:2.15.2:testCompile (test-compile) @ infinispan-server-hotrod ---
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] /Users/veleno/workspace-git/infinispan/server/hotrod/src/test/scala:-1: info: compiling
> [INFO] Compiling 29 source files to /Users/veleno/workspace-git/infinispan/server/hotrod/target/test-classes at 1389828729403
> [INFO] compiler plugin: BasicArtifact(com.typesafe.genjavadoc,genjavadoc-plugin_2.10.2,0.5)
> [WARNING] warning: there were 4 deprecation warning(s); re-run with -deprecation for details
> [WARNING] one warning found
> [INFO] prepare-compile in 0 s
> [INFO] compile in 16 s
> [INFO]
> [INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ infinispan-server-hotrod ---
> [INFO] Surefire report directory: /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running TestSuite
> Configuring TestNG with: TestNG652Configurator
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Transport protocol stack used = tcp
> [testng-CrashedMemberDetectorTest] Test testDetectCrashedMembers(org.infinispan.server.hotrod.CrashedMemberDetectorTest) succeeded.
> Test suite progress: tests succeeded: 1, failed: 0, skipped: 0.
> [testng-HotRodMarshallingTest] Test testMarshallingBigByteArrayKey(org.infinispan.server.hotrod.HotRodMarshallingTest) succeeded.
> Test suite progress: tests succeeded: 2, failed: 0, skipped: 0.
> [testng-HotRodMarshallingTest] Test testMarshallingCommandWithBigByteArrayKey(org.infinispan.server.hotrod.HotRodMarshallingTest) succeeded.
> Test suite progress: tests succeeded: 3, failed: 0, skipped: 0.
> [testng-HotRodDefaultCacheTest] Test testPutOnDefaultCache(org.infinispan.server.hotrod.HotRodDefaultCacheTest) succeeded.
> Test suite progress: tests succeeded: 4, failed: 0, skipped: 0.
> [testng-HotRodServerTest] Test testValidateProtocolServerNullProperties(org.infinispan.server.hotrod.HotRodServerTest) succeeded.
> Test suite progress: tests succeeded: 5, failed: 0, skipped: 0.
> [testng-HotRodConfigurationTest] Test testLazyLoadTopology(org.infinispan.server.hotrod.HotRodConfigurationTest) succeeded.
> Test suite progress: tests succeeded: 6, failed: 0, skipped: 0.
> [testng-HotRodConfigurationTest] Test testRepeatableReadIsolationLevelValidation(org.infinispan.server.hotrod.HotRodConfigurationTest) succeeded.
> Test suite progress: tests succeeded: 7, failed: 0, skipped: 0.
> [testng-HotRodConfigurationTest] Test testSerializableIsolationLevelValidation(org.infinispan.server.hotrod.HotRodConfigurationTest) succeeded.
> Test suite progress: tests succeeded: 8, failed: 0, skipped: 0.
> [testng-HotRodSharedContainerTest] Test testSharedContainer(org.infinispan.server.hotrod.HotRodSharedContainerTest) succeeded.
> Test suite progress: tests succeeded: 9, failed: 0, skipped: 0.
> [testng-HotRod12ReplicationTest] Test testPingWithTopologyAwareClient(org.infinispan.server.hotrod.HotRod12ReplicationTest) succeeded.
> Test suite progress: tests succeeded: 10, failed: 0, skipped: 0.
> [testng-HotRodSharedContainerTest] Test testTopologyConflict(org.infinispan.server.hotrod.HotRodSharedContainerTest) succeeded.
> Test suite progress: tests succeeded: 11, failed: 0, skipped: 0.
> [testng-HotRodConfigurationTest] Test testUserDefinedTimeouts(org.infinispan.server.hotrod.HotRodConfigurationTest) succeeded.
> Test suite progress: tests succeeded: 12, failed: 0, skipped: 0.
> [testng-HotRod12ReplicationTest] Test testReplicatedPut(org.infinispan.server.hotrod.HotRod12ReplicationTest) succeeded.
> Test suite progress: tests succeeded: 13, failed: 0, skipped: 0.
> [testng-HotRodShutdownTest] Test testPutBasic(org.infinispan.server.hotrod.HotRodShutdownTest) succeeded.
> Test suite progress: tests succeeded: 14, failed: 0, skipped: 0.
> [testng-HotRodSingleClusteredTest] Test testPutGet(org.infinispan.server.hotrod.HotRodSingleClusteredTest) succeeded.
> Test suite progress: tests succeeded: 15, failed: 0, skipped: 0.
> java(4580,0x12f145000) malloc: *** error for object 0x12f134440: pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> /bin/sh: line 1: 4580 Abort trap: 6 /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 41.325s
> [INFO] Finished at: Wed Jan 15 23:32:31 WET 2014
> [INFO] Final Memory: 63M/982M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-server-hotrod: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> [ERROR] Command was/bin/sh -c cd /Users/veleno/workspace-git/infinispan/server/hotrod && /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-server-hotrod: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> Command was/bin/sh -c cd /Users/veleno/workspace-git/infinispan/server/hotrod && /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> Command was/bin/sh -c cd /Users/veleno/workspace-git/infinispan/server/hotrod && /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> ... 19 more
> Caused by: java.lang.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
> Command was/bin/sh -c cd /Users/veleno/workspace-git/infinispan/server/hotrod && /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -Dsun.nio.ch.bugLevel -jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefirebooter6031708881646581287.jar /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire4130857253146854844tmp /Users/veleno/workspace-git/infinispan/server/hotrod/target/surefire/surefire_01759720057193009119tmp
> at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:485)
> at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:350)
> at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:156)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:809)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:703)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:631)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> ... 20 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
--
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
12 years
[JBoss JIRA] (ISPN-263) Handle cluster partitions
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-263?page=com.atlassian.jira.plugin.s... ]
Galder Zamarreño updated ISPN-263:
----------------------------------
Assignee: Mircea Markus (was: Manik Surtani)
> Handle cluster partitions
> -------------------------
>
> Key: ISPN-263
> URL: https://issues.jboss.org/browse/ISPN-263
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Reporter: Manik Surtani
> Assignee: Mircea Markus
> Labels: MERGE, roadmap, split_brain
> Fix For: 7.0.0.Alpha4, 7.0.0.Final
>
>
> JGroups already detects split brains and issues a callback. The cache layer needs to decide what to do. The idea is to implement a few canned policies (restart, wipe, etc) and allow custom handlers to be attached as well.
> Analogous to JBCACHE-471
--
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
12 years
[JBoss JIRA] (ISPN-4103) RHQ server plugin: generic loader cache child creation fails
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4103?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4103:
-----------------------------------------------
Tristan Tarrant <ttarrant(a)redhat.com> changed the Status of [bug 1076042|https://bugzilla.redhat.com/show_bug.cgi?id=1076042] from NEW to ASSIGNED
> RHQ server plugin: generic loader cache child creation fails
> ------------------------------------------------------------
>
> Key: ISPN-4103
> URL: https://issues.jboss.org/browse/ISPN-4103
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: William Burns
>
> Creation of cache child -- cluster loader is ok.
> However, when trying to create the same using generic loader child resource, it fails with following message [1].
> Server probably wasn't updated for latest persistence (loaders/stores) changes and only allows 5.2 based loaders/stores.
> Operation call from RHQ point of view looks to be clear and OK.
> [1]:
> 09:46:08,710 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014612: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]): java.lang.IllegalArgumentException: JBAS011001: org.infinispan.persistence.cluster.ClusterLoader is not a valid cache loader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:602)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.handleLoaderProperties(CacheAdd.java:548)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.processModelNode(CacheAdd.java:515)
> at org.jboss.as.clustering.infinispan.subsystem.ClusteredCacheAdd.processModelNode(ClusteredCacheAdd.java:70)
> at org.jboss.as.clustering.infinispan.subsystem.SharedStateCacheAdd.processModelNode(SharedStateCacheAdd.java:47)
> at org.jboss.as.clustering.infinispan.subsystem.DistributedCacheAdd.processModelNode(DistributedCacheAdd.java:86)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.installRuntimeServices(CacheAdd.java:223)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.performRuntime(CacheAdd.java:199)
> at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:334) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
> Caused by: java.lang.ClassCastException: org.infinispan.persistence.cluster.ClusterLoader cannot be cast to org.infinispan.loaders.CacheLoader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:597)
> ... 17 more
--
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
12 years
[JBoss JIRA] (ISPN-4104) Generic store cache child creation fails
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4104?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4104:
-----------------------------------------------
Tristan Tarrant <ttarrant(a)redhat.com> changed the Status of [bug 1076047|https://bugzilla.redhat.com/show_bug.cgi?id=1076047] from NEW to ASSIGNED
> Generic store cache child creation fails
> ----------------------------------------
>
> Key: ISPN-4104
> URL: https://issues.jboss.org/browse/ISPN-4104
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: William Burns
>
> This issue is similar to: https://issues.jboss.org/browse/ISPN-4103
> I can see this error during server restart:
> 10:38:01,682 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014613: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]) - failure description: "JBAS010292: org.infinispan.persistence.file.SingleFileStore is not a valid cache store"
> After issuing of operation this configuration fragment is added into standalone.xml configuration file: <store name="genericStore" class="org.infinispan.persistence.file.SingleFileStore" preload="true" passivation="false" purge="false"/>
> Child creation using not generic, but pure File Cache Store option works OK. Store is configured and using this class: org.infinispan.persistence.file.SingleFileStore, however, when trying to do the same using generic store creation, it fails.
> See error in linked JIRA (for loader) as I suspect there is the same cause for this.
--
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
12 years