hi every body , 
i have a serious problem on a production server,
we have an ejb dealing with DB actions.
now after a few days i noticed in the web console that the create count just 
keep raising without any call to remove().
and after the thread count goes beyond 500 when i try to login to the web 
console for instance through jaas (file role based) i get an IO error too many 
open files ....
whats it got to do with the remove().

here are the bean's lifcycle methods:


 public void ejbCreate(){
  |         getSessionFactory(); --gets hibernate session
  |          
  |         Logger log = Logger.......get log stuff
  |     }
  |     public void ejbRemove(){}
  |     public void ejbActivate(){
  |         getSessionFactory();
  |         Logger log = Logger.......get log stuff
  |     }
  |     public void ejbPassivate(){
  |         factory = null;
  |         log = null;
  |     
  |     }


i just dont know how to address this problem

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

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to