myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <pallavi....@wipro.com>
Subject RE: MyFaces with Sun's JSF RI on Websphere5.1
Date Thu, 02 Nov 2006 12:56:25 GMT

Hi,
  I have set my Application Class Loader mode to "PARENT LAST" I still
continue to get the same exception
  Nested Exception is java.lang.IllegalStateException: ExtensionsFilter
not correctly configured. JSF mapping missing. JSF   pages not covered.
at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtension
sFilterMissing(AddResourceFactory.java:371)
	at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironme
nt(AddResourceFactory.java:333)Please see:
http://myfaces.apache.org/tomahawk/extensionsFilter.html

Please let me know if you have any further suggestions.

Best Regards,
Pallavi

-----Original Message-----
From: Hermod Opstvedt [mailto:hermod@opstvedt.com]
Sent: Thursday, November 02, 2006 4:27 PM
To: 'MyFaces Development'
Subject: SV: MyFaces with Sun's JSF RI on Websphere5.1

Hi

You need to set "PARENT_LAST" for classloading strategy on your
application

Hermod


-----Opprinnelig melding-----
Fra: pallavi.roy@wipro.com [mailto:pallavi.roy@wipro.com]
Sendt: 2. november 2006 10:43
Til: dev@myfaces.apache.org
Emne: MyFaces with Sun's JSF RI on Websphere5.1

Hi All,

Desperately in need of answers to make it work. 

1)I am using WebSphere5.1 and RAD6 for IDE.

2)The jars i am using are :Tomahawk1.1.3.jar,jsf-api.jar,jsf-impl.jar.

(Apart from the jars
common-beanutils.jar,common-codec1.3.jar,common-collections.jar,common-d
iges
ter.jar,common-lang.jar2.1,javax-jdom.jar,jdom.jar,jsf-ibm.jar,jsf-portl
etja
r,jstl.jar,jstl_el.jar,standard.jar,saxpath.jar and
common-fileupload.jar.)

Please note i am not using myfaces-api.jar and myfaces-impl.jar my
project wants to use only Sun's JSF RI. Can Tomahawk1.1.3 work without
myfaces-api and myfaces-impl.jar.??

3)My application uses <t:inputCalender> and <t:panelTabbedPane>.

4)The exception that i get is :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
<http://myfaces.apache.org/tomahawk/extensionsFilter.html>

5) The web.xml is configured as : 

<filter>

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

<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-
clas
s>

<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>*.jsf</url-pattern>

</filter-mapping>

<filter-mapping>

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

<url-pattern>*.jsp</url-pattern>

</filter-mapping>

<filter-mapping>

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

<url-pattern>*.faces</url-pattern>

</filter-mapping>

<filter-mapping>

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

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

</filter-mapping>

Can you please help me in this regard.How should i configure the
extension filters or use any new jars.I am struggling to get this work.

Best Regards,

Pallavi


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com




The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.

www.wipro.com

Mime
View raw message