Hi,

I have some JSP pages that use jsp:UseBean to include a page-scoped bean, which 
in turn uses a stateful session EJB which it stores as a member variable.

What I'm finding in the logs is that JBoss is doing a lot of work passivating 
and eventually dumping all these EJBs, even though the classes that reference 
them are presumably long gone since they should only have survived long enough 
to generate a page.

I'd like to call the remove() method on the EJB after the page is done 
rendering but I can't figure out how to do that, short of inserting a scriptlet 
at the end of every page, which seems unreliable.

Any advice?

I realize that jsp:useBean isn't exactly the most state-of-the-art way to put 
functionality in JSP pages anymore, but it's an older application which I'd 
rather not rewrite. Thanks.

Frank

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to