File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes need help with mdb.. please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "need help with mdb.. please" Watch "need help with mdb.. please" New topic

need help with mdb.. please

daniela genitiempo

Joined: Sep 08, 2003
Posts: 1
newbie to mdb...
i'm developing an mdb with jbuilder8 ee
the onMessage method probably does'nt catch an exception
i've setted the maximum pool size for the bean container to ten
when i run the application the bean is created, then runs into exception,
it goes into kill state, but the memory in use is not freed up
i'm deploying my mdb bean on a bes 5.2
can someone help me freeing up the memory??
do i need to explicitly call the ejbRemove method?
please answer me if you need more explanations...
thanks in advance
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Originally posted by daniela genitiempo:
do i need to explicitly call the ejbRemove method?

No. The Container will handle calling the ejbRemove method. Unfortunately, you don't really supply enough information about what you are doing to be very helpful.
Is the exception thrown a System or Application Exception (the ejb container will only remove instances that have thrown a system exception)?
How do you know the memory is not being freed?
What exactly is the MDB doing?
subject: need help with mdb.. please
Similar Threads
problem while writting Junit for EJB
Handle transaction using MDB
Method call on session bean
trnsaction rollback is not happening with context.setrollbackOnly()
EJB Exception