myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Hedström" <er...@ucsd.edu>
Subject Re: MyFaces with Sun's JSF RI on Websphere5.1
Date Tue, 07 Nov 2006 18:38:53 GMT
Be sure you're setting the classloader for the web module (WAR), not the
enterprise application, to PARENT_LAST. You don't need to delete the IBM
JARs.

On 11/2/06, Cagatay Civici <cagatay.civici@gmail.com> wrote:
>
> Last time I've used, ibm was using RI as the implementation and ibm-jsf is
> just a collection of extended components and renderers.
>
> In order to make websphere work with myfaces I remember deleting some jars
> under server's lib directory and changing the classloading strategy to
> PARENT_LAST
>
> On 11/2/06, Zubin Wadia <zwadia@gmail.com> wrote:
> >
> > Pallavi,
> >
> > IBM is aware of classloader conflicts with MyFaces on Websphere 5.x -
> > please open a support ticket with them and they will likely have a history
> > of resolutions for it.
> >
> > Cheers,
> >
> > Zubin.
> >
> > On 11/2/06, Arash Rajaeeyan <arash.rajaeeyan@gmail.com > wrote:
> > >
> > > hi roy,
> > > I am not sure but I think IBM has its own implementation of JSF not
> > > suns,
> > >
> > >
> > > http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13706717&cat=28&thread=75431&treeDisplayType=threadmode1&forum=472#13706717
> > >
> > > as you said, you are using jsf-ibm.jar in your project.
> > >
> > > On 11/2/06, pallavi.roy@wipro.com < pallavi.roy@wipro.com> wrote:
> > > >
> > > >  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-digester.jar,common-lang.jar2.1,
> > > > javax-jdom.jar,jdom.jar,jsf-ibm.jar,jsf-portletjar,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-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>*.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
> > > >
> > >
> > >
> > >
> > > --
> > > Arash Rajaeeyan
> >
> >
> >
>

Mime
View raw message