Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Matthew Ellis
Remove old portlets from layout - Portlet not found for ...
June 11, 2007 3:16 PM
Answer

Matthew Ellis

Rank: Junior Member

Posts: 36

Join Date: September 4, 2006

Recent Posts

In our portal we have recently rearranged all of our portlets and now we are getting a lot of errors that look like the following:

06-11 23:44:59,676 ERROR [com.liferay.portal.service.impl.PortletLocalServiceImpl] Portlet not found for blah.com Apply_WAR_myportlet layout-template-id=2_columns_iii

Is there a way to update the layouts to remove these missing portlets without so we stop getting error msgs? Can I do this directly in the database?

Thanks in advance,
Matt.
Matthew Ellis
RE: Remove old portlets from layout - Portlet not found for ...
June 23, 2007 9:25 PM
Answer

Matthew Ellis

Rank: Junior Member

Posts: 36

Join Date: September 4, 2006

Recent Posts

any ideas on this guys?
Charles M Moore
RE: Remove old portlets from layout - Portlet not found for ...
June 25, 2007 6:28 AM
Answer

Charles M Moore

Rank: Junior Member

Posts: 26

Join Date: January 5, 2007

Recent Posts

Matthew Ellis:
In our portal we have recently rearranged all of our portlets and now we are getting a lot of errors that look like the following:

06-11 23:44:59,676 ERROR [com.liferay.portal.service.impl.PortletLocalServiceImpl] Portlet not found for blah.com Apply_WAR_myportlet layout-template-id=2_columns_iii

Is there a way to update the layouts to remove these missing portlets without so we stop getting error msgs? Can I do this directly in the database?

Thanks in advance,
Matt.



emoticon Warning: this may impact your DB's referencial integrityemoticon


Here's what I've done in the past.

Using Toad, I browsed to the PORTLETPREFERENCES table, and deleted the entries for the portlet from the database. I may have deleted the entries from the LAYOUT table, but I can't remember.
Eric Dennis Fields
RE: Remove old portlets from layout - Portlet not found for ...
August 14, 2007 2:26 PM
Answer

Eric Dennis Fields

Rank: New Member

Posts: 4

Join Date: August 13, 2007

Recent Posts

I think i just ran into a similar situation.

121:22:53,186 WARN  [PortletLocalServiceImpl:143] Portlet not found for liferay.com searchResults_WAR_myappportlets_INSTANCE_TEZZ
221:22:53,264 ERROR [jsp:52]
3java.lang.NullPointerException


I added a 'google adsense' instance merely to test out a design, and that seemed to blow the whole operation. i tried removing it from the portletspreferences db, but no luck. any suggestions?
Jorge Ferrer
RE: Remove old portlets from layout - Portlet not found for ...
August 26, 2007 10:52 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2768

Join Date: August 31, 2006

Recent Posts

Hi,

Currently the way described by Charles is the only way. If you keep seeing warnings it's because there is still a reference to the portlet in the table.
Mike Lawrence
RE: Remove old portlets from layout - Portlet not found for ...
February 11, 2008 1:48 PM
Answer

Mike Lawrence

Rank: New Member

Posts: 3

Join Date: November 24, 2007

Recent Posts

It might be better to add a new portlet with the same ID so it will appear on the page.
Then use the GUI to remove this portlet.
Test Test Test
RE: Remove old portlets from layout - Portlet not found for ...
August 15, 2008 8:02 AM
Answer

Test Test Test

Rank: Junior Member

Posts: 38

Join Date: March 21, 2008

Recent Posts

Can anyone tell which tables we need to do clean up to remove portlets references? I did delete entries from PORTLETREFERENCE, RESOURCE_, RESOURCECODE tables. But I am still getting portlet not found error.

Thanks
UA
Brian Scott Schupbach
RE: Remove old portlets from layout - Portlet not found for ..
November 21, 2008 9:40 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

Layout.typeSettings will also need to be edited.

Be careful because there is a lot of other information in this column.