Questions tagged [tomcat8]

The Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.

Filter by
Sorted by
Tagged with
0 votes
0 answers
177 views

Docker swarm with TOMCAT and NGINX as load balancer

I am trying to set up a docker swarm where NGINX is used for the load balance of the swarm nodes. docker swarm init --advertise-addr 192.168.99.153 Also, I add the two nodes as a swarm docker swarm ...
user avatar
0 votes
1 answer
148 views

Ignore directory in Tomcat TldScanner

I run a Java-based CMS which places cached images in the WEB-INF folder, specifically in /WEB-INF/imagecache/. Unfortunately, this directory gets extremely large with lots of nested paths, and Tomcat ...
user avatar
1 vote
0 answers
478 views

Wrong redirect_uri on keycloak

I am trying to use keycloak to authenticate my service that are provided in a tomcat 8 docker by following https://github.com/keycloak/keycloak-documentation/blob/main/securing_apps/topics/oidc/java/...
user avatar
  • 121
0 votes
0 answers
25 views

Setup a second Tomcat8 instance as a service in Windows

I'm working with a Windows machine that is used for many production applications. There's already a Tomcat8 instance running as a service and located at C:\Apache Software Foundation\Tomcat8.5 . I can'...
user avatar
0 votes
0 answers
157 views

AJP failing rewriting urls

I had an Apache-ajp-tomcat(app:mysite) configuration working and somehow I changed something and it is now not working. The urls are being rewritten mysite.net/mysite/login When before it was working ...
user avatar
  • 101
0 votes
0 answers
29 views

apache busy worker activity swing proxy tomcat8

We have strange busy workers swing in production server in a cluster (only one of 4). At red line we restart tomcat8 and it stop swinging. Tomcat accepts max 100 http connections and 100 jdbc ...
user avatar
0 votes
1 answer
73 views

SELinux prevent connection clamd_port_t:tcp_socket

We have API Server (tomcat) which has clamAV configuration to scan any uploaded file to the system. clamAV configuration will require the API server to connect to clamAV server. SELinux is enabled on ...
user avatar
1 vote
1 answer
3k views

maxConnections or maxThreads on tomcat

Looking for advice - I've read the other two threads about this in my server.xml file I have two places where maxThreads are defined in two places: <Executor name="tomcatThreadPool" ...
user avatar
  • 11
0 votes
0 answers
31 views

Install SSL Certificate for Tomcat 8 on New Server

I downloaded the following files from my provider: Can I install the SSL certificate on a new (Ubuntu) server? If so, how? Or do I need to create a new private key and CSR and request a new ...
user avatar
  • 131
0 votes
1 answer
433 views

Disabling SSL for one site/domain in Tomcat 8.5

We currently have an Ubuntu server running Tomcat 8.5 that hosts two websites from different domains. It's a weird situation but long story short, we need to disable SSL for one of the two sites and ...
user avatar
1 vote
0 answers
50 views

Tomcat changes value of system property on startup

I am running Tomcat 8.5.61 on Java 8 and need to provide a system property for my application. Locally, I am on Windows and run Tomcat from Git Bash. The most obvious approach I found is to set it in ...
user avatar
0 votes
1 answer
132 views

What is the perfect tomcat virtualization config file?

I am managing tomcat server behind the nginx. In tomcat multiple webapps are there. My OS is Ubuntu 18.04LTS on Digital Ocean. Everything working fine, but suddenly I have one issue popped up. Tomcat ...
user avatar
0 votes
0 answers
98 views

After Tomcat 8.5 update, buttons not working only on a particular dns url

Recently we had an update from tomcat 6 to tomcat 8.5. When I am trying to login to my web gui via direct link it is working fine but when I used the dns url, for first time it works fine but if we ...
user avatar
  • 1
0 votes
2 answers
1k views

Here's a Tomcat puzzler with TLS protocols (and I've already got it on the Tomcat Users' list server)

I have a Tomcat 8.5 server running on an Amazon Linux EC2 Linux instance. Tomcat is running on port 8443, with IPTables remapping 443 to it. I've changed the "sslProtocol" clause of the ...
user avatar
1 vote
2 answers
805 views

How to upgrade Tomcat 8 vulnerable to "GhostCat" to the latest version on Ubuntu 18.04LTS?

I have an Ubuntu 18.04.3 server running Tomcat 8.5.39. Because this version is vulnerable to "GhostCat", I'd like to update to the latest version of Tomcat 8 (8.5.57). However, the latest ...
user avatar
0 votes
1 answer
555 views

tomcat certificate renewal/update

There are a lot of docs out there about installing a certificate to Tomcat, but are there instructions on how to renew/update a certificate? For instance, when I try to follow the instructions in ...
user avatar
  • 254
0 votes
1 answer
364 views

I am running Tomcat behind NGINX SSL - Which setting to use?

