wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15950
    
  19

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF2 prime faces on websphere 8
 
Similar Threads
FacesContext is Null : Seeking Explanation
installation of an EAR
Ant problem with EJB utility project
Application access problem due to CSS not loading
application in RAD