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.

173 questions
1
vote
2 answers

400 Error HTTP GET Request between Docker Containers with HTTPURLConnection

I got two Containers defined in a docker-compose file: tomcat_webserver_api: image: tomcat:8 volumes: - ./API/Docker/API.war:/usr/local/tomcat/webapps/API.war ports: - "8080:8080" depends_on: - mysql_database …
Sven Guthe
  • 15
  • 1
  • 6
1
vote
1 answer

java.sql.SQLException: ResultSet is from UPDATE. No Data. for all queries

I have mysql 5.5.21 installed and use mysql connector 5.1.44 in my web application running on tomcat 8.5.27. Recently, I started getting the following exception for all queries (select/insert/update etc) in my webapp after a certain time.…
1
vote
2 answers

Tomcat 8.5 not starting after upgrading Ubuntu version

I have just upgraded my Ubuntu distro from 16.04 to 18.04. Now the Tomcat 8.5 which used to work just fine, does not start up properly. The error I get is 30-Apr-2018 19:24:25.195 SEVERE [http-nio-8080-exec-1]…
shyam
  • 1,348
  • 4
  • 19
  • 37
1
vote
2 answers

Unable to connect to pgsql database with Java REST-API on local Tomcat server. Stack contains ExceptionInInitializerError and IllegalStateException

I am developing a REST-API and currently trying to fix an issue. The issue is that the REST-API is Unable to connect to pgsql database, when I go to my web page in chrome. To show this issue, I'll post a stripped down version of my stack with some…
1
vote
0 answers

How to switch Angular build using multiple servers rest APIs

I am working on a project which has Angular5 for UI and rest APIs are written in Springboot application. I have two production environments for my application. I want to deploy my angular code in both Production environments. Right now we do not…
MSV
  • 155
  • 2
  • 16
1
vote
1 answer

Tomcat 8.5 hot code replace failed - delete method not implemented

I have a problem when using Tomcat 8.5 with Eclipse. If I comment a java method, I get the error below, and also if I restart the server I cannot get synchronized. The only way to get synchronized is to restart Server. I am using: - tomcat 8.5.x -…
Marco
  • 91
  • 9
1
vote
1 answer

Tomcat 8.5.28 : Bad Set-Cookie header: Secure; HttpOnly No '=' found for token starting at position 75

We are migrating from Tomcat 6.x to Tomcat 8.5.28 . We are hitting the below issue from very first login itself. It seems Tomcat 8.5.28 version adds httpOnly attribute in Cookie. How to aviod that. Due to this attribute my Client side fails to…
1
vote
0 answers

SHA256 Digest authentication using DatasourceRealm tomcat 8.5

I am trying to configure digest authentication using SHA256 hashing of the password and not able to authenticate even with the correct username I created the datasource and realm configuration with credentailhandler algortihm set to SHA-256 and used…
venkat
  • 11
  • 1
1
vote
0 answers

Need help configuring client certificate checking using Shibboleth IDP3 on Tomcat 8.5

I have a requirement to support two factor authentication using client certificates on CAC and PIV cards. I am having a little trouble getting a clear understanding on how to configure certificate checking on our Shibboleth System. Our system…
1
vote
0 answers

Tomcat 8.5.23 Failed to initialize component

I met a serious problem while I try to startup my tomcat 8.5.23. I have no idea why it happened. I edit all file by Notepad++ instead of Eclipse and start/shutdown tomcat by "startup.bat" and "shutdown.bat". Please help me to figure out the reasons…
Seifert Han
  • 47
  • 1
  • 4
1
vote
0 answers

Configuring custom Realms for Tomcat 8.5, setting a custom mbean-descriptor

I have been tasked with Migrating our Tomcat Servers from 6.0 to 8.5. As you can imagine, there are going to be many inconsistencies with setting up the configuration and I have very limited knowledge of setting up a web server. What I need to…
MonRaga
  • 21
  • 3
1
vote
0 answers

Tomcat mariadb connection configuration

I am using CentOS as Operating System, Mariadb as Database Server, and apache tomcat 8.5.xx as a web Server. the Code of the Resource in Server.xml is as the following:
Hasan
  • 296
  • 1
  • 8
  • 23
1
vote
1 answer

Tomcat 8.5 takes too long to recognize new content

I have the following problem, I write an Excel file in C:\Tomcat85\webapps\MyWebApp\Excel\myExcel.xls. As soon as my Java application finishes writing the file, it performs a download for the user to work with it. This gives a nasty 404 error. If I…
Federico Alvarez
  • 1,459
  • 1
  • 19
  • 30
1
vote
1 answer

Apache reverse proxy using AJP with Tomcat 302 redirects

I'm completely out of ideas with this one and think I need to enlist the help of someone with a good understanding of Apache HTTPD (2.4) and Tomcat (8.5) I have a Spring MVC 4 web app that works perfectly well when I bypass the proxy to access it,…
Paul
  • 328
  • 3
  • 16
1
vote
0 answers

Tomcat: change HTTP status when redirecting HTTP to HTTPS

When Tomcat's standard redirection is used the server generates a HTTP status code 302. Is it possible to change this code to 307? Tomcat's standard redirection: conf/server.xml:
Claude
  • 1,724
  • 3
  • 17
  • 46