Error deploying geoportal SP2 on Glassfish 3.1.1 (build 12)

Discussion created by brandur on Feb 23, 2012
Latest reply on Mar 4, 2012 by cotton178
I am currently running geoportal SP1 on test and production environments.

I have uneployed SP1 and restarted the server. When I deploy the SP2 geoportal.war I get the following error.

Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet not found by org.glassfish.web.core [208]. Please see server.log for more details.

If I try to deploy the 1.2 geoportal.war from I have no problems.

Attached is the glassfish server.log showing the errors in more detail.

I'm proceeding with comparing the contents of the two war's  (apart from the viewer added in ArcGIS for INSPIRE) to see if I can find anything there. Thought I'd check if someone else has run into the same problems.

Any ideas

Update:  I have compared the two and there is nothing ovbious in the config files that justifies the errors. Hmm, contradiction in terms, at least I cannot find anything that makes sense to me.