Pragya Mehta created JBAS-9540:
----------------------------------
Summary: JBOSS- Cache Preload is not loading data into cache on server
startup , after introducing two cache clusters
Key: JBAS-9540
URL:
https://issues.jboss.org/browse/JBAS-9540
Project: Application Server 3 4 5 and 6
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Clustering, JGroups service
Affects Versions: JBossAS-5.1.0.GA
Environment: OS-Linux , JRE-1.6.0_37
Reporter: Pragya Mehta
Assignee: Paul Ferraro
Fix For: Open To Community
I am using JBoss cache version -3.2.0.GA with JBOSS AS 5.1.0 GA And . My applications runs
on two servers and creates two cache instances on each sever. I have two cache clusters
JBOSS-cluster-Live and JBOSS-cluster-Proving. JBOSS-cluster-Live includes cache-1 on
server-1 and cache-1 on sever-2 similarly JBOSS-cluster-Live includes cache-2 on server-1
and cache-2 on sever-2. Application workes fine if I keep one server up. BUT when I
restart both the server together it doesn't load the persisted data.
where as if i keep all 4 cache instance in one cluster then it loads the persisted state
on start up.
here in my configurations
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
cacheapi.cacheConfig.passivation=false
cacheapi.cacheConfig.preload=/
cacheapi.cacheConfig.cacheMode=REPL_SYNC
cacheapi.cacheConfig.shared=false
cacheapi.cacheConfig.singletonStoreEnabled=false
cacheapi.cacheConfig.singletonStoreClass=org.jboss.cache.loader.SingletonStoreCacheLoader
cacheapi.cacheConfig.jGroupsConfigLocation=file:/opt/bfcs/config/jgroups/replSync-service.xml
cacheapi.cacheConfig.clusterName=Jboss-cluster-Default
cacheapi.cacheConfig.fetchInMemoryState=false
cacheapi.cacheConfig.isolationLevelString=READ_COMMITTED
cacheapi.cacheConfig.async=false
cacheapi.cacheConfig.purgeOnStartup=false
cacheapi.cacheConfig.fetchPersistentState=true
cacheapi.cacheConfig.checkCharacterPortability=false
cacheapi.cacheConfig.ignoreModifications=false
cacheapi.cacheConfig.location=/opt/cacheData/default
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
and jgroup's config file
<config>
<UDP singleton_name="udp_sync"
mcast_port="${jboss.jgroups.udp_sync.mcast_port:45699}"
mcast_addr="${jboss.jgroups.udp_sync.mcast_addr:229.11.11.11}"
bind_port="${jboss.jgroups.udp_sync.bind_port:55250}" tos="8"
ucast_recv_buf_size="20000000" ucast_send_buf_size="640000"
mcast_recv_buf_size="25000000" mcast_send_buf_size="640000"
loopback="true" discard_incompatible_packets="true"
enable_bundling="false" ip_ttl="${jgroups.udp.ip_ttl:2}"
enable_diagnostics="${jboss.jgroups.enable_diagnostics:true}"
diagnostics_addr="${jboss.jgroups.diagnostics_addr:224.0.75.75}"
diagnostics_port="${jboss.jgroups.diagnostics_port:7500}"
thread_pool.enabled="true" thread_pool.min_threads="8"
thread_pool.max_threads="200" thread_pool.keep_alive_time="5000"
thread_pool.queue_enabled="true" thread_pool.queue_max_size="1000"
thread_pool.rejection_policy="discard" oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="20" oob_thread_pool.max_threads="200"
oob_thread_pool.keep_alive_time="1000"
oob_thread_pool.queue_enabled="false"
oob_thread_pool.rejection_policy="discard" />
<PING timeout="2000" num_initial_members="3" />
<MERGE2 max_interval="100000" min_interval="20000" />
<FD_SOCK start_port="${jboss.jgroups.udp_sync.fd_sock_port:54250}" />
<FD timeout="6000" max_tries="5" shun="true" />
<VERIFY_SUSPECT timeout="1500" />
<BARRIER />
<pbcast.NAKACK use_mcast_xmit="true" gc_lag="0"
retransmit_timeout="300,600,1200,2400,4800"
discard_delivered_msgs="true" />
<UNICAST timeout="300,600,1200,2400,3600" />
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
max_bytes="400000" />
<VIEW_SYNC avg_send_interval="10000" />
<pbcast.GMS print_local_addr="true" join_timeout="3000"
shun="true" view_bundling="true"
view_ack_collection_timeout="5000" resume_task_timeout="7500" />
<FRAG2 frag_size="60000" />
- <!-- pbcast.STREAMING_STATE_TRANSFER/
-->
<pbcast.STATE_TRANSFER />
<pbcast.FLUSH timeout="0" start_flush_timeout="10000" />
</config>
please help me in resolving this issue....
Pragya
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira