You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
I'm using jspx as view technology in JSF application.As JSF 2.2 is uses Facelet as default View Technology. So I have specified javax.faces.FACELETS_VIEW_MAPPINGS in web.xml.
I'm using wildfly 15 (Full Profile) application server.But, while deploying I'm getting exception -
2018-12-26 18:35:20,009 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 157) Initializing Mojarra 2.3.5.SP2 for context '/jsfdemo'
2018-12-26 18:35:20,134 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 157) Critical error during deployment: : java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
at
...
2018-12-26 18:35:20,178 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jsfdemo.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."jsfdemo.war".undertow-deployment" => "java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically"}}
2018-12-26 18:35:20,180 ERROR [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0021: Deploy of deployment "jsfdemo.war" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."jsfdemo.war".undertow-deployment" => "java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically"}}
2018-12-26 18:35:20,263 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment jsfdemo.war (runtime-name: jsfdemo.war) in 82ms
The text was updated successfully, but these errors were encountered:
I'm using jspx as view technology in JSF application.As JSF 2.2 is uses Facelet as default View Technology. So I have specified javax.faces.FACELETS_VIEW_MAPPINGS in web.xml.
web.xml
`
demo
index.html
index.jsp
`
I'm using wildfly 15 (Full Profile) application server.But, while deploying I'm getting exception -
2018-12-26 18:35:20,009 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 157) Initializing Mojarra 2.3.5.SP2 for context '/jsfdemo'
2018-12-26 18:35:20,134 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 157) Critical error during deployment: : java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
at
...
2018-12-26 18:35:20,178 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jsfdemo.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."jsfdemo.war".undertow-deployment" => "java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically"}}
2018-12-26 18:35:20,180 ERROR [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0021: Deploy of deployment "jsfdemo.war" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."jsfdemo.war".undertow-deployment" => "java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically
Caused by: java.lang.UnsupportedOperationException: UT010042: This method cannot be called from a servlet context listener that has been added programatically"}}
2018-12-26 18:35:20,263 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment jsfdemo.war (runtime-name: jsfdemo.war) in 82ms
The text was updated successfully, but these errors were encountered: