This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:07:18,163 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-5) ISPN000128: Infinispan version: Infinispan 'Hoptimus Prime' 7.1.1-SNAPSHOT | |
14:07:24,717 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.infinispan.clustered.default: org.jboss.msc.service.StartException | |
in service jboss.infinispan.clustered.default: Failed to start service | |
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final] | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51] | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51] | |
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51] | |
Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Failed to initialise the Protobuf serialization context | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using | |
a) Java(TM) SE Runtime Environment (build 1.7.0_51-b13) | |
b) Apache Maven 3.2.1 | |
c) build.bat with "install -DskipTests -s maven-settings.xml" | |
It fails to build infinispan-core with the following | |
======================================================================================================== | |
[ERROR] Failed to execute goal org.scala-tools:maven-scala-plugin:2.15.2:script (generate-blueprint) on project infinispan-core: wrap: org.apache.commons.exec.ExecuteException: Pro | |
cess exited with an error: 1(Exit value: 1) -> [Help 1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.askitis.consulting.jdg.jgroups; | |
import java.io.IOException; | |
import java.lang.reflect.Proxy; | |
import org.jboss.marshalling.ClassResolver; | |
import org.jboss.marshalling.Marshaller; | |
import org.jboss.marshalling.Unmarshaller; | |
public final class HybridClassResolver implements ClassResolver { | |
private ClassLoader classLoader; | |
private HybridClassResolver(final ClassLoader classLoader) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ProtocolStackConfigurator configurator = ConfiguratorFactory.getStackConfigurator("InputStream of UDP/TCP Configs"); | |
MuxChannel channel = new MuxChannel(configurator); | |
org.infinispan.remoting.transport.Transport transport = new org.infinispan.remoting.transport.jgroups.JGroupsTransport(channel); | |
then replace the below | |
new GlobalConfigurationBuilder().clusteredDefault().globalJmxStatistics().cacheManagerName("RDSCacheManager").allowDuplicateDomains(true).enable().transport().clusterName("UDM-CLUSTER").addProperty("configurationFile", "jgroups-tcp2.xml") | |
WITH | |
new GlobalConfigurationBuilder().clusteredDefault().globalJmxStatistics().cacheManagerName("RDSCacheManager").allowDuplicateDomains(true).enable().transport(Transport).clusterName("UDM-CLUSTER") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<server xmlns="urn:jboss:domain:1.4"> | |
<extensions> | |
<extension module="org.infinispan.server.endpoint"/> | |
<extension module="org.jboss.as.clustering.infinispan"/> | |
<extension module="org.jboss.as.clustering.jgroups"/> | |
<extension module="org.jboss.as.connector"/> | |
<extension module="org.jboss.as.jdr"/> | |
<extension module="org.jboss.as.jmx"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have the following JDG library mode configuration (Note the clusterName="clustered") | |
<transport clusterName="clustered" nodeName="RDS-JDG-1"> | |
<properties> | |
<property name="configurationFile" value="jgroups-udp.xml" /> | |
</properties> | |
</transport> | |
and UDP configuration | |
<UDP |
NewerOlder