Hello all !

i am using jboss-Final 2.0, jdk 1.3 and debian linux.

my application worked fine with jboss beta 02, but
after upgrading to final the following error occurs:

My entity bean will be created but never written to the db..

Debug entries in ejbStore() show that this function will
not be called at any time !
i have set up a special container-configuration for 
this bean, with very low overage-period and commit-option C.
the transaction attribute is set to required.

My problem is, that i want to browse the database after
creation of the bean. The just created bean should show
up in this browsing...

What are the conditins for ejbStore() to be called ?

Also i noticed that sometimes the method ejbPassivate will get
called without logging to jboss-log...

greetings
markus

-- jboss log output  --
-----------------------
[Bean Cache] Resized cache for bean Customer: old size = 1000, new size = 50
[EmbeddedTomcat] path="/vs" :action: Processing a POST for /stat/createstat
[Statistic] create(Rep von Anzeigen - Preisgruppenstatistik,{PRODUCT=1},Monat vom 
2000-11-22 bis 2000-11-22,Monat vom 2000-11-22 bis 2000-11-22,Markus Blaurock,de_DE)
[Bean Cache] Passivated overaged bean Statistic with id = null
[Bean Cache] Resized cache for bean Contact: old size = 1000, new size = 50            
                 
-- jboss.xml ---
----------------      
 <container-configuration 
configuration-class="org.jboss.ejb.deployment.EntityContainerConfiguration">
         <container-name>commiting</container-name>
         <call-logging>true</call-logging>
         
<container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker</container-invoker>
         <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>
         <transaction-manager></transaction-manager>
         <authentication-module></authentication-module>
         <role-mapping-manager></role-mapping-manager>
         <container-invoker-conf>
           <Optimized>false</Optimized>
         </container-invoker-conf>
         <container-cache-conf>
           
<cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
           <cache-policy-conf>
             <min-capacity>1</min-capacity>
             <max-capacity>2</max-capacity>
             <overager-period>20</overager-period>
             <resizer-period>10</resizer-period>
             <max-bean-age>10</max-bean-age>
             <max-cache-miss-period>10</max-cache-miss-period>
             <min-cache-miss-period>10</min-cache-miss-period>
             <cache-load-factor>0.01</cache-load-factor>
           </cache-policy-conf>
         </container-cache-conf>
         <container-pool-conf>
           <MaximumSize>100</MaximumSize>
           <MinimumSize>1</MinimumSize>
         </container-pool-conf>
         <commit-option>C</commit-option>
       </container-configuration>  
       <entity>
         <ejb-name>Statistic</ejb-name>
         <jndi-name>StatisticHome</jndi-name>
         <configuration-name>commiting</configuration-name>
         <resource-ref>
           <res-ref-name>jdbc/mydb</res-ref-name>
           <resource-name>jdbc/mydb</resource-name>
         </resource-ref>
       </entity>

-- ejb-jar.xml --
-----------------
       <container-transaction>
         <method>
           <ejb-name>Statistic</ejb-name>
           <method-name>*</method-name>
         </method>
         <trans-attribute>Required</trans-attribute>
       </container-transaction>
 


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to