infinispan

Getting Unexpected element '{urn:infinispan:config:7.0}infinispan' encountered

大兔子大兔子 提交于 2019-12-08 01:20:41
问题 I have the following infinispan xml and getting the parse exception. javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,36] Message: Unexpected element '{urn:infinispan:config:7.0}infinispan' encountered Any ideas on why I am getting this error? <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:7.0 http://www.infinispan.org/schemas/infinispan-config-7.0.xsd" xmlns="urn:infinispan:config:7.0"> <jgroups> <stack-file name=

How does Apache Cassandra mash with Infinispan?

旧街凉风 提交于 2019-12-07 21:32:25
问题 I have checked the main features of Cassandra and Infinispan. They seem to have and deliver pretty similar characteristics and functionalities: NoSQL data store persistance decentralized support replication scalability fault tolerant MapReduce support Queries One difference I have found out is that Infinispan does not provide tunable consistency (every node has the same data). When learning about the Infinispan I came across Cassandra Cache Store (http://infinispan.org/docs/cachestores

Spring, Infinispan and JBoss 7 integration

允我心安 提交于 2019-12-07 15:15:59
问题 I'm trying to use JBoss 7 Infinispan cache as a communication form (something more later) of two war-deployed spring-based apps. I'm having a problem with accessing the JBoss managed cache managers. When I use DefaultCacheManager cacheManager = new DefaultCacheManager(); cache = cacheManager.getCache(); on each of two applications, I get two separate caches. Is there any way to access the cache created by JBoss server without using the @ManagedBean annotation and Java EE standard at all ? It

How to view and edit Infinispan cached data remotely

允我心安 提交于 2019-12-07 03:30:51
问题 I have an Infinispan cache embedded in a WildFly 8.2 server. I added to standalone.xml inside <subsystem xmlns="urn:jboss:domain:infinispan:2.0"> : <cache-container name="mycache" default-cache="cachedb"> <transport lock-timeout="600000" /> <replicated-cache name="cachedb" batching="true" mode="SYNC" /> </cache-container> ...and injected the cache container like this: @Singleton @Startup public class CacheManager { @Resource(lookup = "java:jboss/infinispan/container/mycache") private

InfinispanDirectoryProvider with Wildfly 10.1

扶醉桌前 提交于 2019-12-06 16:31:33
We would like to run our EAR, which uses hibernate search, in a HA cluster with wildfly 10.1 and jgroups using infinispan as a cache for hibernate and hibernate search. The basic cluster configuration, based on standalone-full-ha.xml (additional details below) is working when we use: <property name="hibernate.search.default.directory_provider" value="ram"/> for Hibernate Search's directory provider. But when we change this to: <property name="hibernate.search.default.directory_provider" value="infinispan"/> We get errors: 01:48:21,857 ERROR [org.jboss.msc.service.fail] (ServerService Thread

Not able to form a cluster of two nodes using Infinispan server

别来无恙 提交于 2019-12-06 11:46:08
问题 I am planning to use Infinispan as the remote cache cluster that will sit between my application and database. Now I am planning to make a cluster of few nodes, let's say 2 nodes. I started the Infinispan server using the bin/clustered.sh script on both of my Ubuntu machines. rkost@rj-vm9-14105:~/infinispan/infinispan-server-6.0.0.Alpha1/bin$ uname -a Linux rj-vm9-14105 2.6.35-22-server #33-Ubuntu SMP Sun Sep 19 20:48:58 UTC 2010 x86_64 GNU/Linux Below is the result I got on both of my

How does Apache Cassandra mash with Infinispan?

[亡魂溺海] 提交于 2019-12-06 11:04:01
I have checked the main features of Cassandra and Infinispan. They seem to have and deliver pretty similar characteristics and functionalities: NoSQL data store persistance decentralized support replication scalability fault tolerant MapReduce support Queries One difference I have found out is that Infinispan does not provide tunable consistency (every node has the same data). When learning about the Infinispan I came across Cassandra Cache Store ( http://infinispan.org/docs/cachestores/cassandra/ ). It provides persistance of data. But then why I would still want to use Infinispan and not

Getting Unexpected element '{urn:infinispan:config:7.0}infinispan' encountered

烂漫一生 提交于 2019-12-06 10:34:47
I have the following infinispan xml and getting the parse exception. javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,36] Message: Unexpected element '{urn:infinispan:config:7.0}infinispan' encountered Any ideas on why I am getting this error? <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:7.0 http://www.infinispan.org/schemas/infinispan-config-7.0.xsd" xmlns="urn:infinispan:config:7.0"> <jgroups> <stack-file name="tcp" path="jgroups-tcp.xml"/> </jgroups> <cache-container name="SampleCacheManager" statistics="true"

Infinispan: How to combine embedded cache and standalone server in one cluster?

微笑、不失礼 提交于 2019-12-06 09:20:57
As a proof of concept, I try to build an infinispan cluster with an existing application which starts an embedded cache and one or more standalone infinispan servers. The reasosing behind this is, that I want to show, that there is a way of zero-configuration automatic creation of a cluster by simply starting freshly downloaded infinispan standalone servers. So my application runs an embedded cache which will be automatically "joined" by new nodes. I'm using the very default configuration for infinispan and jgroups (see below). The effect is, that two or more of my applications with embedded

Infinispan Operational modes

你说的曾经没有我的故事 提交于 2019-12-06 04:43:22
问题 I have recently started taking a look into Infinispan as our caching layer. After reading through the operation modes in Infinispan as mentioned below. Embedded mode: This is when you start Infinispan within the same JVM as your applications. Client-server mode: This is when you start a remote Infinispan instance and connect to it using a variety of different protocols. Firstly, I am confuse now which will be best suited to my application from the above two modes. I have a very simple use