Skip to main content

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
46 views

Apache 2.4 reverse proxy provides stale content for Tomcat / Confluence backend

Environment: Apache 2.4 reverse proxy on Windows server 2019 in front of Tomcat 8.9.x / Confluence. (Please no advice to change Win, can't change this). Proxy as such works fine. Webpage delivery from ...
MarkHelms's user avatar
  • 181
0 votes
1 answer
104 views

Tomcat8.5.78 fileUploadBase Error

When I attempt to upload a document using a form, I get the following error : org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /...
SegmentationFault's user avatar
0 votes
1 answer
95 views

accessing tomcat manager gui not possible even after updating tomcat users and context xml files

I have a bsic tomacat 8.5 fresh setup, I went through documentaion as well as some threads here such as How to access tomcat manager gui from another machine? and others and all confirm the same ...
eliassal's user avatar
0 votes
1 answer
612 views

Application slows down (SOMETIMES) at peak times, running on tomcat with a reverse proxy from apache server, deployed on AWS

Just for preface: I'm a software developer and at first no one knew what's going on, so I did some testing and reading, and would like to help my colleagues fix this problem. The issue: The issue is ...
Stefan Horvath's user avatar
0 votes
0 answers
4k views

openssl PEM_read_bio:no start line:pem_lib.c:707:Expecting: ANY PRIVATE KEY

Very new to SSL installation in Tomcat 8.5. OS: CentOS 7 I have SSL certificates from GoDaddy and have the private key used to generate the certificates. This private key was shared in a .txt file and ...
Vishnu's user avatar
  • 1
0 votes
1 answer
216 views

Dynamic multicast in AWS not working using IGMPv2

I have a java application running on tomcat on multiple ec2 instances, and I want to deploy it in cluster mode which is working when I configure in each tomcat server a StaticMembershipInterceptor for ...
Hicham Zouarhi's user avatar
0 votes
1 answer
994 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 ...
user1933738's user avatar
1 vote
0 answers
1k 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/...
Winter's user avatar
  • 141
0 votes
1 answer
391 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 ...
MAAN SHARBAJI's user avatar
2 votes
1 answer
10k 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" ...
RebRy's user avatar
  • 21
0 votes
0 answers
58 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 ...
bernland's user avatar
  • 131
0 votes
1 answer
2k 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 ...
CacheMoney's user avatar
1 vote
0 answers
384 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 ...
Christian Semrau's user avatar
0 votes
1 answer
162 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 ...
shivang patel's user avatar
0 votes
0 answers
147 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 ...
Larvi's user avatar
  • 1
0 votes
2 answers
2k 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 ...
hbquikcomjamesl's user avatar
1 vote
2 answers
1k 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 ...
CacheMoney's user avatar
0 votes
1 answer
3k 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 ...
Tony B's user avatar
  • 264
0 votes
1 answer
732 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=&...
Gb123-svrflt2's user avatar
0 votes
2 answers
1k 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 ...
Christian's user avatar
  • 101
3 votes
2 answers
2k 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 # ...
Grant Griffith's user avatar
0 votes
1 answer
2k 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 ...
harshrathod50's user avatar
1 vote
0 answers
258 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 ...
sdlc consultant's user avatar
0 votes
1 answer
37 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'...
Ariel Gallardo's user avatar
0 votes
1 answer
2k 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 ...
Bhuwan Bhandari's user avatar
0 votes
1 answer
2k 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 ...
igarciadev's user avatar
0 votes
0 answers
274 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 ...
Tejas's user avatar
  • 1
1 vote
1 answer
18k 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 ...
Jose Cabrera Zuniga's user avatar
0 votes
1 answer
4k 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 ...
Jose Cabrera Zuniga's user avatar
0 votes
0 answers
553 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 ...
Tushar G's user avatar
0 votes
1 answer
2k 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 (...
Parker's user avatar
  • 802
0 votes
1 answer
4k 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 ...
prasad p's user avatar
1 vote
0 answers
246 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. ...
efraimip's user avatar
1 vote
0 answers
202 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 ...
Tony B's user avatar
  • 264
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 ...
Tony B's user avatar
  • 264
1 vote
2 answers
3k 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 ...
Tony B's user avatar
  • 264
0 votes
1 answer
137 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? ...
ayar's user avatar
  • 1
0 votes
1 answer
4k 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(...
Birendra Rawat's user avatar
0 votes
1 answer
194 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 ...
Reinderien's user avatar
0 votes
0 answers
2k 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 ...
fireandfuel's user avatar
0 votes
0 answers
16 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" ...
wutzebaer's user avatar
  • 129
0 votes
0 answers
93 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 ...
Learn with Panda's user avatar
1 vote
1 answer
248 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 ...
Sam's user avatar
  • 11
1 vote
1 answer
98 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 ...
hbquikcomjamesl's user avatar
1 vote
0 answers
2k 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 ...
Tom Drake's user avatar
  • 111
1 vote
1 answer
733 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 ...
John's user avatar
  • 145
-1 votes
1 answer
3k 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 ...
Leandro Paiva's user avatar
0 votes
1 answer
627 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 ...
Christoforos's user avatar
1 vote
0 answers
4k 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 ...
Reto Höhener's user avatar
0 votes
1 answer
5k 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 ...
user2908112's user avatar