I've recently mentioned an issue while trying to run the shop on Glassfish 4.1.1 but one of the staff were puzzled by the fact Mojarra (JSF) was being mentioned in the errors.
Hopefully I will now be providing more insight into the issue, because after a couple successful runs on Tomcat, I can't seem to be able to even start it again (may not be related to the app though).
So, trying to run it on GF 4.1.1 I'm getting this (top to bottom in the server's console):
.......
Info: visiting unvisited references
Info: visiting unvisited references
Info: WebModule[null] ServletContext.log():No Spring WebApplicationInitializer types detected on classpath
Severe: Unable to obtain InjectionProvider from init time FacesContext. Does this container implement the Mojarra Injection SPI?
Severe: Unable to call @PreDestroy annotated methods because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Severe: Critical error during deployment:
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/xml/sax/SAXNotRecognizedException
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:773)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:353)
- - - - left out the middle part - - - - - -
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
at java.lang.Thread.run(Thread.java:745)
Severe: Exception while loading the app
Severe: Undeployment failed for context /sm-shop-2.0.3-SNAPSHOT
Severe: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/xml/sax/SAXNotRecognizedException
Info: Exception Occurred :Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/xml/sax/SAXNotRecognizedException. Please see server.log for more details.