[EJB 3.0] - ThreadLocalPool - Seam and Stateful Session Beans potential
by zilet
Hello all,
I have a big application built using Seam 2.1.1GA and deployed on JBoss 4.2.3.GA. EJB3 is used and they are injected by using seams @In annotation.
Under heavy load memory starts to grow and never comes back. The only resolution is to restart the server.
By analyzing heap I've found that there are a lot of SFSB instances in the ThreadLocalPool that should be destroyed but they stay somehow referenced.
I've put timeout value on CacheConfig so the beans should definitely be destroyed but that doesn't happen.
In the application there are some SFSB EJBs that reference other SFSB but generaly they don't hold any state. SFSB are mostly used because of extended persistentcontext.
Are there any recommendation on this topic?
I've googled around and found some comments on using StrictMaxPool, but I still didn't try it.
I want to know has anyone else experienced this kind of problem.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228140#4228140
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228140
16 years, 11 months
[JBoss Portal] - How to get started?? Which jars for needed for simple portle
by nadley
Hello everyone,
I need to develop a JBoss Portlet for university and by now I'm nearly going crazy!!!
My installation: Portal 2.6.8, I downloaded the the JBoss bundle ("jboss-portal-2.6.8.GA-bundled.zip"). Eclipse Ganymede with JBoss Tools installed.
The portlet I want to run contains a jsp files and the error message I receive is the following:
| ...
| Cause: javax.portlet.PortletException: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 18 in the jsp file: /WEB-INF/jsp/SuperBrain.jsp portletSession cannot be resolved
| ...
|
I included all necessary jars and libs in build path, so that Eclipse can resolve everything.
Do I need additional jars in WEB-INF? If yes, which?? As soon as I tried to include jars like "portal-api.jar" my portlet did not display at all.
What do I have to do???
Thanks!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228124#4228124
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228124
16 years, 11 months