AS8 / undertow: web-app does not deploy anymore
lafr Apr 5, 2013 1:29 PMMy web-app was deploying and working fine with jbossweb.
Now with undertow in place I get
17:14:29,757 INFO [org.jboss.as.undertow#registerDeployment] JBAS018210: Register web context: /mbi/mbi2e-lafr-sb2000-ipc/web
17:14:29,852 INFO [org.jboss.as.server#handleResult] JBAS018559: Deployed "mbi2e-lafr-sb2000-ipc.ear" (runtime-name : "mbi2e-lafr-sb2000-ipc.ear")
17:14:34,894 INFO [org.jboss.as.server.deployment#start] JBAS015876: Starting deployment of "web-mbi2e-lafr-sb2000-ipc.war" (runtime-name: "web-mbi2e-lafr-sb2000-ipc.war")
17:14:41,735 INFO [org.jboss.weld.deployer#deploy] JBAS016002: Processing weld deployment web-mbi2e-lafr-sb2000-ipc.war
17:14:42,609 INFO [org.jboss.weld.deployer#deploy] JBAS016005: Starting Services for CDI deployment: web-mbi2e-lafr-sb2000-ipc.war
17:14:42,860 INFO [org.jboss.weld.Version#<clinit>] WELD-000900 1.1.12 (Final)
17:14:42,998 INFO [org.jboss.weld.deployer#start] JBAS016008: Starting weld service for deployment web-mbi2e-lafr-sb2000-ipc.war
1463.305: [GC [PSYoungGen: 612856K->87543K(612864K)] 645299K->186829K(2013696K), 1.2151862 secs] [Times: user=2.20 sys=0.09, real=1.22 secs]
17:14:50,258 SEVERE [javax.faces#getFactory] Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory. Attempting to find backup.
17:14:50,261 ERROR [org.jboss.msc.service.fail#startFailed] MSC000001: Failed to start service jboss.undertow.deployment.default-host./web-mbi2e-lafr-sb2000-ipc: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-host./web-mbi2e-lafr-sb2000-ipc: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1930) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
Caused by: java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:302)
at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:145)
at io.undertow.servlet.core.ManagedServlet.start(ManagedServlet.java:62)
at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:567)
at org.jboss.as.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:130)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
... 3 more
17:14:50,681 ERROR [org.jboss.as.server#handleResult] JBAS015870: Deploy of deployment "web-mbi2e-lafr-sb2000-ipc.war" was rolled back with the following failure message:
{"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-host./web-mbi2e-lafr-sb2000-ipc" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-host./web-mbi2e-lafr-sb2000-ipc: Failed to start service
Caused by: java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory. "}}
17:14:50,893 INFO [org.jboss.weld.deployer#stop] JBAS016009: Stopping weld service for deployment web-mbi2e-lafr-sb2000-ipc.war
17:14:51,384 INFO [org.jboss.as.server.deployment#stop] JBAS015877: Stopped deployment web-mbi2e-lafr-sb2000-ipc.war (runtime-name: web-mbi2e-lafr-sb2000-ipc.war) in 700ms
17:14:51,507 INFO [org.jboss.as.controller#release] JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.deployment.unit."web-mbi2e-lafr-sb2000-ipc.war".component."com.googlecode.gmaps4jsf.component.circle.CircleTag".START (missing) dependents: [service jboss.deployment.unit."web-mbi2e-lafr-sb2000-ipc.war".deploymentCompleteService]
Anything I have to change in my app / packaging?
Hopefully not, otherwise I'd loose the backward compatability to AS 7 as server.