I am running Tomcat behind NGINX SSL, Can anyone tell me what is the best setting for tomcat server.xml ? Should I add the properties : < secure="true" proxyName=&...
user avatar
0 votes
2 answers
644 views

Can't access tomcat externally in Centos 7

I just installed tomcat 8 on a Centos 7 server and I know it's working because I could get tomcat's index.html with wget http://localhost:8080. (I couldn't think of another way of testing in a remote ...
user avatar
  • 101
3 votes
2 answers
1k views

How to pass secret in rewriterule to AJP protocol

I have a Apache server running 2.4.6, Tomcat 8.5.33 running lucee. We have rewrite rules that proxy to AJP on port 8009. ProxyPassReverse / ajp://localhost:8009/ timeout=3600 RewriteEngine On # ...
user avatar
0 votes
1 answer
555 views

How to use httpd (https/ssl) as proxy server for tomcat

I have installed httpd and tomcat on my server but somehow I'm not able to connect them. <VirtualHost *:80> ServerName www.harshrathod.dev ServerAlias harshrathod.dev ...
user avatar
1 vote
0 answers
139 views

Apache Camel with Tomcat Not handling more threads

We are using Apache Camel to pull the data from SQS and do some process and importing into the database. Since we need more performance we are doing experiment with 4 application deployed in Apache ...
user avatar
0 votes
1 answer
19 views

Google Compute Engine - DSpace stops working when I turn on the instance

A few months ago I installed DSpace (an open source repository that uses tomcat) on a Google virtual machine. A few weeks ago I paused the instance and now that I re-enabled it it doesn't open. I don'...
user avatar
0 votes
1 answer
815 views

Tomcat running on 8080 port but Fails to redirect to 8443 HTTPS port .. The 8443 port is running but cant access in web

I have deployed webapps with apache-tomcat-8.5.37. It had ssl and was working fine but when I tried to renew the ssl and installed JKS file it started to show different problems. I have resolved ...
user avatar
0 votes
1 answer
1k views

Error: peer certificate cannot be authenticated with given ca certificates NGINX, TOMCAT 8 and GOGS with CA certificate

I'm trying to configure a VPS on Ubuntu Server 18.04 which I hace installed GOGS, JENKINS and TOMCAT. With Nginx, I only allow to make https requests but when I make from Insomnia to an api web ...
user avatar
0 votes
0 answers
167 views

Load applets through nginx reverse proxy

I have a web application hosted on Tomcat 8 serving applets. The HTML pages with applets work fine when i am accessing them over http. I have further configured SSL over nginx reverse proxy. Now when ...
user avatar
  • 1
1 vote
1 answer
14k views

Tomcat 8 HTTP header parsing error

I have been deploying tomcat 8.5.45 on a Centos 7 docker container. I deployed and after setting the logs to Fine I found an Error parsing HTTP header error every time I use: http://localhost:8080 I ...
user avatar
0 votes
1 answer
3k views

Installing Tomcat 8.* in a docker container with Centos 7

I want to create a docker container to install Tomcat within it. It seems that my docker compiles with no problem and I am also able to run tomcat with no problems reported through the logs. Yet, if I ...
user avatar
0 votes
0 answers
454 views

Tomcat 8.5.40 does not work after Amazon linux O.S. upgrade to Version 3.1.6

I am a java developer, and our web application have been running on AWS Beanstalk over AWS EC2 instances with Java-8, Tomcat 8.5 and 64-bit Amazon Linux/3.0.1. Recently, as per security team's ...
user avatar
0 votes
1 answer
1k views

Sporadic mod_jk Client Errors when uploading large files

Note: There is a TL;DR at the end of this question. I have a nightly backup script that has been working reliably for 6 years, and two months ago, it began to fail to upload to my archive server (...
user avatar
  • 753
0 votes
1 answer
3k views

How to setup the ssl certificates in keycloak and tomcat

I have purchased the ssl certificate from the third party vendor. They have provide three files as mentioned below. 1) Certificate.crt, 2) ca_bundle.crt, 3) private.key. I want to install above ...
user avatar
1 vote
0 answers
146 views

Apache HTTPD and Tomcat - how to harden and/or disable Apache when only using Tomcat?

I have a fairly open ended question. My goal is to ensure that my server is secure and hardened and only using HTTPS/SSL. Certificates installed already etc. We are only using tomcat for the server. ...
user avatar
0 votes
0 answers
84 views

tomcat logging per context instead of catalina.out

