"bgrieder" wrote : Hi, | | Thanks for your reply. | I thought about that too and tried to implement a container configuration (details below) with option D and optiond-refresh-rate set at 30 (seconds). | | I have been watching ejbStore on the entity bean, but nothing happened.... | | Any Clue? | | Cheers | | Bruno | For immediate call to ejbStore you need to set commit Option C . Why are you putting commit Option D as it is similar to the A . Please refer to the Section 11.8.1 of the admin docs of Jboss for details . "bgrieder" wrote : | | | <container-configurations> | | <container-configuration> | | <container-name>Option D30</container-name> | | <call-logging>false</call-logging> | | <invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name> | | <sync-on-commit-only>false</sync-on-commit-only> | | <insert-after-ejb-post-create>false</insert-after-ejb-post-create> | | <container-interceptors> | | <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor> | | <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor> | | <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor> | | <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor> | | <interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor> | | <interceptor metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor> | | <interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor> | | <interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor> | | <interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor> | | <interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor> | | <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor> | | <interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor> | | </container-interceptors> | | <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool> | | <instance-cache>org.jboss.ejb.plugins.EntityInstanceCache</instance-cache> | | <persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager> | | <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy> | | <container-cache-conf> | | <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy> | | <cache-policy-conf> | | <min-capacity>50</min-capacity> | | <max-capacity>1000000</max-capacity> | | <overager-period>300</overager-period> | | <max-bean-age>600</max-bean-age> | | <resizer-period>400</resizer-period> | | <max-cache-miss-period>60</max-cache-miss-period> | | <min-cache-miss-period>1</min-cache-miss-period> | | <cache-load-factor>0.75</cache-load-factor> | | </cache-policy-conf> | | </container-cache-conf> | | <container-pool-conf> | | <MaximumSize>100</MaximumSize> | | </container-pool-conf> | | <commit-option>D</commit-option> | | <optiond-refresh-rate>30</optiond-refresh-rate> | | </container-configuration> | | </container-configurations> | | Since you have changed the container name from the default Standard BMP EntityBean , how do u tell the ejb that it has got to use Option D30 . I feel some things are missing from your side inconfiguration . Well give me some time as i need to prepare the demo ejb and then test , and on top of that I need to configure DataSource arrange database on my system I will test the same again I have not being playing with Entity Beans from long . Regards Vicky
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891367#3891367 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891367 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user