Questions tagged [tomcat]

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies released under the Apache License version 2. The Tomcat project started at Sun Microsystems and was donated by Sun to the Apache Software Foundation in 1999.

Filter by
Sorted by
Tagged with
-1
votes
1answer
78 views

Cannot send emails from tomcat application

I'm having some trouble with our servers, we run in a ubuntu 18.04 as VM from Vmware ESXI 6.5 with a pfSense firewall as another vm, we have multiple tomcat instances running with no problem. In the ...
0
votes
0answers
22 views

ERR_CONNECTION_RESET when running a container in AWS Fargate using Tomcat 9

I'm testing an app in AWS ECS running in Fargate. I can access its home page properly but I´m having some issues while accessing our main app. I wanted to check its logs but I cannot access the ...
-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 ...
-2
votes
0answers
23 views

nginx proxy_pass everything

I have an app running on Tomcat bound to port 80 on 127.0.0.1. I want to put nginx as (internet visible) proxy in front of it. I tried what is typically recommended: location / { ...
0
votes
0answers
47 views

invalid response from upstream server

I am setting up SSL connection between Webserver + Proxy Server and another Server(Linux). (Apache Webserver comes with Tomcat) There is a transparent proxy in use with port forwarding (Iptables) SSL ...
0
votes
0answers
10 views

Permission denied on deploying war application via Azure Deployment Pool agent

I have a web application packaged as war file to be deployed to Apache Tomcat on Linux (Ubuntu 20). The host machine runs an Azure DevOps Deployment Pool agent, and is tagged linux so that it runs in ...
0
votes
3answers
69 views

vCenter 7: Catalina Logs filing up, tomcat-users.xml missing?

We were receiving errors on our vCenter servers that the log disk is getting low on disk space. According to VMWare KBs we checked what is consuming space. We found espiecially a lot of log files ...
0
votes
0answers
61 views

LDAPs Simple Authentication on Tomcat 9

I have a web application running on Tomcat 9 and using LDAPS for user Authentication. When I connect via LDAP (non-secure) the authentication is successful but when I switch to LDAPS (Secure) I get &...
0
votes
1answer
44 views

Apache HTTPS redirect to Tomcat web folder

I have configured my server to use httpd as proxy and Tomcat for deploying and running application. I use Apache httpd as proxy to redirect all request to port 80 and to the directory of tomcat where ...
2
votes
1answer
58 views

Custom error page apache

I'm trying to setup a custom error page (reverse proxy is apache) Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please ...
0
votes
0answers
15 views

Tomcat access log - is request-response time logged?

I have log files which look like this: 12.345.6.78 - - [19/Feb/2021:07:58:03 +0000] "GET /server/service HTTP/1.0" 200 993 host = vsrv1234.xyz source = /localhost_access_log.2021-02-19.txt ...
1
vote
1answer
45 views

Nginx as reverse proxy for Docker-contained Tomcat

Consider the following diagram: I have a Debian droplet from Digital Ocean where I need to deploy N Java applications inside individual Docker containers running a Tomcat instance. Each image has the ...
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 ...
1
vote
0answers
20 views

WAR copied to Tomcat FarmWarDeployer watched dir won't deploy

I am trying to make FarmWarDeployer to work but can't. At logs where watchEnabled="true" I can see: INFO: Cluster deployment is watching [/tmp/war-listen/] for changes. . . . INFO: ...
0
votes
0answers
27 views

EC2 Amazon Linux - Tomcat starts on terminal but not on browser

PUBLIC IP: 35.175.126.174:8080 The startup of Tomcat 9 occurs successfully, I've configured security group to accept HTTP requests from anywhere on port 8080, there are no errors on catalina logs, but ...
0
votes
1answer
53 views

How to do ssl termination on apache tomcat

I want to do SSL termination on apache tomcat. I understand how to configure SSL on tomcat, but a bit confused about the word SSL termination. Situation is this: We have an apache server that load-...
0
votes
0answers
22 views

Chrome is unable to accept a GET query from a Tomcat insecure connection (8080) in an Apache secure connection (443)

I have an application in HTTPS (443 port) using Apache in a machine A and this application requests data from a Tomcat server (HTTP - 8080 port) from a machine B. Tomcat is CORS enabled and all the ...
0
votes
0answers
36 views

How to create debian file to install tomcat and deploy a war file?

I need to install tomcat Version 9.0.35 and deploy some war files and install some related files. Can you suggest how to do this. So, direct dumping of files is not an option.I got one sh file for ...
0
votes
0answers
25 views

Cluster Tomcat network isolation

I'm playing with a Tomcat cluster of 2 nodes (A and B). I have configured the 2 Tomcat server to replicate their sessions with a org.apache.catalina.ha.session.DeltaManager and all is working fine, ...
1
vote
1answer
22 views

Apache mod_jk SSL & appBase

I'm setting up mod_jk for Apache to use with Tomcat and there are two issues I've ran into. SSL I have SSL enabled on Apache and all traffic is going through HTTPS, including the requests forwarded to ...
0
votes
0answers
54 views

How to increase maxConnections on tomcat

We are trying to increase the number of connections on tomcat7. We are using NIO connector. Our setting on server.xml is set to 15000. But whenever we start the server, jmx export reports the value as ...
0
votes
1answer
29 views

Difference between log4j.properties and logging.properties

What are the difference between log4j.properties and logging.properties? Which one should I modify to log the application logs to catalina.2021.01.01? Right now the docker image is logging only tomcat ...
0
votes
0answers
193 views

Why I'm getting “org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer”?

All of sudden from production I'm receiving above error which I'm not sure from where it is coming. So I pulled the deployed code and connected it to live db just to check on my local-host if I do get ...
2
votes
0answers
8 views

TomEE redeploy webapp forcefully

In tomee i have a webapp which is deployed from the context XML file. TomEE\conf\Catalina\localhost\test.xml with contents: <Context docBase="${APP_HOME}"> <Loader loaderClass=&...
0
votes
0answers
62 views

Enabling SSL on Tomcat 9

There are a few questions I have regarding setting up SSL on Tomcat 9 as some of the things I've read have some inconsistencies and I'm also new to PKI. Ultimately, there are two things I'm trying to ...
0
votes
0answers
32 views

Pass System Environment variable to properties file tomcat

How to pass System environment variable to a tomcat properties file? I tried the following but it isn't working: I tried add propertyConfigure for servlet xml file like below: <bean id="...
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 ...
3
votes
3answers
198 views

nginx proxy to Tomcat with SSL

I posted this on stackoverflow by mistake (https://stackoverflow.com/questions/65942820/nginx-proxy-to-tomcat) and I'm putting it here as well in hope of finding some solution. I went through dozens ...
0
votes
1answer
40 views

How to edit Tomcat configuration files on Azure

I have a Tomcat instance running on Azure and I need to edit the server.xml and tomcat-users.xml files manually. However, I am not able to do so and I receive a 409 error saying I'm not allowed to ...
0
votes
2answers
184 views

Unable to complete cmdbuild/openmaint database setup

I'm attempting to install Openmaint on ubuntu 20.04. I'm almost at the final hurdle and I cant solve this. At the openmaint database configuration page, I can succesfully connect to the database but ...
0
votes
2answers
89 views

how to configure nginx reverse proxy for tomcat servers?

Well, I have been given the task of "modernizing" an application of the Pleistocene and I can't make this work. Let me explain: I have a series of tomcat servers, each with the following ...
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
66 views

Nginx high upstream_connect_time

I have a set up on Docker with Nginx being the reverse proxy for Tomcat services. On heavy load (testing) I am getting spikes in response time. It turns out that one instance of Tomcat service without ...
1
vote
1answer
486 views

Upgrading Tomcat 7.0 - 8.5 or 9.0?

I've recently inherited a system running Tomcat 7.0.68 and discovered that Tomcat 7 will reach end of life in March of 2021. I also learned that Tomcat 8.0 appears to have been superseded by both ...
0
votes
0answers
41 views

Tomcat SSL certificate configurations

I finished a Grails 3.3.11 application, I want to put it in production, there are some parts of the application need to be accessed in HTTPS so I bought SSL certificate for my domain name, I searched ...
1
vote
1answer
110 views

Tomcat - pass Environment variable to Data Properties

I'm trying to run tomcat in a container and want to pass DB_HOST as a environment variable. I tried starting the container as docker run -e DB_HOST='dbhost001' -p 8080:8080 image_id. But that doesn't ...
0
votes
0answers
26 views

Tomcat Java - consumes 90% of the memory even when nobody is connected to the app

The tomcat instance is a docker image and it is consuming 90% of the host memory even when nobody is connected to the app. Only one instance of tomcat is running. Is this normal? I've been testing ...
0
votes
0answers
16 views

Can you run another webapp if ROOT.war is symlinked

We have a single webapp that runs on our Tomcat servers, and use a Symlink like this: ROOT.war -> /opt/path/to/my/webapp.war But now I'm wanting to run another webapp just for monitoring this main ...
0
votes
0answers
49 views

how to change the alias name of the local host in tomcat linux server

We have tomcat server installed in Linux and webapps link looks like SXTRP4040:8080 Can we change the above link to www.Insurancehost.com i tried changes in server.xml by adding alias inside host as ...
0
votes
0answers
31 views

403 error after installation of ZeroSSL

I have an application that i run on an intranet server that runs on tomcat and OS being CentOS 7. I recently installed an SSL from ZeroSSl. The url https://rndops.iitg.ac.in/rndops/action.htm throws ...
0
votes
0answers
31 views

mod_jk - redirect from an apache2 server to a tomcat with error ERR_CONNECTION_REFUSED

prepare for a big text hehe, but i really need this help, i have been over 3 days trying to find a solution for my case so, I am developing a system in java, the server is tomcat, I packed the java ...
0
votes
0answers
17 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
34 views

Tomcat file permissions

I have existing version of tomcat7 which installed with default apt-get. which is by default running on its own user "tomcat7" On ubuntu 16. Now I want tomcat9 as well running on same server ...
0
votes
0answers
25 views

Tomcat context.default.xml deleted automatically

I try to deploy an application with Tomcat 8. Context.default.xml was created in this path /conf/Catalina/localhost and now the file is deleted. I saw as solutions in internet was to configure ...
0
votes
1answer
45 views

Demand user's x509 certificate from java web application only when required

My web application authenticates the user based on user's x509 certificate. For now, I've configured tomcat for mutual authentication by setting "clientAuth=want". However, as this ...
0
votes
0answers
696 views

NGINX Ingress giving 503 Service Temporarily Unavailable. nginx/1.19.1 error in frontend

I am trying to install the Cyclos Mobile app on GCP Everything setup perfectly but when I am trying to access the setup on browser it always showing either default backend - 404 or 503 Service ...
0
votes
0answers
61 views

IIS Forward Request to localhost (apache tomcat)

I have a site running say, public IP address 12.12.12.12 The site is deployed on IIS server. The site calls the api say 12.12.12.12/api/blah/blah What I want to do is when 12.12.12.12/api hits, it ...
0
votes
0answers
25 views

Apache Tomcat rewriting url matching specific pattern

I've got a question: An application and the specific backend gets packed within the same maven module with the context /test/. The REST-Apis for the backend are located at /test/api/*, but all other ...
1
vote
1answer
1k views

Why does a restart of my Azure WebApps instance caused downtime of a few hours?

My Azure WebApps instance (running on Tomcat, Linux) has been working well for 9 months. Recently there was a couple of hours downtime, which according to a Microsoft Support Engineer was caused by ...
0
votes
0answers
388 views

Why package managed Tomcat 9 can't find APR native library in Ubuntu 18.04?

I already installed the packages libtcnative-1 and libapr1. Tomcat, as always says: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found ...

1
2 3 4 5
44