Hi All,
I'm Facing the same problem.
I'm using jboss 4.0.2 and the creation of stateless session bean increments
over max size of 100, and the remove method is never called by the container.
There are a lot of user's using my application, and it become unstable, couse
memory leaks and give me
anonymous wrote : and the remove method is never called by the container
Its the client which has to call the remove method and not the server. Have a
look at:
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/EJBConcepts9.html
Here's an extract from that url:
anonymous wrote : At the end of the
Thanks for reply,
So, after using the bean, i have to call remove(), right?
Then when the container will release the instance and put it for garbage??
Imidiatelly? Or will take some time ??
What is the rule for it?
View the original post :
The moment you say myBean.remove(), the server will invoke ejbRemove() on your
bean implementation. And once this callback method completes, the bean will be
released back to the EJB pool.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973929#3973929
Reply
Hi,
I made a modification in my application, and now i see the call of method
remove() by web-console, but it appears in section Invocation Statistics, but
do not appear in Bean Statistics.
Like this:
Bean Statistics
- CreateCount === 27
- RemoveCount == 0
Invokations Statistics
-- create ==