aspose file tools
The moose likes JSF and the fly likes JSF2  prime faces on websphere 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF2  prime faces on websphere 8" Watch "JSF2  prime faces on websphere 8" New topic
Author

JSF2 prime faces on websphere 8

shreekanth madananth
Greenhorn

Joined: Nov 28, 2012
Posts: 3
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

Joined: Jun 25, 2001
Posts: 16460
    
  23

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSF2 prime faces on websphere 8