Errors showing when deploying Jenkins with JDK 17

29 views
Skip to first unread message

jorge hernandez

unread,
Oct 3, 2022, 3:19:59 PMOct 3
to WildFly
Hello,

I know WildFly is just in Beta right now and there is still lots more work to do, but ever since I saw that WildFly 27 will have support for JDK 17 I have been trying to deploy the version of Jenkins that according to them it has JDK 17 support already, but the deployment always fails, this is what I'm seeing now with Beta 1:

2022-10-03 15:11:39,517 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "jenkins.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jenkins.war\".undertow-deployment.UndertowDeploymentInfoService" => "Failed to start service
    Caused by: java.lang.NoClassDefFoundError: Failed to link org/kohsuke/stapler/Stapler (Module \"deployment.jenkins.war\" from Service Module Loader): javax/servlet/http/HttpServlet"}}
2022-10-03 15:11:39,517 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "jenkins.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jenkins.war\".undertow-deployment.UndertowDeploymentInfoService" => "Failed to start service
    Caused by: java.lang.NoClassDefFoundError: Failed to link org/kohsuke/stapler/Stapler (Module \"deployment.jenkins.war\" from Service Module Loader): javax/servlet/http/HttpServlet"}}
2022-10-03 15:11:39,518 ERROR [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0021: Deploy of deployment "jenkins.war" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jenkins.war\".undertow-deployment.UndertowDeploymentInfoService" => "Failed to start service
    Caused by: java.lang.NoClassDefFoundError: Failed to link org/kohsuke/stapler/Stapler (Module \"deployment.jenkins.war\" from Service Module Loader): javax/servlet/http/HttpServlet"}}
2022-10-03 15:11:39,577 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment jenkins.war (runtime-name: jenkins.war) in 58ms

Emmanuel Hugonnet

unread,
Oct 4, 2022, 4:05:40 AMOct 4
to jorge hernandez, WildFly
javax/servlet/http/HttpServlet means that jenkins is still using JavaEE/JakartaEE 8 while WildFly 27 is JakartaEE 10
Emmanuel
> --
> You received this message because you are subscribed to the Google Groups "WildFly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/wildfly/044fa5d3-2d29-45db-a094-1310d99e9b80n%40googlegroups.com
> <https://groups.google.com/d/msgid/wildfly/044fa5d3-2d29-45db-a094-1310d99e9b80n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages