06-09-05 10:59 PM
I am trying to implement a portlet filter. I have completed the required ste
ps:
- 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.co
m/deve...n/0404_yan.html and got the sa
me results. What is generating the ClassCastException? Why is filter not fou
nd?
Error log is as below:
2005.06.09 13:42:29.352 E com.ibm.wps.services.portalfilter.PortalFilterServ
iceImpl init
EJPFD0011E: Error loading filter FileContentFilter. - StackTrace follows...
2005.06.09 13:42:29.353 E com.ibm.wps.services.portalfilter.PortalFilterServ
iceImpl init
java.lang.ClassCastException ...
2005.06.09 13:44:38.754 E com.ibm.wps.pe.pc.legacy.services.PortletFilterSer
viceImpl init
EJPPG0105E: Filter not found: FileContentFilter
Any insight much apprecaiated. Thanks in advance. I am using WPS 5.1.
[ Post a follow-up to this message ]
|