when i call remove method in entity bean;Is jboss-4.0.2 container   calls 
ejbStore() method?

i put commit option =C in standardjboss.xml in standard BMP Entity Bean tag.

jboss is not taking new bean instance its taking cached bean instance.

standardjboss.xml
    <container-configuration>
      <container-name>Standard BMP EntityBean</container-name>
      <call-logging>false</call-logging>
      
<invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
      <sync-on-commit-only>true</sync-on-commit-only>
      <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
      <container-interceptors>
        org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
        org.jboss.ejb.plugins.LogInterceptor
        org.jboss.ejb.plugins.SecurityInterceptor
        org.jboss.ejb.plugins.TxInterceptorCMT
        org.jboss.ejb.plugins.CallValidationInterceptor
        org.jboss.ejb.plugins.EntityCreationInterceptor
        org.jboss.ejb.plugins.EntityLockInterceptor
        org.jboss.ejb.plugins.EntityInstanceInterceptor
        org.jboss.ejb.plugins.EntityReentranceInterceptor
        org.jboss.resource.connectionmanager.CachedConnectionInterceptor
        org.jboss.ejb.plugins.EntitySynchronizationInterceptor
      </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>
        100
      </container-pool-conf>
      <commit-option>C</commit-option>
    </container-configuration>


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to