[JBoss JIRA] (ISPN-4269) Infinispan quickstarts clustered-cache does not compile
by Shaun Appleton (JIRA)
[ https://issues.jboss.org/browse/ISPN-4269?page=com.atlassian.jira.plugin.... ]
Shaun Appleton resolved ISPN-4269.
----------------------------------
Fix Version/s: 6.0.2.Final
Resolution: Done
> Infinispan quickstarts clustered-cache does not compile
> -------------------------------------------------------
>
> Key: ISPN-4269
> URL: https://issues.jboss.org/browse/ISPN-4269
> Project: Infinispan
> Issue Type: Bug
> Components: Demos and Tutorials
> Affects Versions: 6.0.2.Final
> Reporter: Shaun Appleton
> Assignee: Shaun Appleton
> Fix For: 6.0.2.Final
>
>
> Using https://github.com/infinispan/infinispan-quickstart and trying to build the clustered-cache example I get the following compilation error-
> [sappleto@localhost clustered-cache]$ mvn clean compile dependency:copy-dependencies -DstripVersion
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Infinispan Clustered Cache Quickstart 5.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ clustered-cache-quickstart ---
> [INFO] Deleting /home/sappleto/git/infinispan-quickstart/clustered-cache/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ clustered-cache-quickstart ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ clustered-cache-quickstart ---
> [INFO] Compiling 2 source files to /home/sappleto/git/infinispan-quickstart/clustered-cache/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol
> symbol : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)
> location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.472s
> [INFO] Finished at: Tue May 06 15:36:48 BST 2014
> [INFO] Final Memory: 10M/102M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project clustered-cache-quickstart: Compilation failure
> [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol
> [ERROR] symbol : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)
> [ERROR] location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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/MojoFailureException
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (ISPN-4269) Infinispan quickstarts clustered-cache does not compile
by Shaun Appleton (JIRA)
[ https://issues.jboss.org/browse/ISPN-4269?page=com.atlassian.jira.plugin.... ]
Shaun Appleton commented on ISPN-4269:
--------------------------------------
.Java 8 is required as that introduces the sort method on an ArrayList. ( http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#sort-ja... )
Installing Java 8 and ensuring that is available resolves this.
> Infinispan quickstarts clustered-cache does not compile
> -------------------------------------------------------
>
> Key: ISPN-4269
> URL: https://issues.jboss.org/browse/ISPN-4269
> Project: Infinispan
> Issue Type: Bug
> Components: Demos and Tutorials
> Affects Versions: 6.0.2.Final
> Reporter: Shaun Appleton
> Assignee: Shaun Appleton
> Fix For: 6.0.2.Final
>
>
> Using https://github.com/infinispan/infinispan-quickstart and trying to build the clustered-cache example I get the following compilation error-
> [sappleto@localhost clustered-cache]$ mvn clean compile dependency:copy-dependencies -DstripVersion
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Infinispan Clustered Cache Quickstart 5.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ clustered-cache-quickstart ---
> [INFO] Deleting /home/sappleto/git/infinispan-quickstart/clustered-cache/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ clustered-cache-quickstart ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ clustered-cache-quickstart ---
> [INFO] Compiling 2 source files to /home/sappleto/git/infinispan-quickstart/clustered-cache/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol
> symbol : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)
> location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.472s
> [INFO] Finished at: Tue May 06 15:36:48 BST 2014
> [INFO] Final Memory: 10M/102M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project clustered-cache-quickstart: Compilation failure
> [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol
> [ERROR] symbol : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)
> [ERROR] location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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/MojoFailureException
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (ISPN-4269) Infinispan quickstarts clustered-cache does not compile
by Shaun Appleton (JIRA)
[ https://issues.jboss.org/browse/ISPN-4269?page=com.atlassian.jira.plugin.... ]
Work on ISPN-4269 started by Shaun Appleton.
> Infinispan quickstarts clustered-cache does not compile
> -------------------------------------------------------
>
> Key: ISPN-4269
> URL: https://issues.jboss.org/browse/ISPN-4269
> Project: Infinispan
> Issue Type: Bug
> Components: Demos and Tutorials
> Affects Versions: 6.0.2.Final
> Reporter: Shaun Appleton
> Assignee: Shaun Appleton
> Fix For: 6.0.2.Final
>
>
> Using https://github.com/infinispan/infinispan-quickstart and trying to build the clustered-cache example I get the following compilation error-
> [sappleto@localhost clustered-cache]$ mvn clean compile dependency:copy-dependencies -DstripVersion
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Infinispan Clustered Cache Quickstart 5.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ clustered-cache-quickstart ---
> [INFO] Deleting /home/sappleto/git/infinispan-quickstart/clustered-cache/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ clustered-cache-quickstart ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ clustered-cache-quickstart ---
> [INFO] Compiling 2 source files to /home/sappleto/git/infinispan-quickstart/clustered-cache/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol
> symbol : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)
> location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.472s
> [INFO] Finished at: Tue May 06 15:36:48 BST 2014
> [INFO] Final Memory: 10M/102M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project clustered-cache-quickstart: Compilation failure
> [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol
> [ERROR] symbol : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)
> [ERROR] location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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/MojoFailureException
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (ISPN-4269) Infinispan quickstarts clustered-cache does not compile
by Shaun Appleton (JIRA)
[ https://issues.jboss.org/browse/ISPN-4269?page=com.atlassian.jira.plugin.... ]
Shaun Appleton reassigned ISPN-4269:
------------------------------------
Assignee: Shaun Appleton (was: Mircea Markus)
> Infinispan quickstarts clustered-cache does not compile
> -------------------------------------------------------
>
> Key: ISPN-4269
> URL: https://issues.jboss.org/browse/ISPN-4269
> Project: Infinispan
> Issue Type: Bug
> Components: Demos and Tutorials
> Affects Versions: 6.0.2.Final
> Reporter: Shaun Appleton
> Assignee: Shaun Appleton
>
> Using https://github.com/infinispan/infinispan-quickstart and trying to build the clustered-cache example I get the following compilation error-
> [sappleto@localhost clustered-cache]$ mvn clean compile dependency:copy-dependencies -DstripVersion
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Infinispan Clustered Cache Quickstart 5.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ clustered-cache-quickstart ---
> [INFO] Deleting /home/sappleto/git/infinispan-quickstart/clustered-cache/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ clustered-cache-quickstart ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ clustered-cache-quickstart ---
> [INFO] Compiling 2 source files to /home/sappleto/git/infinispan-quickstart/clustered-cache/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol
> symbol : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)
> location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.472s
> [INFO] Finished at: Tue May 06 15:36:48 BST 2014
> [INFO] Final Memory: 10M/102M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project clustered-cache-quickstart: Compilation failure
> [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol
> [ERROR] symbol : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)
> [ERROR] location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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/MojoFailureException
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (ISPN-4137) Transaction executed multiple times due to forwarded CommitCommand
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-4137?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-4137:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Transaction executed multiple times due to forwarded CommitCommand
> ------------------------------------------------------------------
>
> Key: ISPN-4137
> URL: https://issues.jboss.org/browse/ISPN-4137
> Project: Infinispan
> Issue Type: Bug
> Components: State Transfer, Transactions
> Reporter: Radim Vansa
> Assignee: Dan Berindei
> Priority: Critical
> Labels: 630betablocker
>
> When the {{StateTransferInterceptor}} forwards a CommitCommand for the new topology, multiple CommitCommands may be broadcast across the cluster. If the command (forwarded already from originator) times out, the transaction may be correctly finished by the first one and the application considers TX as succeeded (useSynchronizations=true), although one more Rollback is sent as well.
> Then, again in STI, when the CommitCommand arrives with higher topologyId than the one used for the first TX execution, another artificial Prepare (followed by the commit) is executed - see {{STI.visitCommitCommand}}.
> However, this execution may be delayed a lot and originator may have already executed another TX on the same entries. Then, this forwarded Commit will overwrite the already updated entries, causing inconsistency of data.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (ISPN-4271) ExecutorService may deadlock in RpcManagerImpl.invokeRemotelyInFuture
by Robert Andersson (JIRA)
Robert Andersson created ISPN-4271:
--------------------------------------
Summary: ExecutorService may deadlock in RpcManagerImpl.invokeRemotelyInFuture
Key: ISPN-4271
URL: https://issues.jboss.org/browse/ISPN-4271
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 6.0.2.Final
Environment: Ubuntu 14.04
Reporter: Robert Andersson
Assignee: Dan Berindei
Priority: Minor
If the number of tasks active gets bigger than the size of the asyncExecutor workQueue, then invokeRemotelyInFuture will deadlock.
The deadlock is caused by DefaultExecutorFactory using ThreadPoolExecutor.CallerRunsPolicy(), so when the workQueue overflows, invokeRemotelyInFuture ends up blocking in futureSet.await() because it never gets to futureSet.countDown(). The logic basically assumes CallerRunsPolicy will never trigger.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months