English 中文(简体)
如何配置ehcache.xml,以便使用JMS +activeMQ + Tomcat,并使目录能够开端,即使JMS服务器倒闭?
原标题:How to configure ehcache.xml to use JMS + ActiveMQ + Tomcat and enable tomcat to start even if the JMS server is down?

I a using ehcache with JMS replication and ActiveMQ as a JMS server. It is currently used to cache database results with Hibernate 3.6.7

My cacheManager is configured as above:

<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.jms.JMSCacheManagerPeerProviderFactory" properties="initialContextFactoryName=br.com.sonner.iss.jms.ExampleActiveMQInitialContextFactory,
      providerURL=failover:tcp://localhost:6969,userName=XXX,password=YYYY,
      replicationTopicConnectionFactoryBindingName=topicConnectionFactory,
      replicationTopicBindingName=ehcache,
      getQueueConnectionFactoryBindingName=queueConnectionFactory,
      getQueueBindingName=ehcacheGetQueue"
  propertySeparator=","
   /> 

复制和失败正在发挥应有的作用。 如果联合管理系统缩小(复制站),并在联合管理系统服务器再次启用时再次启动。

我面临的唯一问题是,如果联几支助处的服务器在我服用时倒台的话。 这并不是一开始。

Probably because when Spring goes up it reads the hibernate configurations and when hibernate is loading the app just freezes waiting for the broker.

是否有人围绕这一问题开展工作?

我想到的是,是否有办法利用春 j球的组合来混淆切除。

问题回答

暂无回答




相关问题
Geronimo vs Glassfish

For a production environment, is Apache Geronimo better for applications that uses ActiveMQ, Derby, Solr?

Anyone using multicast with ActiveMQ

I m having trouble setting up multicast transport using ActiveMQ. I noticed with version 5.2 there is a bug that prevents it from even building the correct factory (fixed in 5.3). The fact this bug ...

How to optimize activemq

I m using ActiveMQ on a simulation of overloading servers in Java. And mainly it goes ok, but when I get over 600 requests the thing just go WTF! I think the bottleneck is my Master Server which is ...

ActiveMQ Consumer / Producer Connection Listener

I can t seem to find a way to listen for new producer and consumer connections (or connection interrupts) in ActiveMQ (Java Version). I want to be able to tell the consumers (or they can find out ...

热门标签