It could not just simply remove the session attribute by using invocation removeAttribute.
You have to remove it by setting it to null.
from http://www.andypemberton.com/jboss/compress-your-jboss-portal-theme-with-packtag/
The goal of this article is to show you how to use pack:tag to optimize the performance of your JBoss Portal theme. I’ve used this approach on a production JBoss Portal 2.6 implementation and tested the approach out in version 2.7.
JBoss Portal has a feature-rich theme framework [...]
Remember NOT TO PACKAGE the portlet api into the war file! It will fail the deployment!
Problem description as follow:
17:21:51,982 ERROR [PortletWebApp] An error occured when the portlet started
org.jboss.portal.portlet.PortletInitializationException: The portlet … threw a runtime exception during init
at org.jboss.portal.portlet.PortletContainer.start(PortletContainer.java:228)
at org.jboss.portal.portlet.PortletWebApp.startService(PortletWebApp.java:100)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:181)
at [...]
-
Articles
- October 2012
- May 2012
- April 2012
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
-
Calendar
May 2013 M T W T F S S « Oct 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta