[JBoss JIRA] (ISPN-3897) Listener with @ViewChanged annotation for RemoteCacheManager.
by Tomas Tomas (JIRA)
Tomas Tomas created ISPN-3897:
---------------------------------
Summary: Listener with @ViewChanged annotation for RemoteCacheManager.
Key: ISPN-3897
URL: https://issues.jboss.org/browse/ISPN-3897
Project: Infinispan
Issue Type: Feature Request
Components: Listeners
Reporter: Tomas Tomas
Assignee: Mircea Markus
Priority: Optional
Create Listener with @ViewChanged annotation for RemoteCacheManager.
Similarly like it is done for embedded Infinispan. There is @ViewChanged annotation which can be used when cluster topology is changed.
For remote cache:
RemoteCacheManager cacheContainer = new RemoteCacheManager(resource, true);
cacheManager.addListener(new CacheManagerListener());
@Listener
public class CacheManagerListener {
@CacheStarted
}
@CacheStopped
}
@ViewChanged
public void viewChanged(ViewChangedEvent event) {
}
}
--
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, 2 months
[JBoss JIRA] (ISPN-3896) Compilation of hotrod server fails with malloc error
by Valerio Schiavoni (JIRA)
[ https://issues.jboss.org/browse/ISPN-3896?page=com.atlassian.jira.plugin.... ]
Valerio Schiavoni updated ISPN-3896:
------------------------------------
Attachment: surefire_06836732761783650088tmp
surefire40827213194968278tmp
surefirebooter496416065947160594.jar
The surefire reports and the associated jar archive.
> Compilation of hotrod server fails with malloc error
> ----------------------------------------------------
>
> Key: ISPN-3896
> URL: https://issues.jboss.org/browse/ISPN-3896
> Project: Infinispan
> Issue Type: Bug
> 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: 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, 2 months
[JBoss JIRA] (ISPN-3896) Compilation of hotrod server fails with malloc error
by Valerio Schiavoni (JIRA)
Valerio Schiavoni created ISPN-3896:
---------------------------------------
Summary: Compilation of hotrod server fails with malloc error
Key: ISPN-3896
URL: https://issues.jboss.org/browse/ISPN-3896
Project: Infinispan
Issue Type: Bug
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
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, 2 months
[JBoss JIRA] (ISPN-3895) Compilation with Java 1.6.0_65 fails
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-3895?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-3895:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2333
> Compilation with Java 1.6.0_65 fails
> -------------------------------------
>
> Key: ISPN-3895
> URL: https://issues.jboss.org/browse/ISPN-3895
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 7.0.0.Final
> Reporter: Valerio Schiavoni
> Assignee: Tristan Tarrant
>
> I'm trying to follow the 'Getting started with Infinispan' as published here:
> http://infinispan.org/docs/6.0.x/getting_started/getting_started.html
> There, it is specified: "A Java 6.0 JDK"
> Compiling INFINISPAN-7.0.0-SNAPSHOT with Maven 3.1.1 and java version "1.6.0_65, the maven-enforcer-plugin complains:
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce' with basic configurator -->
> [DEBUG] (s) fail = true
> [DEBUG] (s) failFast = false
> [DEBUG] (f) ignoreCache = false
> [DEBUG] (s) project = MavenProject: org.infinispan:infinispan-parent:7.0.0-SNAPSHOT @ /Users/veleno/workspace-git/infinispan/parent/pom.xml
> [DEBUG] (s) version = [1.7,)
> [DEBUG] (s) version = [3.0.3,)
> [DEBUG] (s) rules = [org.apache.maven.plugins.enforcer.RequireJavaVersion@15194a34, org.apache.maven.plugins.enforcer.RequireMavenVersion@2f56a6be]
> [DEBUG] (s) session = org.apache.maven.execution.MavenSession@7b681460
> [DEBUG] (s) skip = false
> [DEBUG] -- end configuration --
> [DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
> [DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is cacheable.
> [DEBUG] Detected Java String: 1.6.0_65
> [DEBUG] Normalized Java String: 1.6.0-65
> [DEBUG] Parsed Version: Major: 1 Minor: 6 Incremental: 0 Build: 65 Qualifier: null
> [DEBUG] Adding failure due to exception
> org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected JDK Version: 1.6.0-65 is not in the allowed range [1.7,).
> at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:101)
> at org.apache.maven.plugins.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:65)
> at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:186)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 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:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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)
> $java -version:
> java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
--
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, 2 months
[JBoss JIRA] (ISPN-3895) Compilation with Java 1.6.0_65 fails
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-3895?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant commented on ISPN-3895:
---------------------------------------
Valerio, the Getting Started guide is wrong: JDK 1.7 is a requirement for compiling Infinispan 6.x onwards. The resulting binaries however can be used with JDK 1.6. I will rectify the docs asap. Thanks for noticing this.
> Compilation with Java 1.6.0_65 fails
> -------------------------------------
>
> Key: ISPN-3895
> URL: https://issues.jboss.org/browse/ISPN-3895
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 7.0.0.Final
> Reporter: Valerio Schiavoni
> Assignee: Mircea Markus
>
> I'm trying to follow the 'Getting started with Infinispan' as published here:
> http://infinispan.org/docs/6.0.x/getting_started/getting_started.html
> There, it is specified: "A Java 6.0 JDK"
> Compiling INFINISPAN-7.0.0-SNAPSHOT with Maven 3.1.1 and java version "1.6.0_65, the maven-enforcer-plugin complains:
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce' with basic configurator -->
> [DEBUG] (s) fail = true
> [DEBUG] (s) failFast = false
> [DEBUG] (f) ignoreCache = false
> [DEBUG] (s) project = MavenProject: org.infinispan:infinispan-parent:7.0.0-SNAPSHOT @ /Users/veleno/workspace-git/infinispan/parent/pom.xml
> [DEBUG] (s) version = [1.7,)
> [DEBUG] (s) version = [3.0.3,)
> [DEBUG] (s) rules = [org.apache.maven.plugins.enforcer.RequireJavaVersion@15194a34, org.apache.maven.plugins.enforcer.RequireMavenVersion@2f56a6be]
> [DEBUG] (s) session = org.apache.maven.execution.MavenSession@7b681460
> [DEBUG] (s) skip = false
> [DEBUG] -- end configuration --
> [DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
> [DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is cacheable.
> [DEBUG] Detected Java String: 1.6.0_65
> [DEBUG] Normalized Java String: 1.6.0-65
> [DEBUG] Parsed Version: Major: 1 Minor: 6 Incremental: 0 Build: 65 Qualifier: null
> [DEBUG] Adding failure due to exception
> org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected JDK Version: 1.6.0-65 is not in the allowed range [1.7,).
> at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:101)
> at org.apache.maven.plugins.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:65)
> at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:186)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 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:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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)
> $java -version:
> java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
--
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, 2 months
[JBoss JIRA] (ISPN-3895) Compilation with Java 1.6.0_65 fails
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-3895?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-3895:
-------------------------------------
Assignee: Tristan Tarrant (was: Mircea Markus)
> Compilation with Java 1.6.0_65 fails
> -------------------------------------
>
> Key: ISPN-3895
> URL: https://issues.jboss.org/browse/ISPN-3895
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 7.0.0.Final
> Reporter: Valerio Schiavoni
> Assignee: Tristan Tarrant
>
> I'm trying to follow the 'Getting started with Infinispan' as published here:
> http://infinispan.org/docs/6.0.x/getting_started/getting_started.html
> There, it is specified: "A Java 6.0 JDK"
> Compiling INFINISPAN-7.0.0-SNAPSHOT with Maven 3.1.1 and java version "1.6.0_65, the maven-enforcer-plugin complains:
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce' with basic configurator -->
> [DEBUG] (s) fail = true
> [DEBUG] (s) failFast = false
> [DEBUG] (f) ignoreCache = false
> [DEBUG] (s) project = MavenProject: org.infinispan:infinispan-parent:7.0.0-SNAPSHOT @ /Users/veleno/workspace-git/infinispan/parent/pom.xml
> [DEBUG] (s) version = [1.7,)
> [DEBUG] (s) version = [3.0.3,)
> [DEBUG] (s) rules = [org.apache.maven.plugins.enforcer.RequireJavaVersion@15194a34, org.apache.maven.plugins.enforcer.RequireMavenVersion@2f56a6be]
> [DEBUG] (s) session = org.apache.maven.execution.MavenSession@7b681460
> [DEBUG] (s) skip = false
> [DEBUG] -- end configuration --
> [DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
> [DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is cacheable.
> [DEBUG] Detected Java String: 1.6.0_65
> [DEBUG] Normalized Java String: 1.6.0-65
> [DEBUG] Parsed Version: Major: 1 Minor: 6 Incremental: 0 Build: 65 Qualifier: null
> [DEBUG] Adding failure due to exception
> org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected JDK Version: 1.6.0-65 is not in the allowed range [1.7,).
> at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:101)
> at org.apache.maven.plugins.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:65)
> at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:186)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 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:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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)
> $java -version:
> java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
--
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, 2 months
[JBoss JIRA] (ISPN-3895) Compilation with Java 1.6.0_65 fails
by Valerio Schiavoni (JIRA)
[ https://issues.jboss.org/browse/ISPN-3895?page=com.atlassian.jira.plugin.... ]
Valerio Schiavoni updated ISPN-3895:
------------------------------------
Affects Version/s: 7.0.0.Final
(was: 6.0.0.Final)
> Compilation with Java 1.6.0_65 fails
> -------------------------------------
>
> Key: ISPN-3895
> URL: https://issues.jboss.org/browse/ISPN-3895
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 7.0.0.Final
> Reporter: Valerio Schiavoni
> Assignee: Mircea Markus
>
> I'm trying to follow the 'Getting started with Infinispan' as published here:
> http://infinispan.org/docs/6.0.x/getting_started/getting_started.html
> There, it is specified: "A Java 6.0 JDK"
> Compiling INFINISPAN-6.0.0-Final with Maven 3.1.1 and java version "1.6.0_65, the maven-enforcer-plugin complains:
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce' with basic configurator -->
> [DEBUG] (s) fail = true
> [DEBUG] (s) failFast = false
> [DEBUG] (f) ignoreCache = false
> [DEBUG] (s) project = MavenProject: org.infinispan:infinispan-parent:7.0.0-SNAPSHOT @ /Users/veleno/workspace-git/infinispan/parent/pom.xml
> [DEBUG] (s) version = [1.7,)
> [DEBUG] (s) version = [3.0.3,)
> [DEBUG] (s) rules = [org.apache.maven.plugins.enforcer.RequireJavaVersion@15194a34, org.apache.maven.plugins.enforcer.RequireMavenVersion@2f56a6be]
> [DEBUG] (s) session = org.apache.maven.execution.MavenSession@7b681460
> [DEBUG] (s) skip = false
> [DEBUG] -- end configuration --
> [DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
> [DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is cacheable.
> [DEBUG] Detected Java String: 1.6.0_65
> [DEBUG] Normalized Java String: 1.6.0-65
> [DEBUG] Parsed Version: Major: 1 Minor: 6 Incremental: 0 Build: 65 Qualifier: null
> [DEBUG] Adding failure due to exception
> org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected JDK Version: 1.6.0-65 is not in the allowed range [1.7,).
> at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:101)
> at org.apache.maven.plugins.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:65)
> at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:186)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 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:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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)
> $java -version:
> java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
--
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, 2 months
[JBoss JIRA] (ISPN-3895) Compilation with Java 1.6.0_65 fails
by Valerio Schiavoni (JIRA)
[ https://issues.jboss.org/browse/ISPN-3895?page=com.atlassian.jira.plugin.... ]
Valerio Schiavoni updated ISPN-3895:
------------------------------------
Description:
I'm trying to follow the 'Getting started with Infinispan' as published here:
http://infinispan.org/docs/6.0.x/getting_started/getting_started.html
There, it is specified: "A Java 6.0 JDK"
Compiling INFINISPAN-7.0.0-SNAPSHOT with Maven 3.1.1 and java version "1.6.0_65, the maven-enforcer-plugin complains:
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce' with basic configurator -->
[DEBUG] (s) fail = true
[DEBUG] (s) failFast = false
[DEBUG] (f) ignoreCache = false
[DEBUG] (s) project = MavenProject: org.infinispan:infinispan-parent:7.0.0-SNAPSHOT @ /Users/veleno/workspace-git/infinispan/parent/pom.xml
[DEBUG] (s) version = [1.7,)
[DEBUG] (s) version = [3.0.3,)
[DEBUG] (s) rules = [org.apache.maven.plugins.enforcer.RequireJavaVersion@15194a34, org.apache.maven.plugins.enforcer.RequireMavenVersion@2f56a6be]
[DEBUG] (s) session = org.apache.maven.execution.MavenSession@7b681460
[DEBUG] (s) skip = false
[DEBUG] -- end configuration --
[DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
[DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is cacheable.
[DEBUG] Detected Java String: 1.6.0_65
[DEBUG] Normalized Java String: 1.6.0-65
[DEBUG] Parsed Version: Major: 1 Minor: 6 Incremental: 0 Build: 65 Qualifier: null
[DEBUG] Adding failure due to exception
org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected JDK Version: 1.6.0-65 is not in the allowed range [1.7,).
at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:101)
at org.apache.maven.plugins.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:65)
at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:186)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
$java -version:
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
was:
I'm trying to follow the 'Getting started with Infinispan' as published here:
http://infinispan.org/docs/6.0.x/getting_started/getting_started.html
There, it is specified: "A Java 6.0 JDK"
Compiling INFINISPAN-6.0.0-Final with Maven 3.1.1 and java version "1.6.0_65, the maven-enforcer-plugin complains:
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce' with basic configurator -->
[DEBUG] (s) fail = true
[DEBUG] (s) failFast = false
[DEBUG] (f) ignoreCache = false
[DEBUG] (s) project = MavenProject: org.infinispan:infinispan-parent:7.0.0-SNAPSHOT @ /Users/veleno/workspace-git/infinispan/parent/pom.xml
[DEBUG] (s) version = [1.7,)
[DEBUG] (s) version = [3.0.3,)
[DEBUG] (s) rules = [org.apache.maven.plugins.enforcer.RequireJavaVersion@15194a34, org.apache.maven.plugins.enforcer.RequireMavenVersion@2f56a6be]
[DEBUG] (s) session = org.apache.maven.execution.MavenSession@7b681460
[DEBUG] (s) skip = false
[DEBUG] -- end configuration --
[DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
[DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is cacheable.
[DEBUG] Detected Java String: 1.6.0_65
[DEBUG] Normalized Java String: 1.6.0-65
[DEBUG] Parsed Version: Major: 1 Minor: 6 Incremental: 0 Build: 65 Qualifier: null
[DEBUG] Adding failure due to exception
org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected JDK Version: 1.6.0-65 is not in the allowed range [1.7,).
at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:101)
at org.apache.maven.plugins.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:65)
at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:186)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
$java -version:
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
> Compilation with Java 1.6.0_65 fails
> -------------------------------------
>
> Key: ISPN-3895
> URL: https://issues.jboss.org/browse/ISPN-3895
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 7.0.0.Final
> Reporter: Valerio Schiavoni
> Assignee: Mircea Markus
>
> I'm trying to follow the 'Getting started with Infinispan' as published here:
> http://infinispan.org/docs/6.0.x/getting_started/getting_started.html
> There, it is specified: "A Java 6.0 JDK"
> Compiling INFINISPAN-7.0.0-SNAPSHOT with Maven 3.1.1 and java version "1.6.0_65, the maven-enforcer-plugin complains:
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce' with basic configurator -->
> [DEBUG] (s) fail = true
> [DEBUG] (s) failFast = false
> [DEBUG] (f) ignoreCache = false
> [DEBUG] (s) project = MavenProject: org.infinispan:infinispan-parent:7.0.0-SNAPSHOT @ /Users/veleno/workspace-git/infinispan/parent/pom.xml
> [DEBUG] (s) version = [1.7,)
> [DEBUG] (s) version = [3.0.3,)
> [DEBUG] (s) rules = [org.apache.maven.plugins.enforcer.RequireJavaVersion@15194a34, org.apache.maven.plugins.enforcer.RequireMavenVersion@2f56a6be]
> [DEBUG] (s) session = org.apache.maven.execution.MavenSession@7b681460
> [DEBUG] (s) skip = false
> [DEBUG] -- end configuration --
> [DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
> [DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is cacheable.
> [DEBUG] Detected Java String: 1.6.0_65
> [DEBUG] Normalized Java String: 1.6.0-65
> [DEBUG] Parsed Version: Major: 1 Minor: 6 Incremental: 0 Build: 65 Qualifier: null
> [DEBUG] Adding failure due to exception
> org.apache.maven.enforcer.rule.api.EnforcerRuleException: Detected JDK Version: 1.6.0-65 is not in the allowed range [1.7,).
> at org.apache.maven.plugins.enforcer.AbstractVersionEnforcer.enforceVersion(AbstractVersionEnforcer.java:101)
> at org.apache.maven.plugins.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:65)
> at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:186)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 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:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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)
> $java -version:
> java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
--
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, 2 months
[JBoss JIRA] (ISPN-3873) Race condition in AbstractInvocationContextFactory (results in NullPointerException in EquivalentHashMap when receiving an invalidate command during startup)
by Karl von Randow (JIRA)
[ https://issues.jboss.org/browse/ISPN-3873?page=com.atlassian.jira.plugin.... ]
Karl von Randow commented on ISPN-3873:
---------------------------------------
Heh, this is a bit over my head, but I'm glad that trace was useful. Is there anything I can do to help with this issue?
I can definitely move the key equivalence set to the init method. I'm amused I didn't think of that as the first solution, I guess I assumed there was some reason it was done in start rather than init. I'll try that out in our environment and should see pretty quickly whether that works, as we do currently see the IllegalStateException I added.
> Race condition in AbstractInvocationContextFactory (results in NullPointerException in EquivalentHashMap when receiving an invalidate command during startup)
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-3873
> URL: https://issues.jboss.org/browse/ISPN-3873
> Project: Infinispan
> Issue Type: Bug
> Components: Core API
> Affects Versions: 6.0.1.Final
> Environment: Ubuntu Linux 12.04_LTS, Oracle Java SE 1.7.0_45
> Reporter: Karl von Randow
> Assignee: Mircea Markus
> Fix For: 7.0.0.Alpha1
>
> Attachments: infinispan.trace.gz
>
>
> Sometimes when I start one server in a cluster I see the NullPointerException reproduced below. This only occurs if there is another server running. I run multiple caches with clustering using invalidation. JGroups using JDBC_PING and TCP. The caches are non-transactional.
> The NPE is because the keyEq (Equivalence instance for keys) is null. I believe this is because the command is processed before the start() method has been called on the AbstractInvocationContextFactory, as the start() method sets the keyEq ivar.
> At this point I'm not sure how to fix it!
> java.lang.NullPointerException
> at org.infinispan.commons.equivalence.EquivalentHashMap.put(EquivalentHashMap.java:176)
> at org.infinispan.commons.equivalence.EquivalentHashSet.add(EquivalentHashSet.java:109)
> at org.infinispan.context.impl.NonTxInvocationContext.addLockedKey(NonTxInvocationContext.java:84)
> at org.infinispan.util.concurrent.locks.LockManagerImpl.lock(LockManagerImpl.java:190)
> at org.infinispan.util.concurrent.locks.LockManagerImpl.acquireLockNoCheck(LockManagerImpl.java:181)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.lockKey(AbstractLockingInterceptor.java:149)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitInvalidateCommand(AbstractLockingInterceptor.java:85)
> at org.infinispan.commands.write.InvalidateCommand.acceptVisitor(InvalidateCommand.java:118)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
> at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:112)
> at org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:111)
> at org.infinispan.commands.write.InvalidateCommand.acceptVisitor(InvalidateCommand.java:118)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
> at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:112)
> at org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:111)
> at org.infinispan.commands.write.InvalidateCommand.acceptVisitor(InvalidateCommand.java:118)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:98)
> at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:110)
> at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:73)
> at org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:111)
> at org.infinispan.commands.write.InvalidateCommand.acceptVisitor(InvalidateCommand.java:118)
> at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:333)
> at org.infinispan.commands.remote.BaseRpcInvokingCommand.processVisitableCommand(BaseRpcInvokingCommand.java:39)
> at org.infinispan.commands.remote.SingleRpcCommand.perform(SingleRpcCommand.java:48)
> at org.infinispan.remoting.InboundInvocationHandlerImpl.handleInternal(InboundInvocationHandlerImpl.java:95)
> at org.infinispan.remoting.InboundInvocationHandlerImpl.handleWithWaitForBlocks(InboundInvocationHandlerImpl.java:186)
> at org.infinispan.remoting.InboundInvocationHandlerImpl.handle(InboundInvocationHandlerImpl.java:84)
> at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.executeCommandFromLocalCluster(CommandAwareRpcDispatcher.java:259)
> at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:211)
> at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:460)
> at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:377)
> at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:247)
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:665)
> at org.jgroups.JChannel.up(JChannel.java:730)
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1019)
> at org.jgroups.protocols.FRAG2.up(FRAG2.java:182)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:434)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:434)
> at org.jgroups.stack.Protocol.up(Protocol.java:409)
> at org.jgroups.stack.Protocol.up(Protocol.java:409)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:294)
> at org.jgroups.protocols.RSVP.up(RSVP.java:221)
> at org.jgroups.protocols.UNICAST2.removeAndPassUp(UNICAST2.java:919)
> at org.jgroups.protocols.UNICAST2.handleDataReceived(UNICAST2.java:800)
> at org.jgroups.protocols.UNICAST2.up(UNICAST2.java:415)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:600)
> at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:147)
> at org.jgroups.protocols.FD.up(FD.java:255)
> at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
> at org.jgroups.protocols.MERGE2.up(MERGE2.java:209)
> at org.jgroups.protocols.Discovery.up(Discovery.java:379)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1399)
> at org.jgroups.protocols.TP$MyHandler.run(TP.java:1585)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:744)
--
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, 2 months