Questions tagged [tomcat8]

Version 8.x (August 2013 onwards) of the Apache Tomcat servlet container. Use only if your question is specifically related to features of this version.

Version 8.x (August 2013 onwards) of the Apache Tomcat servlet container.

Apache Tomcat is an open source servlet container developed by the Apache Software Foundation (ASF). It supports the 3.1, 2.3, 3.0, and 1.0 specifications1. Questions here should relate only to Tomcat Version 8.x.

Use only if your question is specifically related to features of this version. Just because you are using this version, doesn't mean you need this tag. Use in addition to or instead of this tag.

See for more information.

2687 questions
7
votes
3 answers

cross origin requests are blocked in tomcat 8 with HTTP status code 403

it may seem like a known issue and many questions exist on the topic, however, my situation is very strange. I have a simple web application that is deployed on tomcat 8.0.36. I have configured the CORS…
bekon
  • 305
  • 1
  • 4
  • 12
7
votes
1 answer

How to integrate JNI shared library in Spring Boot application

I tried searching on the web but I could not find any relevant tutorial or how-to for integrating JNI shared libraries into Spring Boot project. I would like to integrate GDAL library with a small Spring Boot REST application. Is it even possible to…
mmesnjak
  • 169
  • 4
  • 14
7
votes
2 answers

TOMCAT_HOME vs CATALINA_HOME

I have been updating some documentation lately (we moved from Apache Tomcat 7 to 8) and noticed references to TOMCAT_HOME. Such as creating an environment variable TOMCAT_HOME. If I'm correct TOMCAT_HOME was pretty much deprecated in version 3 and…
DavidR
  • 6,622
  • 13
  • 56
  • 70
7
votes
2 answers

how does Hikari recycle connections?

I please you all for an answer I could not find in the HikariCP doc. Given I set the following pool parameters: minimumIdle 1 idleTimeout 10 minutes maxLifeTime 20 minutes When my app stays idle (with nobody making requests) during the night, I…
Gaël Oberson
  • 603
  • 1
  • 5
  • 14
7
votes
1 answer

Tomcat 8 (and 9) coerce behaviour, null strings are incorrectly set as empty strings

I have just migrated to Tomcat 8. I used to work with system property org.apache.el.parser.COERCE_TO_ZERO=false so empty strings, numbers, booleans etc. are treated as null. In Tomcat 8, EL 3.0, it is supposed to be the default but it is in fact…
cocorossello
  • 1,289
  • 1
  • 17
  • 30
7
votes
0 answers

Tomcat 8 Hangs. Requests are still coming in, but no responses are sent back

I am running Tomcat 8.0.14 (recently upgraded from Tomcat 5.5) and am experiencing very inconsistent hanging of the application server. When a hang occurs, attempting to navigate to any page causes an infinite wait Tomcat is running as a windows…
John
  • 71
  • 1
  • 4
7
votes
1 answer

MonitorFilter::WARNING: the monitor filter must be the first filter in the chain

The Tomcat server logs the following warning on the server terminal while accessing pages from the browser after upgrading Tomcat from 8.0.5 to 8.0.9.0. MonitorFilter::WARNING: the monitor filter must be the first filter in the…
Tiny
  • 27,221
  • 105
  • 339
  • 599
7
votes
5 answers

Tomcat from 8443 to 443

I have spring MVC web application started on tomcat 8. I'have created certificates for SSL Authorization. I have such I confing in a server.xml
grep
  • 5,465
  • 12
  • 60
  • 112
7
votes
1 answer

Error "Unable to process parts as no multi-part configuration has been provided" when uploading file

I am trying to upload an file via a form in a JSP file, but I'm getting this error. The servlet already has the @MultipartConfig notation. I'm using servlet 3.0 and apache tomcat 8. Error message: java.lang.IllegalStateException: Unable to process…
user3361891
  • 271
  • 1
  • 2
  • 6
7
votes
4 answers

Apache Tomcat 8 not working. Throws HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp

I am using Apache Tomcat 8 and I've JDK 1.7. Tomcat starts running after I run "startup.bat". But when I try to run "http://localhost:8080/", it shows an error: "HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp" Please…
Temp O'rary
  • 5,366
  • 13
  • 49
  • 109
7
votes
2 answers

PHP on Tomcat 8

I had found quite a few guides how to make PHP run on Tomcat, but all were on previous versions. I tried all of them and all I could manage to display is a blank page and the code is still not fired. I understand that Tomcat is build for Java…
user2227904
  • 679
  • 1
  • 8
  • 27
6
votes
1 answer

Tomcat Manager: Cannot Upload Large WAR file

I am getting an exception while I try to deploy my app using Tomcat manager. The manager fails to upload the file. The size of my war file is 85 MB. But for small war files, the manager works fine. I tried with a "Hello World" application (size 5…
Md.
  • 496
  • 4
  • 11
6
votes
1 answer

org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException

I encountered this error when I tried to deployed war in tomcat with spring boot 2.1.2.My tomcat version is 8.5.14 and java is 1.8.0_121.I think i had done everything right and its working perfectly in my machine but its not working when i deploy it…
KJEjava48
  • 1,967
  • 7
  • 40
  • 69
6
votes
2 answers

java 8 , tamcat 8: Invalid byte tag in constant pool: 19

I have a problem when i start the server. I Use java 8 and tomcat 8 Don't know how to fix that. org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19 at…
user10632362
6
votes
1 answer

Spring boot Disable response when https port is hit with http request

I have a spring boot application in which tomcat is listening on port 8000 over HTTPS. However, when port 8000 is hit with plain http request, the server responds with http 400. Bad Request This combination of host and port requires TLS. Is there…
Manish
  • 909
  • 1
  • 11
  • 23