Hi, 

I am using JBoss_3.2.0-tomcat_4.1.24 with default configuration and PostgreSQL as 
database. 

I have deployed a single Stateful Session bean in EAR file which does a very heavy 
task as compared to other stateless and entity beans. 

But when I send lot of concurrent requests to this statefull session bean, it gives me 
following error for half of the requests. 

01:35:11,103 INFO  [STDOUT] ### GetProfilesServ:doService()=>I/O Exception for 
account_id = [EMAIL PROTECTED] ###
01:35:11,109 INFO  [STDOUT] Could not activate; failed to restore state; 
CausedByException is:
        
/opt/jboss-3.2.1_tomcat-4.1.24/server/default/tmp/sessions/GetProfileBean-dxhvoddr-3/dxhx8ptj-3bx.ser
 (No such file or directory)

../jboss*/server/default/conf/standardjboss.xml file contains following configuration 
for standard statefull beans ( I am using "default" configuration of JBoss server ) 


            <cache-policy-conf>
  |            <min-capacity>50</min-capacity>
  |            <max-capacity>1000000</max-capacity>
  |            <remover-period>1800</remover-period>
  |            <max-bean-life>1800</max-bean-life>
  |            <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>

Also, ..\jboss*\server\default\deploy\jbossweb-tomcat.sar\META-INF\jboss-service.xml 
shows following configuration. 




<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
  |                port="8080" minProcessors="3" maxProcessors="10"
  |                enableLookups="true" acceptCount="10" debug="0" 
  |                connectionTimeout="20000" useURIValidationHack="false" />
Can any one throw some light on it ? How to avoid this error ? 

Thanks & Regards, 

Suraj 



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

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


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to