<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    How to use jboss pojocache? Configuration warning: cvc-elt.1: Cannot find the declaration of element 'server'.
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/wmfxly">森 贾</a> in <i>JBoss Cache</i> - <a href="https://community.jboss.org/message/783550#783550">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Dear Sir/Madam</p><p>&#160;&#160;&#160;&#160; I am a beginner user of JbossCache. I met a problem while using it and I hope you can help solve it. Thank you</p><p>&#160;&#160;&#160;&#160; The following is a brief description of the question:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> While I was using the 3.0.0.GA version of treecache and pojocache, I met an exception:</p><p>[aop-trace] org.jboss.util.xml.JBossEntityResolver resolveSystemID, systemId=urn:jboss:jbosscache-core:config:3.0</p><p>[aop-trace] org.jboss.util.xml.JBossEntityResolver Found entity systemId=urn:jboss:jbosscache-core:config:3.0 fileName=jbosscache-config-3.0.xsd</p><p>[aop-trace] org.jboss.util.xml.JBossEntityResolver schema/jbosscache-config-3.0.xsd maps to URL: jar:file:/E:/src_work/autoSysNew/WebRoot/WEB-INF/lib/jbosscache-core.jar!/schema/jbosscache-config-3.0.xsd</p><p>[aop-trace] org.jboss.util.xml.JBossEntityResolver resolveSystemID, systemId=urn:jboss:jbosscache-core:cache-repo:3.0</p><p>[aop-trace] org.jboss.util.xml.JBossEntityResolver Found entity systemId=urn:jboss:jbosscache-core:cache-repo:3.0 fileName=jbosscache-registry-3.0.xsd</p><p>[aop-trace] org.jboss.util.xml.JBossEntityResolver schema/jbosscache-registry-3.0.xsd maps to URL: jar:file:/E:/src_work/autoSysNew/WebRoot/WEB-INF/lib/jbosscache-core.jar!/schema/jbosscache-registry-3.0.xsd</p><p>2012-12-03 14:42:12,983 [main] org.jboss.cache.config.parsing.RootElementBuilder&#160; - Configuration warning: cvc-elt.1: Cannot find the declaration of element 'server'.</p><p>2012-12-03 14:42:12,987 [main] org.jboss.cache.config.parsing.RootElementBuilder&#160; - org.jboss.cache.config.ConfigurationException: Incorrect configuration file. Use '-Djbosscache.config.validate=false' to disable validation.</p><p>2012-12-03 14:42:13,604 [main] org.jboss.cache.transaction.GenericTransactionManagerLookup&#160; - Falling back to DummyTransactionManager from JBossCache</p><p>2012-12-03 14:42:14,230 [main] org.jboss.cache.pojo.impl.PojoCacheImpl&#160; - PojoCache version: JBossCache 'Naga' 3.0.0.GA</p><p>2012-12-03 14:42:14,247 [main] org.jboss.cache.pojo.impl.PojoCacheImpl&#160; - PojoCache version: JBossCache 'Naga' 3.0.0.GA</p><p>2012-12-03 14:42:14,414 [main] org.jboss.cache.jmx.PlatformMBeanServerRegistration&#160; - JBossCache MBeans were successfully registered to the platform mbean server.</p><p>2012-12-03 14:42:14,437 [main] org.jgroups.JChannel&#160; - JGroups version: 2.6.7.GA</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>-------------------------------------------------------</p><p>GMS: address is 172.17.109.178:58714</p><p>-------------------------------------------------------</p><p>2012-12-03 14:42:16,946 [main] org.jboss.cache.RPCManagerImpl&#160; - Received new cluster view: [172.17.109.178:58714|0] [172.17.109.178:58714]</p><p>2012-12-03 14:42:16,950 [main] org.jboss.cache.RPCManagerImpl&#160; - Cache local address is 172.17.109.178:58714</p><p>2012-12-03 14:42:16,951 [main] org.jboss.cache.factories.ComponentRegistry&#160; - JBoss Cache version: JBossCache 'Naga' 3.0.0.GA</p><p>2012-12-03 14:42:17,348 [main] org.jboss.cache.RPCManagerImpl&#160; - Disconnecting and closing the Channel</p><p>2012-12-03 14:42:17,370 [main] org.jboss.cache.RPCManagerImpl&#160; - Stopping the RpcDispatcher</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>org.jboss.cache.config.parsing.RootElementBuilder&#160; - Configuration warning: cvc-elt.1: Cannot find the declaration of element 'server'.,I see in the JbossCache community BBS reply,</p><p><a class="jive-link-thread-small" href="https://community.jboss.org/thread/145857" target="_blank">https://community.jboss.org/thread/145857</a>,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Mircea Markus</p><p>546 发帖自 </p><p>2007-1-30</p><p>3. 2009-12-16 上午11:04 (回复 balachandra maddina)</p><p>Re: Configuration problems using Jboss Pojo Cache 3.0.0.GA</p><p>The purpose of the TransactionManagerLookup is to lookup an javax.transaction.TransactionManager within your runtimne and return it to the JBossCache. E.g. if you run in JBossAS then this TransactionManagerLookup implementation (the one you configured, take a look at javadoc) will return the TransactionManager that the AS is using, from JNDI. Read the javadoc for GenericTransactionManagerLookup, should make things more clear. To return to the original question, the warning is caused by the fact that no TransactionManager is found within your runtime, and a default one will be used - which is not so clever, as per the name -&gt; DummyTransactionManager. I'd say you can live with this one if you a) don't have to use it for distributed transactions and b) you don't see any performance degradations for transactions. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>configured file information of replSync-service.xml: </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code jive-xml"><span class="jive-xml-tag">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span><br/><span class="jive-xml-tag">&lt;server&gt;</span><br/>&#160;&#160; <span class="jive-xml-tag">&lt;mbean code="org.jboss.cache.jmx.CacheJmxWrapper" name="jboss.cache:service=TreeCache"&gt;</span><span class="jive-xml-comment">&lt;!-- <br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;depends&gt;</span>jboss:service=Naming<span class="jive-xml-tag">&lt;/depends&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; --&gt;<span class="jive-xml-tag">&lt;depends&gt;</span>jboss:service=TransactionManager<span class="jive-xml-tag">&lt;/depends&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--Configure the TransactionManager--&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="TransactionManagerLookupClass"&gt;</span>org.jboss.cache.transaction.GenericTransactionManagerLookup<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/attribute&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Isolation level : SERIALIZABLE<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; REPEATABLE_READ (default)<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; READ_COMMITTED<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; READ_UNCOMMITTED<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; NONE<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="IsolationLevel"&gt;</span>REPEATABLE_READ<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Valid modes are LOCAL<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; REPL_ASYNC<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; REPL_SYNC<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; INVALIDATION_ASYNC<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; INVALIDATION_SYNC<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="CacheMode"&gt;</span>REPL_SYNC<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; &lt;!-- Name of cluster. Needs to be the same for all TreeCache nodes in a<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cluster in order to find each other.<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="ClusterName"&gt;</span>JBossCache-Cluster<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; &lt;!-- JGroups protocol stack properties.<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="ClusterConfig"&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;config&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;UDP mcast_addr="228.10.10.10"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mcast_port="45588"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ip_ttl="2"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; tos="8"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mcast_recv_buf_size="25000000"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ucast_recv_buf_size="20000000"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mcast_send_buf_size="640000"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ucast_send_buf_size="640000"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loopback="false"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; discard_incompatible_packets="true"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; max_bundle_size="64000"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; max_bundle_timeout="30"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; use_incoming_packet_handler="true"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; enable_bundling="false"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; enable_diagnostics="false"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; use_concurrent_stack="true"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thread_naming_pattern="pl"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thread_pool.enabled="true"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thread_pool.min_threads="1"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thread_pool.max_threads="25"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thread_pool.keep_alive_time="30000"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thread_pool.queue_enabled="true"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thread_pool.queue_max_size="10"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; thread_pool.rejection_policy="Run"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oob_thread_pool.enabled="true"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oob_thread_pool.min_threads="1"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oob_thread_pool.max_threads="4"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oob_thread_pool.keep_alive_time="10000"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oob_thread_pool.queue_enabled="true"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oob_thread_pool.queue_max_size="10"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oob_thread_pool.rejection_policy="Run"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;PING timeout="2000" num_initial_members="3"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;MERGE2 max_interval="30000" min_interval="10000"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;FD_SOCK/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;FD timeout="10000" max_tries="5" shun="true"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;VERIFY_SUSPECT timeout="1500"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;pbcast.NAKACK use_mcast_xmit="false" gc_lag="0"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; retransmit_timeout="300,600,1200,2400,4800"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; discard_delivered_msgs="true"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;UNICAST timeout="300,600,1200,2400,3600"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; max_bytes="400000"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;pbcast.GMS print_local_addr="true" join_timeout="5000" shun="false"<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; view_bundling="true" view_ack_collection_timeout="5000"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;FRAG2 frag_size="60000"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;pbcast.STREAMING_STATE_TRANSFER /&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- <span class="jive-xml-tag">&lt;pbcast.STATE_TRANSFER/&gt;</span> --&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;pbcast.FLUSH timeout="0"/&gt;</span><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/config&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/attribute&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--<br/>&#160;&#160;&#160;&#160;&#160; Just used for async repl: use a replication queue<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="UseReplQueue"&gt;</span>false<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Replication interval for replication queue (in ms)<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="ReplQueueInterval"&gt;</span>0<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/><br/><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Max number of elements which trigger replication<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="ReplQueueMaxElements"&gt;</span>0<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/><br/><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--<br/>&#160;&#160;&#160;&#160;&#160;&#160; Whether or not to fetch state on joining a cluster<br/>&#160;&#160;&#160;&#160;&#160;&#160; NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="FetchInMemoryState"&gt;</span>true<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/><br/><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; The max amount of time (in milliseconds) we wait until the<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; state (ie. the contents of the cache) are retrieved from<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; existing members in a clustered environment<br/>&#160;&#160;&#160;&#160;&#160; --&gt;<br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="StateRetrievalTimeout"&gt;</span>15000<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/><br/><br/>&#160;&#160;&#160;&#160;&#160; &lt;!--<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Number of milliseconds to wait until all responses for a<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; synchronous call have been received.<br/>&#160;&#160;&#160;&#160;&#160; --&gt;</span><br/>&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="SyncReplTimeout"&gt;</span>15000<span class="jive-xml-tag">&lt;/attribute&gt;</span><br/><br/><br/>&#160;&#160; <span class="jive-xml-tag">&lt;/mbean&gt;</span><br/><span class="jive-xml-tag">&lt;/server&gt;</span><br/></code><br/></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The following are questions i need your help for:</p><p>1.Can pojocache be used in the tomcat container,I want to use POJO Cache without JBOSS container</p><p>2.If I use pojocache in tomcat, if there any other way to load the jboss-aop.jar,jboss-aop.xml file other than by using SET_OPT to add a vm parameter. </p><p>-javaagent:E:\src_work\autoSysNew\WebRoot\WEB-INF\lib\jboss-aop.jar</p><p>-Djboss.aop.path=E:\src_work\autoSysNew\src\pojocache-aop.xml</p><p>3.If i use it in tomcat, is jndi the only way? Is there any other way to initialize TransactionManager? </p><p>4.Will there be any performance problem in the distributed scenario, if i do not use the Jndi method?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I will appreciate it very much if you could offer me some help.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/783550#783550">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Cache at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>