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
0
votes
1 answer

Something in web.xml of my Apache Isis Project is disabling aspects of tomcat security (HSTS and Clickjacking)

I have my tomcat (v8) configured to globally use strict transport security (HSTS) and prevent clickjacking (in /opt/tomcat/conf/web.xml): httpHeaderSecurity
Stefan Wegener
  • 726
  • 1
  • 10
  • 25
0
votes
1 answer

How to get python requests cookies logged using tomcat AccessLogValve?

When using python I am unable to log the cookies associated with a request made to an application which adds a JSESSIONID to my request. Meanwhile accessing the same URL with curl or a browser does. RHEL 7.6, Tomcat 8.5.51 server.xml includes
Corp SE
  • 71
  • 2
  • 6
0
votes
0 answers

High CPU utilization + Unnecessary memory allocated automatically to my JVM

We're having a production problem with an application on tomcat 8 , JDK 8. Suddenly we encounter a very high CPU utilization (up to 100%) and this co-exists with memory logs application throws (using runtime.get...) show almost the same used memory…
Abu3azza
  • 1
  • 1
0
votes
1 answer

Precompiling JSP using Ant is successfull despite syntax errors in JSP file

I'm trying to pre-compile .jsp files just as a way to check for errors but the issue is that despite syntax errors in the .jsp file, the .class file is still successfully generated and no errors occur when precompiling using Ant. I am using Tomcat's…
Essam Al-Mansouri
  • 1,049
  • 2
  • 11
  • 19
0
votes
1 answer

Apache Guacamole Web client not showing any connections

I have set up Apache Guacamole with AD authentication and Postgres; everything seems to be right but I am not able to see any button to create any connection. Does anyone have any idea how to troubleshoot this? I initialized the database logs show…
Moe
  • 1,427
  • 4
  • 34
  • 54
0
votes
1 answer

Apache Tomcat 8.5.56 log

In my Apache Tomcat 8.5.56 localhost_access_log.2020-06-26.txt file there is, instead of a POST or GET request, a strange line: X.X.X.X - - [26/Jun/2020:00:28:00 +0200] "CONNECT check.best-proxies.ru:80 HTTP/1.1" 400 795 what is it? Is it a socket…
Davide Sestili
  • 101
  • 2
  • 9
0
votes
1 answer

Tomcat does not log at stdout

I am facing an issue where my tomcat 8.5 does not log to tomcat8-stdout. Where as other log files are created (host-manager, localhost, manager, catalina, localhost_access_log) except for tomcat8-stdout and tomcat8-stderr. I am trying to debug my…
miazocool
  • 13
  • 4
0
votes
2 answers

Can't connect database to Java Dynamic Web Project

I created a Dynamic Web Project in Eclipse, which is supposed to interact with a database. I added the database in the project, I added all the necessary texts in the appropriate files to connect the database with the servlets, but for some reason…
Antonis
  • 7
  • 1
  • 8
0
votes
1 answer

Logback with prudent mode creates corrupt log file

We run a spring application as a war on a tomcat in a kubernetes cluster with multiple pods. All pods write a statistic log file to an nfs share. All pods should write into the same file. So prudent mode sounded like the thing we should use. So I…
Marc
  • 271
  • 2
  • 4
  • 14
0
votes
0 answers

I am trying to remote debug spring MVC application hosted on Ubuntu server from my intellij IDE on MAC

i started the tomcat by setting below two in setenv.sh file under TOMCAT_HOME/bin/ export JPDA_ADDRESS="5005" export JPDA_TRANSPORT="dt_socket" startd server using sudo ./catalina.sh jpda run the output log says Listening for transport…
0
votes
1 answer

Apache is running but not can't connect remotely

I am running Tomcat 8.5.56 in Windows Server 2016 with port 8040 but I am unable to browse it locally. eg. Server IP 192.168.1.20 Client IP 10.0.10.15
0
votes
1 answer

Edit (Write) text files as part of tomcat directory listing functionality

I have listed a section of text files using my apache tomcat service. I had enabled the directory listings in web.xml and I tried to edit one of the text files in my notepad++, but it was read only and hence I could not edit. Is there a way that I…
N Deepak Prasath
  • 385
  • 2
  • 4
  • 13
0
votes
1 answer

Automated Deployement Build Failed in Jenkins

I am doing automated deployemnt in jenkins and getting error saying that: Build step 'Execute Windows batch command' marked build as failure. Building on master in workspace: C:\Program Files…
0
votes
0 answers

getting jasperException on running jsp file

i am getting jasper exception on running jsp file <% Connection con=ConnectionProvider.getConnect(); %>

<%=con %>

getConnect is method in another java class where i have loaded the connection driver public static…
Dakshesh
  • 1
  • 1
0
votes
1 answer

Why request params is always NULL for PUT method in tomcat deployed in heroku

Whereas it is working fine for POST and DELETE methods. The same war is working for all HTTP methods in local installed tomcat. As checked with heroku docs, there is no configuration is related to this issue. If it is due to parseBodyMethods, then…
Mohamed Rafic S
  • 161
  • 1
  • 5