1 Reply Latest reply on Jul 27, 2016 9:46 AM by Tomaz Cerar

    java.lang.NoClassDefFoundError: org/jboss/as/protocol/ProtocolTimeoutHandler

    Sampath Kovuri Newbie

      I am trying to deploy a war from jenkins to JBOSS EAP 7 via wildfly deployer plugin. I added all jboss-as-cli jars to /Jenkins/WEB-INF/lib folder. But I am getting following error.

      FATAL: org/jboss/as/protocol/ProtocolTimeoutHandler

      java.lang.NoClassDefFoundError: org/jboss/as/protocol/ProtocolTimeoutHandler

        at org.jboss.as.cli.impl.CommandContextFactoryImpl.newCommandContext(CommandContextFactoryImpl.java:62)

        at org.jboss.as.cli.impl.CommandContextFactoryImpl.newCommandContext(CommandContextFactoryImpl.java:56)

        at org.jboss.as.cli.scriptsupport.CLI.connect(CLI.java:149)

        at org.jboss.as.cli.scriptsupport.CLI.connect(CLI.java:135)

        at org.jenkinsci.plugins.wildfly.WildflyBuilder.perform(WildflyBuilder.java:134)

        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)

        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)

        at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:919)

        at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:870)

        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)

        at hudson.model.Run.execute(Run.java:1741)

        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)

        at hudson.model.ResourceController.execute(ResourceController.java:98)

        at hudson.model.Executor.run(Executor.java:410)

      Caused by: java.lang.ClassNotFoundException: org.jboss.as.protocol.ProtocolTimeoutHandler

        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)

        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)

        ... 14 more

      Finished: FAILURE