Questions tagged [tomcat8.5]

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

Tomcat released on 2018-06-25:

The Apache Tomcat Project is proud to announce the release of version 8.5.32 of Apache Tomcat. Apache Tomcat 8.5.x is intended to replace 8.0.x and includes new features pulled forward from Tomcat 9.0.x.

Release Notes:

Tomcat 8.5 is designed to run on Java SE 7 and later.

EOL:

The Apache Tomcat team announces that support for Apache Tomcat 8.0.x will end on 30 June 2018. 8.5.x is not affected by this announcement.

156 questions
68
votes
7 answers

Tomcat 8 is not able to handle get request with '|' in query parameters?

I am using Tomcat 8. In one case I need to handle external request coming from external source where the request has a parameters where it is separated by |. Request is looks like this: http://localhost:8080/app/handleResponse?msg=name|id| In this…
ashishjmeshram
  • 11,077
  • 50
  • 148
  • 224
28
votes
3 answers

AFTER upgrade from Spring boot 1.2 to 1.5.2, FileNotFoundException during Tomcat 8.5 Startup

I upgraded Spring Boot from 1.2.0 to 1.5.2. After that upgrade, Tomcat 8.5 is throwing FileNotFoundException during startup. Below is one of those exceptions, It is throwing more than ~10 similar exceptions. I have no idea about the purpose of these…
Sundararaj Govindasamy
  • 7,142
  • 5
  • 41
  • 67
15
votes
2 answers

Tomcat 8.5.51 - Issues with secretRequired="false"

The secretRequired="false" option added to AJP connector is server.xml. However, the connector does not start with Protocol handler start failed error. It is behind an Apache Server version 2.4.25.
imriss
  • 1,343
  • 2
  • 20
  • 34
10
votes
2 answers

Spring boot + tomcat 8.5 + mongoDB, AsyncRequestTimeoutException

I have created a spring boot web application and deployed war of the same to tomcat container. The application connects to mongoDB using Async connections. I am using mongodb-driver-async library for that. At startup everything works fine. But as…
Sachin Gupta
  • 6,719
  • 3
  • 24
  • 41
5
votes
1 answer

Tomcat 8.5 response.getWriter() has already been called for this response

I'm using Tomcat 8.5.23 in production with Servlets (with Spring autowiring capabilities if relevant) response.getWriter() return null in production It happens also when calling chain.doFilter(req, res); in custom filter: public class MyFilter…
user7294900
  • 47,183
  • 17
  • 74
  • 157
5
votes
3 answers

Tomcat + Spring Boot + 'javax.websocket.server.ServerContainer' not found

I am trying to deploy a Spring Boot (2.0.5) web application (war) with web sockets to a Tomcat 8.5.37 server, it previously worked with Tomcat 7. My web socket configuration is throwing the exception and preventing the application from starting. Am…
Phil Ninan
  • 788
  • 1
  • 9
  • 19
4
votes
1 answer

Number of Active Sessions in Tomcat

I have my web services jar file deployed under webapps\nyx\WEB-INF\services in my tomcat server. Now I am trying to get no of active sessions using below code inside a web service method. MBeanServer mBeanServer =…
Shelly
  • 681
  • 4
  • 20
4
votes
6 answers

An error occurred during installation: No such plugin: cloudbees-folder

An error occurred during installation: No such plugin: cloudbees-folder (While installing Jenkins suggested plugins getting the error on windows 10)
naresh
  • 41
  • 1
  • 3
4
votes
1 answer

Keep the space after semicolon in Content-type header response using tomcat

We have a legacy client consuming a servlet deployed on tomcat 8.5. This legacy client is waiting for the content-type header response in this format (note the whitespace between the semicolon and 'charset'): Content-type: text/xml;…
troig
  • 6,257
  • 4
  • 35
  • 60
4
votes
1 answer

Tomcat 8.5 org.apache.juli maxDays property not working

I have wrote below configuration in my logging.properties: 2localhost.org.apache.juli.AsyncFileHandler.level = FINE 2localhost.org.apache.juli.AsyncFileHandler.directory =…
Hkachhia
  • 4,130
  • 5
  • 35
  • 71
4
votes
0 answers

how to secure/ httponly cookies

I have configured nginx as Proxy server and my backend is tomcat8.5 on Redhat7. I have configure SSL in nginx. I would like to have cookie in secure and httponly but my header shows only JSESSIONID in cookie. my result:- …
4
votes
0 answers

Tomcat 8.5 HTTP/2 connector not supporting GZIP compression

It looks like tomcat 8.5 H2 protocol does not support GZIP compression. Can anyone confirm or give advise on how to enable it? The following does not work:
3
votes
1 answer

org.postgresql.util.PSQLException: FATAL: remaining connection slots are reserved for non-replication superuser connections

I'm developing an app on Spring 4.1 ,Tomcat 8.5.30 with a Postgresql 9.6 Periodically, I get this error message when trying to access the database, or when i run maven install twice successively : AVERTISSEMENT [http-nio-9000-exec-36]…
3
votes
3 answers

Tomcat8.5 and Openjdk11 NoClassDefFoundError: Could not initialize class org.apache.cxf.attachment.AttachmentUtil

I am migrating a Java Application to OpenJDK11 which is running on Tomcat 8.5. Application and tomcat starts withount any problem. With JDK1.8 I don't have any exception or error But when calling application with another Webservice and running…
ugurkocak1980
  • 103
  • 1
  • 12
3
votes
3 answers

How to configure a maximum duration of an application session in Tomcat?

I need to configure a maximum duration of an application session in Tomcat to 24 hours. I was not able to find the appropriate configuration in the documentation: https://tomcat.apache.org/tomcat-8.5-doc/config/http.html (There is sessionTimeout for…
Michael
  • 9,061
  • 16
  • 53
  • 96
1
2 3
10 11