Here is the configuration
<?xml version="1.0"?>
| <server>
| <mbean code="org.jboss.cache.TreeCache"
name="jboss.cache:service=TreeCache">
| <attribute name="IsolationLevel">READ_COMMITTED</attribute>
| <attribute name="CacheMode">REPL_ASYNC</attribute>
| <attribute name="ClusterName">CacheStage</attribute>
|
| <attribute name="ClusterConfig">
| <config>
| <!-- UDP: if you have a multihomed machine,
| set the bind_addr attribute to the appropriate NIC IP
address -->
|
| <!-- UDP: On Windows machines, because of
the media sense feature
| being broken with multicast (even after disabling media
sense)
| set the loopback attribute to true -->
| <UDP mcast_addr="228.1.2.3" mcast_port="48866"
| ip_ttl="64" ip_mcast="true" bind_addr="xxx.xx.xx.xx"
| mcast_send_buf_size="300000"
mcast_recv_buf_size="640000"
| ucast_send_buf_size="300000"
ucast_recv_buf_size="640000"
| loopback="false"/>
|
| <PING timeout="2000" num_initial_members="3"
up_thread="false" down_thread="false"/>
| <MERGE2 min_interval="60000" max_interval="90000"/>
| <FD shun="true" up_thread="true" down_thread="true"
timeout="2500" max_tries="5"/>
| <VERIFY_SUSPECT timeout="1500" up_thread="false"
down_thread="false"/>
|
| <pbcast.NAKACK gc_lag="50"
retransmit_timeout="100,200,300,600,1200,2400,4800"
| max_xmit_size="32768"
up_thread="false" down_thread="false"/>
|
| <UNICAST timeout="300,600,1200,2400,3600" window_size="100"
min_threshold="10" down_thread="false"/>
| <pbcast.STABLE desired_avg_gossip="40000" up_thread="false"
down_thread="false" max_bytes="300000"/>
|
| <FRAG frag_size="16384" down_thread="false"
up_thread="false"/>
| <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
shun="true" print_local_addr="true"/>
| <pbcast.STATE_TRANSFER up_thread="false"
down_thread="false"/>
| </config>
| </attribute>
|
| <attribute
name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
| <!-- Specific eviction policy configurations. This
is LRU -->
| <attribute name="EvictionPolicyConfig">
| <config>
| <!-- Cache wide default -->
| <attribute
name="wakeUpIntervalSeconds">3600</attribute>
|
| <!-- Cache wide default -->
| <region name="/_default_">
| <attribute
name="maxNodes">2000</attribute>
| <attribute
name="timeToLiveSeconds">3600</attribute>
| </region>
| <region name="/modules/">
| <attribute
name="maxNodes">200</attribute>
| <attribute
name="timeToLiveSeconds">0</attribute>
| <attribute
name="maxAgeSeconds">0</attribute>
| </region>
| <region name="/temps/">
| <attribute
name="maxNodes">300</attribute>
| <attribute
name="timeToLiveSeconds">0</attribute>
| <attribute
name="maxAgeSeconds">0</attribute>
| </region>
| <region name="/images/">
| <attribute
name="maxNodes">200</attribute>
| <attribute
name="timeToLiveSeconds">0</attribute>
| <attribute
name="maxAgeSeconds">0</attribute>
| </region>
| <region name="/codes/">
| <attribute
name="maxNodes">200</attribute>
| <attribute
name="timeToLiveSeconds">0</attribute>
| <attribute
name="maxAgeSeconds">0</attribute>
| </region>
| <region name="/cats">
| <!--attribute
name="maxNodes">300</attribute-->
| <attribute
name="maxNodes">10</attribute>
| <attribute
name="timeToLiveSeconds">3600</attribute>
| <attribute
name="maxAgeSeconds">0</attribute>
| </region>
| </config>
| </attribute>
|
| </mbean>
| </server>
|
>From the log:
INFO: Illegal access: this web application instance has been stopped already.
Could not load java.io.PrintWriter. The eventual following stack trace is
caused by an error thrown for debugging purposes as well as to attempt to
terminate the thread which caused the illegal access, and has no functional
impact.
java.lang.IllegalStateException
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.jgroups.util.Util.printStackTrace(Util.java:162)
at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1305)
at java.lang.Thread.run(Thread.java:595)
ERROR: [153.18.96.62:35325] exception=java.lang.NullPointerException, stack
trace=java.lang.NullPointerException
at org.jgroups.Version.compareTo(Version.java:54)
at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1280)
at java.lang.Thread.run(Thread.java:595)
(2007-01-31 16:01:01,959 UDP.UcastReceiverThread_org.jgroups.protocols.UDP)
Exception in thread "TimeScheduler.Thread" java.lang.NullPointerException
at org.jgroups.util.TimeScheduler$Loop.run(TimeScheduler.java:138)
at java.lang.Thread.run(Thread.java:595)
ERROR: exception=java.lang.NullPointerException, stack
trace=java.lang.NullPointerException
at org.jgroups.Version.compareTo(Version.java:54)
at org.jgroups.protocols.UDP.run(UDP.java:227)
at java.lang.Thread.run(Thread.java:595)
(2007-01-31 16:01:02,882 UDP mcast receiver_org.jgroups.protocols.UDP)
ERROR: [153.18.96.62:35325] exception=java.lang.NullPointerException, stack
trace=java.lang.NullPointerException
at org.jgroups.Version.compareTo(Version.java:54)
at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1280)
at java.lang.Thread.run(Thread.java:595)
(2007-01-31 16:01:04,460 UDP.UcastReceiverThread_org.jgroups.protocols.UDP)
ERROR: [153.18.96.62:35325] exception=java.lang.NullPointerException, stack
trace=java.lang.NullPointerException
at org.jgroups.Version.compareTo(Version.java:54)
at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1280)
at java.lang.Thread.run(Thread.java:595)
(2007-01-31 16:01:06,962 UDP.UcastReceiverThread_org.jgroups.protocols.UDP)
ERROR: exception=java.lang.NullPointerException, stack
trace=java.lang.NullPointerException
at org.jgroups.Version.compareTo(Version.java:54)
at org.jgroups.protocols.UDP.run(UDP.java:227)
at java.lang.Thread.run(Thread.java:595)
(2007-01-31 16:01:07,297 UDP mcast receiver_org.jgroups.protocols.UDP)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009590#4009590
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009590
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user