Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-1688

EJB 2.1 CMP configuration options missing sync-on-commit-only, insert-after-ejb-post-create, call-ejb-store-on-clean

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP 6.0.1
    • Fix Version/s: EAP 6.1.0
    • Component/s: EJB
    • Labels:
      None
    • Affects:
      Release Notes
    • Docs QE Status:
      NEW

      Description

      In JBoss AS 7, EJB 2.1 CMP beans cannot configure some options such as sync-on-commit-only and insert-after-ejb-post which were configurable in previous versions of JBoss.

      Should also confirm how to configure the rest of the options that were available previously.

      <container-configuration>
               <container-name>Clustered CMP 2.x EntityBean</container-name>
               <call-logging>false</call-logging>
               <invoker-proxy-binding-name>clustered-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>
               ...
               </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.cmp.jdbc.JDBCStoreManager</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>B</commit-option>
            </container-configuration>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bmaxwell Brad Maxwell
                  Reporter:
                  bmaxwell Brad Maxwell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: