| Author |
Glassfish and RichFaces
|
Rami Hailat
Greenhorn
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: 4967
|
|
|
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?
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
Rami Hailat
Greenhorn
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: 14456
|
|
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.
|
 |
 |
|
|
subject: Glassfish and RichFaces
|
|
|