Hi Mario,

I think it is just lucky. We're running myfaces on WebSphere 6.1 and at first 
we didn't bother configuring the classpath. Some pages loaded fine but others 
give inexplicable errors that we'd never seen in dev (Tomcat). After reading 
the wiki page and making some adjustments it works fine. 

Matt

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 20 mai 2008 16:16
À : [email protected]
Objet : RE: [Tomahawk] - Both MyFaces and the RI are on your classpath

Sorry Simon, but your response terrifies me!
You are talking about of serious problem but on the WIKI there is a
paragraph (http://wiki.apache.org/myfaces/Websphere_Installation)
describing that the deploy on WAS can be done altering classloader
policy. 

What king of problems you are talking about? At the moment my web
application is working well....is just lucky?

Thank
Mario 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 20 maggio 2008 15.59
To: MyFaces Discussion
Subject: Re: [Tomahawk] - Both MyFaces and the RI are on your classpath

[EMAIL PROTECTED] schrieb:
> Hi,
> I'm using Tomahawk 1.1.6 on WebSphere 6.1 and does work correctly. But
> on the log I found:
> "Both MyFaces and the RI are on your classpath. Please make sure to
use
> only one of the two JSF-implementations."
> I know that WAS has a JSF 1.1 implementation (Sun implementation) and
my
> application classloader policy is PARENT-LAST. The question is:
> The log has an "ERROR" severity, so can this cause some problem?
>   

Having both on the classpath *is* a serious problem. You do need to
resolve this.

Setting the classloader policy cannot solve this problem; that can
change which is *first*, but cannot make one of them invisible. So you
will need to either remove the websphere implementation, or overwrite it
with the myfaces one, or use some websphere-specific feature (if one
exists) to make the "built-in" lib invisible.

There is some information on the wiki about configuring various
containers. The wiki can be found here:
  http://wiki.apache.org/myfaces/

Regards,
Simon




This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

Reply via email to