Using logging.properties and the default tomcat 8 juli (java.util.logging) logging, is there a way to configure logging such that all logging for context ABC goes to log ABC.log instead of ( or in ...
user avatar
  • 254
0 votes
1 answer
2k views

Java servlet 404 error tomcat 8 but not tomcat 6

I have a server which I flip back and forth between tomcat 6 and tomcat 8. When I do an HTTP post using the command curl -v -X POST -d @webOpenCnsRealCheatsheet.xml -H Referrer:mobileWMS,LLC -H ...
user avatar
  • 254
1 vote
2 answers
2k views

monit failed protocol test [HTTP] at [localhost]:8080

I get the error "monit failed protocol test [HTTP] at [localhost]:8080" every so often. The application, tomcat, has not stopped and is still running just fine. I know port 8080 is open because I ...
user avatar
  • 254
0 votes
1 answer
79 views

Change WebApp ROOT application in tomcat 8 (No WAR file)

I am trying to change the ROOT application for another one that I installed using Maven but I do not achieve it, the application also uses apache solr. Is there any way to place both at root level? ...
user avatar
  • 1
0 votes
1 answer
2k views

errno=13. Unable to start due to shared memory failure

I have integrated httpd with tomcat by help of mod_Jk. In this case, selinux is enforcing condition. Due to enforcing enable in Selinux that's why I am unable to run the httpd in our linux server(...
user avatar
0 votes
1 answer
153 views

DotCMS all requests fail

I'm running Ubuntu Server: # uname -a Linux host-38sigregt 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/lsb-release DISTRIB_ID=Ubuntu ...
user avatar
0 votes
0 answers
1k views

log4j2 in Tomcat 8: Unexpected log rotation

I tried to fix a log rotation problem with log4j2 in a webapp running on Apache Tomcat/8.0.32 (Ubuntu) on Ubuntu 16.04.4 (see related stackoverflow question). Tomcat runs on OracleJRE 1.8.0_181. I ...
user avatar
0 votes
0 answers
13 views

Share one app on different hosts

We have configured multiple hosts, every host has a different ROOT-App <Host name="domain1" appBase="webapps_domain1" unpackWARs="true" autoDeploy="true"></Host> <Host name="domain2" ...
user avatar
  • 129
0 votes
0 answers
55 views

I can't load tomcat in browser using my domain ip address

Issue is Fixed!! i can load tomcat using localhost but if i used my server ip address it's give me timeout error. Can someone help me? Below i attached screen shots. I'm first time using tomcat. I ...
user avatar
1 vote
1 answer
181 views

SSL Enabled Geonode Service

Recently I have installed geonode on apache tomcat8 in an Ubuntu 16.04 droplet on digitalocean . Everything worked without any issue. The service was up and running. Then I tried to enable SSL for ...
user avatar
  • 11
1 vote
1 answer
43 views

Behavior change in a Google Cloud Load Balancer, and how does a load balancer decide to spawn off more instances?

We have a web application, running on Google Cloud. It's still in development at the moment. We've got a load balancer tied to three separate instance groups, for three different functions, all of ...
user avatar
1 vote
0 answers
1k views

Apache buffers tomcat responses, and closes connection to tomcat when request size exceeds 10397232 bytes

I've deployed a web-service application as a Docker container based on tomee:8-jre-7.0.4-plume which is sitting behind a apache httpd:2.4 instance running in another Docker container running on the ...
user avatar
  • 111
1 vote
1 answer
361 views

Apache tomcat stops after RHEL server patching

I've RHEL server where security team keeps on applying security patches every month and then reboot the server. I've apache tomcat installed on RHEL server and a web application (HTML/CSS/Javascript ...
user avatar
  • 145
-1 votes
1 answer
2k views

Nginx configuration for multiple domains and same application

I have the following scenario: A single application that will serve several different domains, on a single server, and a single context of a single Tomcat instance. (The DNS of all domains are ...
user avatar
0 votes
1 answer
404 views

apache 2.4 tomcat 8 Permission Denied

I have an apache 2.4 on Debian Jessie and I host several sites as virtual hosts. On of these sites is running on jsp so I hav installed tomcat 8 and I use mod_jk. My virtual host configuration file ...
user avatar
1 vote
0 answers
3k views

Tomcat 8.5: No global web.xml found (CATALINA_BASE not the same as CATALINA_HOME)

Is this expected behaviour? Will the global web.xml not be picked up in the deployment scenario where CATALINA_HOME (tomcat installation) and CATALINA_BASE (webapp home) are not the same? The ...
user avatar
0 votes
1 answer
2k views

Load index.html by default in apache2

I have set up apache2 web server and tomcat with mod_jk module in between to delegate static content to apache2. I have created /var/www/example/index.html and want this to be loaded when entering ...
user avatar
0 votes
1 answer
871 views

tomcat8: 'free(): corrupted unsorted chunks'

We upgraded from Ubuntu 16LTS to Ubuntu 18LTS a couple of days ago and since then have had Apache Tomcat crash completely twice (once per day, about 25 hrs apart). The java process stops running. One ...
user avatar
0 votes
1 answer
179 views

Not able to change tomcat memory on AWS Ubunutu 16

Ok so this is a very odd behaviour. Setting jvm parameters -Xms6g -Xmx6g has no affect on tomcat. Tomcat doesn't allocate memory when checked with free -m or with top. I'm using Ubuntu Server 16.04 ...
user avatar