Skip to content

Instantly share code, notes, and snippets.

ConfigurationBuilder dcc =new ConfigurationBuilder();
dcc.clustering().partitionHandling().enabled(true);
<distributed-cache name="the-default-cache">
<partition-handling enabled="true"/>
</distributed-cache>
<distributed-cache name="the-default-cache">
<partition-handling enabled="true"/>
</distributed-cache>
[mircea:~/github/jdg ]$ mvn clean
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.infinispan.server:infinispan-server:6.1.0-redhat-SNAPSHOT (/Users/mircea/github/jdg/server/integration/pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Failure to find org.jboss.as:jboss-as-parent:pom:7.3.4.Final-redhat-1 in http://maven.repository.redhat.com/earlyaccess/all/ was cached in the local repository, resolution will not be reattempted until the update interval of redhat-earlyaccess-repository-group has elapsed or updates are forced @ org.infinispan.server:infinispan-server-versions:6.1.0-redhat-SNAPSHOT, /Users/mircea/github/jdg/server/integration/versions/pom.xml, line 260, column 22 -> [Help 2]
[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]
java.lang.Exception: Could not start bundle mvn:org.infinispan/infinispan-core/7.0.0-SNAPSHOT in feature(s) infinispan-core-7.0.0-SNAPSHOT: Unresolved constraint in bundle org.infinispan.core [65]: Unable to resolve 65.0: missing requirement [65.0] osgi.wiring.package; (osgi.wiring.package=sun.reflect)
at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:491)
at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:1207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_40]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_40]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_40]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_40]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(
java.lang.Exception: Could not start bundle mvn:org.infinispan/infinispan-core/7.0.0-SNAPSHOT in feature(s) infinispan-core-7.0.0-SNAPSHOT: Unresolved constraint in bundle org.infinispan.core [65]: Unable to resolve 65.0: missing requirement [65.0] osgi.wiring.package; (osgi.wiring.package=sun.reflect)
at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:491)
at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:1207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_40]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_40]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_40]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_40]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[7:org.apache.aries.blueprint.core:1.1.0]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8:31.247s
[INFO] Finished at: Tue May 06 15:41:02 BST 2014
[INFO] Final Memory: 142M/539M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.antlr:antlr3-maven-plugin:3.4:antlr (default) on project infinispan-cli-server: Execution default of goal org.antlr:antlr3-maven-plugin:3.4:antlr failed: Plugin org.antlr:antlr3-maven-plugin:3.4 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.antlr:antlr-runtime:jar:3.4, org.antlr:stringtemplate:jar:3.2.1: Could not find artifact org.antlr:antlr-runtime:jar:3.4 -> [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.
java.lang.NoClassDefFoundError: org/infinispan/server/core/Main$
at org.infinispan.server.memcached.MemcachedMainTest.testMainNoConfigExposesStatistics(MemcachedMainTest.scala:34)
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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
Test suite progress: tests succeeded: 1001, failed: 17, skipped: 0.
[testng-ClusteredQueryDslConditionsTest] Test testSampleDomainQuery29(org.infinispan.query.dsl.embedded.ClusteredQueryDslConditionsTest) succeeded.
Test suite progress: tests succeeded: 1002, failed: 17, skipped: 0.
[testng-ClusteredQueryDslConditionsTest] Test testSampleDomainQuery3(org.infinispan.query.dsl.embedded.ClusteredQueryDslConditionsTest) succeeded.
Test suite progress: tests succeeded: 1003, failed: 17, skipped: 0.
[testng-ClusteredQueryDslConditionsTest] Test testSampleDomainQuery4(org.infinispan.query.dsl.embedded.ClusteredQueryDslConditionsTest) succeeded.
Test suite progress: tests succeeded: 1004, failed: 17, skipped: 0.
[testng-ClusteredQueryDslConditionsTest] Test testSampleDomainQuery4Wity2SortingOptions(org.infinispan.query.dsl.embedded.ClusteredQueryDslConditionsTest) succeeded.
Test suite progress: tests succeeded: 1005, failed: 17, skipped: 0.
[testng-ClusteredQueryDslConditionsTest] Test testSampleDomainQuery5(org.inf
[mircea:~/github/infinispan.github.io ]$ ci.sh
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
7e:57:ea:eb:b9:ca:2e:e0:ba:31:30:d8:72:d2:0c:d5.
Please contact your system administrator.