WebSphere Portal Server - Portlet Filters: Filter not found

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2005 > Portlet Filters: Filter not found





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Portlet Filters: Filter not found

2005-06-09, 5:59 pm

I am trying to implement a portlet filter. I have completed the required steps:

- portlet filtering is enabled in PortletContainerService.properties
- filter is configured in PortalFilterService.properties as below:

# ------ File Content Filter ------ #
# filter name, required
filtername5 = FileContentFilter
# filter implementation class, required
FileContentFilter.classname = myportlet.filters.FileContentFilter
# supported methods, at least one is required
FileContentFilter.method.1 = ActionEvent
FileContentFilter.method.2 = service
# configuration parameter, optional
FileContentFilter.Trace = true

- .jar file containing filter is installed under .../shared/app

I have tried my own filter and the one from the article here http://www-128.ibm.com/developerwor...n/0404_yan.html and got the same results. What is generating the ClassCastException? Why is filter not found?

Error log is as below:

2005.06.09 13:42:29.352 E com.ibm.wps.services.portalfilter.PortalFilterServiceImpl init
EJPFD0011E: Error loading filter FileContentFilter. - StackTrace follows...

2005.06.09 13:42:29.353 E com.ibm.wps.services.portalfilter.PortalFilterServiceImpl init
java.lang.ClassCastException ...

2005.06.09 13:44:38.754 E com.ibm.wps.pe.pc.legacy.services.PortletFilterServiceImpl init
EJPPG0105E: Filter not found: FileContentFilter

Any insight much apprecaiated. Thanks in advance. I am using WPS 5.1.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com