Bug 793460 - Error when redeploying portlet few times
Summary: Error when redeploying portlet few times
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: unspecified
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard: EPP_6_0_0_Candidate
: JBEPP-542 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-12 09:05 UTC by Viliam Rockai
Modified: 2015-09-01 03:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: JBEPP-542
Environment:
Last Closed: 2013-07-26 09:21:54 UTC
Type: Bug


Attachments (Terms of Use)
HelloWorld.zip (10.37 KB, application/x-sdlc)
2010-10-12 09:10 UTC, Viliam Rockai
no flags Details
server.log (105.02 KB, text/x-log)
2010-10-12 09:13 UTC, Viliam Rockai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-542 0 Major Closed Error when redeploying portlet few times 2013-12-16 05:23:42 UTC

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. ***


Note You need to log in before you can comment on or make changes to this bug.