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
-1
votes
0answers
18 views

Update Apache Tomcat for Jasper Reports Server

I have recently installed Jasper Reports Server (Community) on a machine thats being constantly monitored. The Apache Tomcat over which JRS is running, came bundled with installer. Because of this, I ...
0
votes
1answer
34 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 ...
1
vote
0answers
14 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 ...
0
votes
0answers
112 views

Amazon Linux Tomcat 8.5 vs Apache Tomcat 8.5 installation

I am trying to deploy a java/tomcat application to Amazon Linux 2. The app uses Hikari for connection pooling and connects to a mysql database. As part of the amazon-linux-extras packages, tomcat 8.5....
0
votes
0answers
23 views

New Tomcat 8 installation from clone and the new Server is having session issues

I have just cloned a Centos7 server. It is running Centos7 , apache 2.4 and tomcat apache-tomcat-8.5.61 One thing that is different is I had to change the domain name. I am using the mod_jk connector ...
0
votes
0answers
21 views

Tomcat 8 no connection to webservice over https

This problem has been giving me quite a headache for some time now. I'm managing a Tomcat 8.5 Server for a department in my company which for some time now is not allowing a connection over https (in ...
0
votes
1answer
113 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 ...
0
votes
0answers
18 views

Tomcat RemoteIpValve Vs Tomcat Connector

This is my configuration: My frontfacing server Proxy Server: Apache2 Port: 443 SSL: yes And My Backend Server: Tomcat8 Port: 8080 For my webapps to work properly they need to know the correct ...
0
votes
0answers
92 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 ...
0
votes
0answers
16 views

Tomcat spontaneously updated when spinning up an AWS EC2 instance. What just happened?

I am once again attempting to get our development AWS box switched over to Let's Encrypt. This time, I've managed to get the httpd server working with the Let's Encrypt cert. And this time, I've even ...
0
votes
2answers
353 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 ...
1
vote
2answers
342 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 ...
0
votes
1answer
133 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 ...
0
votes
1answer
140 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=&...
0
votes
2answers
287 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 ...
1
vote
2answers
699 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 # ...
0
votes
1answer
176 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 ...
1
vote
0answers
85 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 ...
0
votes
1answer
15 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'...
0
votes
0answers
157 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 ...
0
votes
1answer
489 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 ...
0
votes
0answers
125 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 ...
1
vote
1answer
10k 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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
297 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 ...
0
votes
1answer
938 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 (...
0
votes
1answer
2k 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 ...
1
vote
0answers
91 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. ...
0
votes
0answers
48 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 ...
0
votes
1answer
1k 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
43 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? ...
0
votes
1answer
1k 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(...
0
votes
1answer
111 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 ...
0
votes
0answers
728 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 ...
0
votes
0answers
12 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" ...
0
votes
0answers
52 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 ...
0
votes
1answer
146 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 ...
1
vote
1answer
41 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 ...
1
vote
0answers
754 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 ...
1
vote
1answer
243 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 ...
-1
votes
1answer
1k 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 ...
0
votes
1answer
255 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 ...
1
vote
0answers
2k 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 ...
0
votes
1answer
733 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 ...
0
votes
1answer
694 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 ...
0
votes
1answer
175 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 ...
1
vote
0answers
541 views

What are the best practices to configure CloudWatch alarms for a Tomcat webapp?

I have a Tomcat webapp deployed on Elastic Beanstalk for which I want to configure CloudWatch alarms, especially for when the web server is down. The Tomcat container uses Google OAuth2 for ...
0
votes
1answer
798 views

Tomcat8 doesn't detect Letsencrypt renewed certificate (but Apache does)

I have an Ubuntu 17.10 Server with Apache 2.4.27 and Tomcat 8.5.21, both serving through HTTPS thanks to a Letsencrypt Certificate. It's been working fine for 3 months and automatic renewal (with ...
0
votes
1answer
515 views

Tomcat thowing NoSuchMethodError for Nio2Endpoint.setSocketOptions after start serving

I have just updated a server where an exception started to happen after the application starts and tomcat starts serving requests. I changed the connection to verify if there was an isue with it as ...