This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Glassfish and RichFaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Glassfish and RichFaces" Watch "Glassfish and RichFaces" New topic

Glassfish and RichFaces

Rami Hailat

Joined: Nov 26, 2008
Posts: 20
Hi Ranchers,

am using Glassfish as my server to run Richfaces web application, the problem i faces is no ajax finctionality is available when i use glassfish when i run the application on another server like tomcat it works fine with out any problems, your help is appreciated.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Are you getting anything when you run on Glassfish? Are the tags even being processed when you look at the source code of the page that is sent to the client?
Rami Hailat

Joined: Nov 26, 2008
Posts: 20
Thanks Cameron for your rapid response,
in fact as i said theonly thing that seems wrong is the ajax functionality, the tags all are rendered correctly with out even a javascript error.
pelase advice if you have any idea
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15961

Check the RichFaces documentation. The configuration in web.xml often needs adjusting based on the server when you're working with JSF. It shouldn't have to be that way, since it's a violation of "write-once/run-anywhere", but some of the JEE underpinnings are only present in certain server versions.

Tomcat 5 requires that the app supply both JSF implementation and EL API classes. Tomcat 6 has built-in EL support, but you still have to include JSF API and Implementation JARs in your WAR. The latest JBoss has the Sun Reference JSF Implementation built-in. And GlassFish is the baseline for the full JEE 5 stack, so all the implementation classes are built into the Glassfish server.

Customer surveys are for companies who didn't pay proper attention to begin with.
jQuery in Action, 2nd edition
subject: Glassfish and RichFaces
Similar Threads
how to run richfaces application in JBOSS
Using Glassfish instead of Axis2 in Eclipse
Sun App/Glassfish configuration
Where is HttpServletRequestWrapper?