Nutulapati, Krishna schrieb:
>
> Hello All,
>  
> . I executed one of the tomahawk sample  from tomcat which is working
> fine, but getting following error in the console.with websphere,and
> seeing just a blank screen from browser.
>
>
> 4/24/08 17:35:59:135 CDT] 0000001e MyfacesConfig E
> org.apache.commons.logging.impl.Jdk14Logger error Both MyFaces and the
> RI are on your classpath. Please make sure to use only one of the two
> JSF-implementations.
>
> The following wing are exact jar files I'm using. I did n't find where
> I'm using 2 implementations of JSF. Can I have any suggestions? I
> indeed appreciate your early response. Does websphere not support
> tomahawk? I'm using jdk 5.0,websphere 6.1 . I did n't find any java
> compilation errors in RAD though. Thanks
>

Websphere (and other containers) have a directory of "common" jars that
are visible to all webapps/ j2ee apps. I don't know exactly what the
directory is called for websphere, but in a plain Tomcat container the
jars are in
  $base/lib

You will need to remove the jsf-api.jar and jsf-impl.jar files from that
directory. Of course that will affect any other jsf applications that
run in the same websphere installation. Ideally, containers would have a
config option that could be used to select which of the "common" jars
should be visible to apps running in the container, but AFAIK no
container provides that option. Just selecting "child-first"
classloading order is not sufficient unfortunately.

Regards,
Simon

Reply via email to