Help:Extension Filters exception

Hi All,

A)I have included the detailed description of the steps followed.As a part of my new assignment i have been asked to upgrade to Tomahawk1.1.3.I am Websphere RAD to build my application.

The application uses custom components <t:inputCalendar> and <tanelTabbedPane>.The application worked properly with Tomahawk1.1.1 but once i have upgraded to Tomahawk1.1.3 i am getting the error message "This portlet is unavailable".

Please note i have used jsf-api.jar(version 1.1) and jsf-impl.jar and not myfaces-all.jar(myfaces-api.jar and myfaces-impl.jar)

B)I have also configured the extension filter in my web.xml file.

<filter>

<filter-name>extensionsFilter</filter-name>

<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>

<init-param>

<param-name>uploadMaxFileSize</param-name>

<param-value>100m</param-value>

<description>Set the size limit for uploaded files.

Format: 10 - 10 bytes

10k - 10 KB

10m - 10 MB

1g - 1 GB</description>

</init-param>

<init-param>

<param-name>uploadThresholdSize</param-name>

<param-value>100k</param-value>

<description>Set the threshold size - files below this limit are stored in memory, files above this limit are stored on disk.

Format: 10 - 10 bytes

10k - 10 KB

10m - 10 MB

1g - 1 GB</description>

</init-param>

</filter>

<filter-mapping>

<filter-name>extensionsFilter</filter-name>

<url-pattern>/*</url-pattern>

</filter-mapping>

C)But when i run the application i get the exception in the console as:

Nested Exception is java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html.

Please help me trouble shooting.What additional configurations do i need to make this application run.

[2172 byte] By [pallavra] at [2007-10-3 8:40:51]
# 1
did you try to map it to Faces Servlet using <servlet-name> tag instead of <url-pattern> ?
Milosz_Darzynkiewicza at 2007-7-15 3:49:05 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi,

Thanks for your reply.

But if i use the servlet declaration the i get the same error:

Caused by: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html

Are there any other alteratives.Is there a problem because i am using jsf-api.jar and jsf-impl.jar instead of myfaces-api and myfaces-impl.jar.

You suggestions are always welcome.

Regards,

Pals

pallavra at 2007-7-15 3:49:05 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...