Bug 793460

Summary: Error when redeploying portlet few times
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Viliam Rockai <vrockai>
Component: unspecifiedAssignee: Default User <jbpapp-maint>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: epp-bugs, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-542
Whiteboard: EPP_6_0_0_Candidate
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: JBEPP-542 Environment:
Last Closed: 2013-07-26 09:21:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
HelloWorld.zip
none
server.log none

Description Viliam Rockai 2010-10-12 09:05:30 UTC
++ This bug is a clone of bug 793459 ++

project_key: JBEPP

After the portlet si redeployed few times (i.e. during the development), it cause the "This portlet encountered an error and could not be displayed" error after a while.

excerpt from the server.log is:
10:55:33,204 ERROR [LifeCycle] Cannot start object
org.gatein.pc.portlet.container.PortletInitializationException: Portlet class not found org.gatein.examples.HelloPortlet
	at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:277)
	at org.gatein.pc.portlet.impl.container.PortletContainerLifeCycle.invokeStart(PortletContainerLifeCycle.java:76)
	at org.gatein.pc.portlet.impl.container.LifeCycle.managedStart(LifeCycle.java:93)
	at org.gatein.pc.portlet.impl.container.PortletApplicationLifeCycle.startDependents(PortletApplicationLifeCycle.java:351)

You can use attached "hello world" portlet to reproduce the issue.
1. build and copy the portlet into deply directory
2. import applications in application registry
3. put in on the "Home" page
4. change something in the code (i.e. add some stdout), rebuild and redeploy the portlet
5. click on the "SiteMap" and "Home" again
6. repeat 4. and 5. until error (usually three times is enough)

Comment 1 Viliam Rockai 2010-10-12 09:10:57 UTC
Attachment: Added: HelloWorld.zip


Comment 2 Viliam Rockai 2010-10-12 09:13:19 UTC
Attachment: Added: server.log


Comment 3 Jared MORGAN 2011-11-17 04:06:44 UTC
Release Notes Docs Status: Added: Not Required


Comment 4 hfnukal@redhat.com 2012-01-11 11:35:23 UTC
Labels: Added: EPP_6_0_0_Candidate


Comment 5 Thomas Heute 2012-09-03 11:23:43 UTC
*** Bug 793459 has been marked as a duplicate of this bug. ***