• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF2 prime faces on websphere 8

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello friends,

I have web jsf2 dynamic project which works fine in tomcat7, I am using is eclipse_helios. Libraries I am using are jsf-api 2.03 jsf-impl2.03 primefaces 3.3. Application works fine. I exported the ear file of this project and deployed the ear on Websphere 8, Application Fails running getting exceptions. I removed the jars jsf-api 2.03, jsf-impl2.03 from Ear and redeployed it again on WAS8 and i have selected the jsp and jsf options as myfaces. This time application runs fine. Now again i added back jars which i removed application fails to run.

Is that was8 has inbuilt jsf jars? I am unsure of what is happening. I am new to the Websphere8. Can you please provide me links on how to start a jSF2 project with primefaces 3.4 on websphere8.


Thanks in Advance
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Shreekanth!

Yes, WAS8 contains its own JSF implementation jars and they can conflict if you include JSF jars of your own in a WAR or EAR. JSF is part of the JEE standard, so it's normally provided by the container (Tomcat is an exception, but Tomcat is not a complete JEE implementation).

For best result, I recommend consulting IBM's documentation, as the exact requirements of a deployable depend on the version of WebSphere that you are using. The IBM docs should also contain instructions on how to override the built-in JSF and use your own if that becomes necessary.
reply
    Bookmark Topic Watch Topic
  • New Topic