# Jenkins 2.346.3 Tomcat 9 APIs

**URL:** <https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418>\
**Category:** Ask a question\
**Created:** [November 3, 2022, 6:30pm UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418 "2022-11-03T18:30:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [November 3, 2022, 6:30pm UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418/1 "2022-11-03T18:30:51Z")

</div>

Hello Jenkins Community,

Good afternoon.  
I am currently installing Jenkins LTS version 2.346.3 + Tomcat 9 + Java 1.8  
Both ARE compatible with Java 1.8 - as I verified that already.  
I have a compatibility question however, base on the APIs Tomcat 9 provides.  
Hoping someone might know.  
Please see below.  
Thanks.  
~ John

1  
Has anyone had PROBLEMS running Jenkins LTS version 2.346.3, with Tomcat 9 + Java 1.8?

2  
Will Jenkins LTS 2.346.3 run with these TOMCAT 9 APIs?

```
	FROM: https://tomcat.apache.org/whichversion.html	
	Tomcat 9 supports these API levels

	Servlet Spec 4.0	
	JSP Spec 2.3	
	EL Spec 3.0	
	WebSocket Spec 1.1	
	Authentication (JASPIC) Spec 1.1	
	Apache Tomcat Version 9.0.x	
	Latest Released Version 9.0.68	
	Supported Java Versions 8 and later

```

---

<div class="post-metadata">

**Author:** ![timja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/timja/32/7_2.png) [@timja](https://community.jenkins.io/u/timja)\
**Post date:** [November 3, 2022, 10:35pm UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418/2 "2022-11-03T22:35:45Z")

</div>

Jenkins is only tested with the embedded Jetty that comes from the winstone project.

Tomcat may work but it is not tested against by any Jenkins developers and there is no automated tests that verify it.

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [November 4, 2022, 8:21am UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418/3 "2022-11-04T08:21:19Z")

</div>

I’ve been running Jenkins on Tomcat9 since longer time without issues going through all the LTS versions up to 2.346.3  
In Mai I’ve then switch Jenkins 2.346.3 on Tomcat9 to Java11 to prepare for the next LTS. Since 4 weeks running on 2.361.1, Tomcat 9 and Java11

---

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [November 7, 2022, 1:56pm UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418/4 "2022-11-07T13:56:00Z")

</div>

Understood.

Thanks for the feedback, Tim.

~ John

---

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [November 7, 2022, 1:57pm UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418/5 "2022-11-07T13:57:04Z")

</div>

Markus,

Thanks the for the reply. Understood.

That’s good to hear - thank you.

~ John

---

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [November 7, 2022, 5:20pm UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418/6 "2022-11-07T17:20:18Z")

</div>

Markus,

Quick question.  
When using Tomcat + Jenkins WAR, how did you get by the CRUMB error?  
I tried adding this to my CATALINA BAT but it did not work.

```
  REM JDOVE

  set JAVA_OPTS=-Djenkins.model.Jenkins.crumbIssuerProxyCompatibility=true

```

I am still researching this…  
Here is the error from the Tomcat logs.  
I am getting this on my FIRST request to Jenkins inside Tomcat, when the Jenkins WAR gets exploded.  
Basically I cannot get the first request to work! : - (

ERROR IS  
No valid crumb was included in request for /jenkins/pluginManager/installPlugins by admin.  
Returning 403.

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [November 7, 2022, 11:18pm UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418/7 "2022-11-07T23:18:24Z")

</div>

I never tried running Jenkins from an unconfigured state on tomcat. I have a docker image with all plugins and existing configuration comes from a mounted location and this works fine without issues. Also we run tomcat with https only.  
I suggest to use JCasC to see if the problem exists with a fully configured Jenkins.

---

<div class="post-metadata">

**Author:** ![jodove](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jodove](https://community.jenkins.io/u/jodove)\
**Post date:** [November 8, 2022, 1:50pm UTC](https://community.jenkins.io/t/jenkins-2-346-3-tomcat-9-apis/4418/8 "2022-11-08T13:50:27Z")

</div>

Markus,

Thanks for the reply.

Thanks for the idea (i.e. JCasC).

I have not looked into Docker yet, my organization still uses Tomcat + Jenkins.

~ John
