Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF2 prime faces on websphere 8

 
shreekanth madananth
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18020
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic