This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "need help with mdb.. please" Watch "need help with mdb.. please" New topic
Author

need help with mdb.. please

daniela genitiempo
Greenhorn

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
daniela
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help with mdb.. please
 
Similar Threads
Method call on session bean
Handle transaction using MDB
EJB Exception
trnsaction rollback is not happening with context.setrollbackOnly()
problem while writting Junit for EJB