3 Replies Latest reply on Oct 10, 2017 12:24 PM by Abhinav Gupta

    with WildFly 10.1.0 ,ear deployment failed on undertow with java.lang.NoSuchMethodError: io.undertow.servlet.api.DeploymentInfo.setDisableCachingForSecuredPages(Z)V

    Abhinav Gupta Newbie

      Hello,

      Our application is working fine on 9.0.2 , but while we update to 10.1.0 , deployment is failing with below exception :

       

      017-10-10 03:02:57,319 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = codebase.war_com.microsoft.sqlserver.jdbc.SQLServerDriver_4_1

      2017-10-10 03:02:57,938 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 113) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./InService: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./InService: java.lang.NoSuchMethodError: io.undertow.servlet.api.DeploymentInfo.setDisableCachingForSecuredPages(Z)V

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      at org.jboss.threads.JBossThread.run(JBossThread.java:320)

      Caused by: java.lang.NoSuchMethodError: io.undertow.servlet.api.DeploymentInfo.setDisableCachingForSecuredPages(Z)V

      at com.ptc.service.delivery.ClientCacheServletExtension.handleDeployment(ClientCacheServletExtension.java:18)

      at io.undertow.servlet.core.DeploymentManagerImpl.handleExtensions(DeploymentManagerImpl.java:255)

      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:159)

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)

      ... 6 more

       

       

      2017-10-10 03:02:57,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "Windchill.ear")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./InService" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./InService: java.lang.NoSuchMethodError: io.undertow.servlet.api.DeploymentInfo.setDisableCachingForSecuredPages(Z)V

          Caused by: java.lang.NoSuchMethodError: io.undertow.servlet.api.DeploymentInfo.setDisableCachingForSecuredPages(Z)V"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./InService"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

       

      Attached full logs.

      Please help !