[jboss-user] [JBossCache] - Re: how to use with EJB3Standalone container inside eclipse

kagey do-not-reply at jboss.com
Thu Dec 7 13:24:27 EST 2006


Also, i forgot to mention that a bare-bones deployment works, something like:


  | <bean name="jboss.cache:service=TestTreeCache" class="org.jboss.cache.TreeCache">
  |    <create method="createService"/>
  |    <start method="startService"/>
  |    <stop method="stopService"/>
  |    <destroy method="destroyService"/>
  | 
  | 		<property name="nodeLockingScheme">PESSIMISTIC</property>
  | 		<property name="isolationLevel">REPEATABLE_READ</property>
  | 		<property name="cacheMode">LOCAL</property>
  | 		<property name="initialStateRetrievalTimeout">5000</property>
  | 		<property name="syncReplTimeout">10000</property>
  | 		<property name="lockAcquisitionTimeout">15000</property>
  | 
  | </bean>
  | 

will launch:

  | DEBUG 07-12 11:21:41,000 (BeanXMLDeployer.java:deploy:91)  -Parsing file:/C:/.../test-treecache-test.xml took 16 milliseconds
  | WARN  07-12 11:21:41,109 (Log4JLogger.java:warn:104)  -No transaction manager lookup class has been defined. Transactions cannot be used
  | DEBUG 07-12 11:21:41,109 (Log4JLogger.java:debug:84)  -Not using an EvictionPolicy
  | INFO  07-12 11:21:41,140 (Log4JLogger.java:info:94)  -interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | DEBUG 07-12 11:21:41,156 (Log4JLogger.java:debug:84)  -cache mode is local, will not create the channel
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992028#3992028

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992028



More information about the jboss-user mailing list