This DOESN'T happen under load - I am the only person using the system (its in
development on my local PC running XP). Here is a bit more of the log:
2006-08-22 16:03:09,421 DEBUG [com.msxi.warrantySystem.ejb.dao.GenericHibernateDAO]
getting com.msxi.warrantySystem.ejb.entities.AuditType instance with id: 1
2006-08-22 16:03:09,421 DEBUG [org.jboss.cache.interceptors.OptimisticNodeInterceptor]
unable to find node
/com/msxi/warrantySystem/ejb/entities/AuditType/com.msxi.warrantySystem.ejb.entities.AuditType#1
in workspace.
2006-08-22 16:03:09,421 DEBUG [org.jboss.cache.interceptors.OptimisticNodeInterceptor]
unable to find node
/com/msxi/warrantySystem/ejb/entities/AuditType/com.msxi.warrantySystem.ejb.entities.AuditType#1
in workspace.
2006-08-22 16:03:09,421 INFO [org.jboss.cache.interceptors.OptimisticNodeInterceptor]
Cannot Handle Method _put(GlobalTransaction::166,
/com/msxi/warrantySystem/ejb/entities/AuditType/com.msxi.warrantySystem.ejb.entities.AuditType#1,
item, CacheEntry(com.msxi.warrantySystem.ejb.entities.AuditType)[THIRD PARTY,An audit
conducted by a third party], true, 0)
2006-08-22 16:03:09,421 DEBUG [org.jboss.cache.interceptors.OptimisticNodeInterceptor]
Adding Method _put(GlobalTransaction::166,
/com/msxi/warrantySystem/ejb/entities/AuditType/com.msxi.warrantySystem.ejb.entities.AuditType#1,
item, CacheEntry(com.msxi.warrantySystem.ejb.entities.AuditType)[THIRD PARTY,An audit
conducted by a third party], true, 0) to modification list
2006-08-22 16:03:09,437 DEBUG [com.msxi.warrantySystem.ejb.dao.GenericHibernateDAO] get
successful, instance found
All the other log output is my own output. We use the bundled hibernate: 3.2.0.cr2. This
deployed as a HAR and is configured to use the tree cache availble in JNDI like so:
| <attribute
name="CacheProviderClass">org.jboss.hibernate.cache.DeployedTreeCacheProvider</attribute>
| <attribute
name="DeployedTreeCacheObjectName">jboss.cache:service=HibernateTreeCache</attribute>
|
|
The tree cache mbean is configured like so:
| <server>
| <classpath codebase="./lib" archives="jboss-cache.jar,
jgroups.jar"/>
| <mbean code="org.jboss.cache.TreeCache"
name="jboss.cache:service=HibernateTreeCache">
| <depends>jboss:service=Naming</depends>
| <depends>jboss:service=TransactionManager</depends>
| <attribute
name="TransactionManagerLookupClass">org.jboss.cache.GenericTransactionManagerLookup</attribute>
| <attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
| <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
| <attribute name="CacheMode">LOCAL</attribute>
| <attribute name="UseReplQueue">false</attribute>
| <attribute name="ReplQueueInterval">0</attribute>
| <attribute name="ReplQueueMaxElements">0</attribute>
| <attribute name="ClusterName">TreeCache-Cluster</attribute>
| <attribute name="ClusterConfig">
| <config>
| <UDP mcast_addr="228.1.2.3" mcast_port="48866"
ip_ttl="64" ip_mcast="true" mcast_send_buf_size="150000"
| mcast_recv_buf_size="80000"
ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
loopback="true"/>
| <PING timeout="2000" num_initial_members="3"
up_thread="false" down_thread="false"/>
| <MERGE2 min_interval="10000" max_interval="20000"/>
| <!-- <FD shun="true" up_thread="true"
down_thread="true" />-->
| <FD_SOCK/>
| <VERIFY_SUSPECT timeout="1500" up_thread="false"
down_thread="false"/>
| <pbcast.NAKACK gc_lag="50"
retransmit_timeout="600,1200,2400,4800" max_xmit_size="8192"
up_thread="false" down_thread="false"/>
| <UNICAST timeout="600,1200,2400" window_size="100"
min_threshold="10" down_thread="false"/>
| <pbcast.STABLE desired_avg_gossip="20000" up_thread="false"
down_thread="false"/>
| <FRAG frag_size="8192" 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="true"
down_thread="true"/>
| </config>
| </attribute>
| <attribute name="FetchInMemoryState">false</attribute>
| <attribute name="SyncReplTimeout">20000</attribute>
| <attribute name="LockAcquisitionTimeout">15000</attribute>
| <attribute
name="InitialStateRetrievalTimeout">20000</attribute>
| <attribute name="EvictionPolicyClass"/>
| <attribute name="UseRegionBasedMarshalling">false</attribute>
| </mbean>
| </server>
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966731#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...