Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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

How to set up DNS on google domains to host tomcat websites on the internet

Excpectations / Target We have a domain as (say) example.com bought on Google Domains and a PC running with windows 10 Pro We intend to make this PC a server for hosting 2 of our web-apps app1 and ...
user avatar
0 votes
1 answer
9 views

redundant load balancer for Tomcat

I have three Tomcat webservers in a VMWare cluster. In the first place we thought of using Apache as a load balancer in physical server but this would be a SPOF. I have searched around and I found ...
user avatar
0 votes
0 answers
14 views

How to configure nginx proxy on tomcat?

There is a raised nginx in docker that looks at the Internet with a public address. There is a site that is running on tomcat in docker on another machine with a private address. I need to configure ...
user avatar
0 votes
1 answer
15 views

How to redirect port 8080 with apache?

I'm running a tomcat webserver on port 8080 behind a apache2, and want to redirect some ports. For testing, I'm trying to redirect to an invalid location, as follows: <VirtualHost *:80> ...
user avatar
0 votes
0 answers
9 views

Increase timeout to avoid 504 while running Java EE application on Tomcat on PopOS

I have the following issue: I am new to this area, so kindly forgive for some of my terminology. I am running my Java EE application via Eclipse on my PopOS running on VMWare Fusion on my Mac. The ...
user avatar
  • 103
0 votes
1 answer
16 views

Tomcat connector for Internet Information Server not working

I am trying to configure a Internet Information Server to work with Tomcat and after following the steps in the website it's does not work. What is worst, no way to document or to realize where the ...
user avatar
  • 103
0 votes
1 answer
19 views

Inventory of all vhosts across multiple webservers

I was tasked to create an inventory of all websites/webapps hosted on our infrastructure (couple thousand sites hosted on around 120 Linux VMs). Most of the sites are served by Apache (httpd 2.4) but ...
user avatar
0 votes
0 answers
22 views

Tomcat starts but exits immidiately

I would like to setup a tomcat server. Everytime i want to check the server status i get an error message [Unit] Description=Tomcat servlet container After=network.target [Service] Type=forking User=...
user avatar
0 votes
0 answers
7 views

Logs are not getting created on filestore using cloud run when accidently deleted

we are using google cloud run and mounted our code logs to a filestore using NFS , my problem is if the tomcat code log is deleted accidently the logs from filestore it is not generated again ...
user avatar
0 votes
0 answers
112 views

How can I resolve "HTTP Error 500.19 error code 0x8007000d - Internal Server Error"?

I'm currently trying to redirect errors on my Tomcat project. Currently I'm using this method of redirecting the errors by using httpsError in the web.config file. Here is the code and error that I ...
user avatar
  • 1
0 votes
0 answers
86 views

How to disable DEBUG logs on catalina.out (Tomcat 9)?

I'm getting a lot of DEBUG related logs on catalina.out of tomcat 9. Is there any way to eliminate those DEBUG logs? Changing the log level to WARNING doesn't work for me. Thanks in advance.
user avatar
0 votes
1 answer
37 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
0 votes
1 answer
54 views

How to disable HTTP 1.0 protocol in Tomcat?

I've seen multiple resources explaining how to disable HTTP 1.0 on Apache, Nginx, IIS etc, but none for Tomcat. Could anyone advice how I can disable HTTP 1.0 protocol in Tomcat 9?
user avatar
  • 125
0 votes
1 answer
29 views

I can't edit the url to remove the name of the app

I am deploying an angular 13 application in a tomcat 9 environment. This is the domain I am using: http://streamsspain.com/ And this is the result: http://streamsspain.com/streamsspain_web/ The ...
user avatar
0 votes
0 answers
66 views

HTTP 403 (Forbidden) error in Tomcat 10

I recently created an API using Spring Boot which I deployed to Tomcat. For now, I have a single endpoint that I am trying to hit using Postman. I have modified the server's web.xml and tomcat-users....
user avatar
  • 101
0 votes
0 answers
21 views

What is the difference between using StaticMembershipInterceptor and StaticMembershipService

I've been looking at using Tomcat session replication, and I've found I need to go with StaticMembership over the Mcast. However it seems like there are two ways to setup the StaticMembership, via ...
user avatar
0 votes
1 answer
131 views

Testing Spring Boot API results in HTTP 405 (Method not Allowed) on PUT

I created an API which I deployed to Tomcat Server. During development, I would start the application from Eclipse and test the end point using Postman. From Eclipse, the application runs fine. I ...
user avatar
  • 101
0 votes
1 answer
73 views

Nginx is failing to load css, js and png of tomcat server

I'm trying to deploy the tomcat & Nginx server on a single AWS EC2 instance. I have 3 instances & on each instance, I wanted to deploy Nginx & Tomcat server. Below is my configuration file ...
user avatar
  • 1
0 votes
1 answer
35 views

Tomcat application (ERDDAP server) behind a proxy redirection issues

I have an ERDDAP instance running on a Tomcat server behind a NGINX reverse proxy. The environment is completely on Kubernetes, the RP is an NGINX ingress-controller that forwards the request on port ...
user avatar
0 votes
0 answers
79 views

Issue while setuping Guacamole with Database connection

I installed a Guacamole 1.4.0 instance on a RHEL 8.5 server. Now, I need to setup the LDAP extensions, but for that I first need to setup the database connection and it's at this moment that I have an ...
user avatar
1 vote
1 answer
60 views

Why does our Tomcat Java application suddenly open hundreds of connections to our database?

We have a Tomcat application running on Elastic Beanstalk and our MySQL database is hosted on AWS RDS (2 or 3 t3.medium instances). Ever since we upgraded from MySQL 5 to MySQL 8 (currently 8.0.23), ...
user avatar
0 votes
1 answer
72 views

restarting tomcat service monit

I have a Tomcat service running that fail sometimes - I did not find the reason yet. In the Catalina log I see the following: Feb 03, 2022 10:54:39 AM org.apache.coyote.AbstractProtocol pause INFO: ...
user avatar
  • 51
0 votes
1 answer
44 views

Does ssl certificate need to be installed with IP of tomcat

I have ssl certificate installed on an AWS load balancer(app1.company.com) and one instance with Tomcat resides behind the LB. If I open https://app1.company.com:8443/ I can see the connection is ...
user avatar
  • 23
0 votes
0 answers
154 views

Should the maximum number of request threads be similar to the maximum number of database connections?

I have a spring boot application with an embedded tomcat server. The max-threads setting of tomcat is currently set to 250. Next to that the spring boot application also uses a MySql database as the ...
user avatar
  • 107
0 votes
1 answer
38 views

OpenCms: Kerberos SSO authentication with httpd+Tomcat

I have a standalone httpd+Tomcat 8.5.65 installation on OpenJDK 11 with OpenCms 11.0.2 for my client's internal website. They have a LDAP network and they're requesting the automated logon using ...
user avatar
0 votes
0 answers
35 views

SFTP on ubuntu 20.04

I'm trying to set a sftp on my ubuntu 20.04, I have 2 users dev & prod and I want them to connect to folder /opt/tomcat/webapps/dev_project for dev & /opt/tomcat/webapps/prod_project for prod. ...
user avatar
0 votes
0 answers
146 views

Migrating from Weblogic to Tomcat

I now have a JAVA-EE application running with weblogic with several modules running locally 100%, however it is very slow with weblogic, mainly at republish times in some modules. I would like to know ...
user avatar
0 votes
1 answer
48 views

Can't access GCP container ports externally

I have set up a containerized instance on Compute Engine and spun up a docker instance of tomcat. I have a docker-compose.yml file that maps 8080:8080 to the container for tomcat. I am also spinning ...
user avatar
0 votes
1 answer
99 views

Remove Apache tomcat version from the app at the container level

I am trying to send a GET request to my app as shown: Request GET /c%3a%5cboot.ini HTTP/1.1 Host: myapp.io Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 ...
user avatar
1 vote
0 answers
16 views

Getting the connection pool properties

I have set up a connection pool in tomcat's server.xml and context.xml. I am using the below code to establish a connection. DataSource ds = (DataSource) context.lookup("jdbc/TestDB"); ds....
user avatar
  • 73
1 vote
0 answers
33 views

Tomcat 9 on RHEL 7: Approximate 15 minute hang on startup

Tomcat Version: 9.0.54 RHEL 7 We have several near identical application servers running Tomcat 9, and all but one are quick to startup. The last server, however, takes significantly longer for Tomcat ...
user avatar
0 votes
2 answers
64 views

Tomcat with HTTPD front end. Manager app not accessible

I have an HTTPD server which does the LDAP Authentication in front of Tomcat server. My application resides in the Tomcat. I am proxying the authenticated requests via AJP connector of tomcat to my ...
user avatar
  • 73
0 votes
1 answer
131 views

List of services affected by the Apache Log4jshell Vulnerability

Does there yet exist a list of software that is potentially affected by the Apache Log4jshell vulnerability (CVE-2021-44228) that was announced last Friday? As someone managing a number of servers ...
user avatar
0 votes
0 answers
56 views

ERR_SSL_VERSION_OR_CIPHER_MISMATCH with signed certificate in Tomcat 8.5

I have a tomcat server for which I needed a signed certificate. I generated a key using openssl req -new -newkey rsa:2048 -nodes -out sample_bfc_org.csr -keyout sample_bfc_org.key -subj "/C=BD/ST=...
user avatar
0 votes
1 answer
791 views

How do I fix net::ERR_SSL_PROTOCOL_ERROR error when I put nginx in front of Tomcat?

How do I fix net::ERR_SSL_PROTOCOL_ERROR error when I put nginx in front of Tomcat? #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/...
user avatar
0 votes
0 answers
15 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
62 views

High I/O wait in apache tomcat server

Facing high I/O wait in apache tomcat server when the load increases. Suspecting disk I/O is less when tomcat is running however. disk IO seems drops drastically when tomcat is running along with the ...
user avatar
0 votes
1 answer
115 views

Can't run command under /bin/false user

Centos 8. There is snowuser: [snowuser@snowcannon-01 ~]$ cat /etc/passwd | grep snowuser snowuser:x:1002:1002::/home/snowuser:/bin/bash [snowuser@snowcannon-01 ~]$ groups snowuser wheel There ...
user avatar
0 votes
0 answers
21 views

Tomcat java consuming more Memory

enter image description herei am using aws in my tomcat application java eats more memory and more cpu utilization. my server configuration: 8 vcpu amd 16gb Memory i increased java heap size up to ...
user avatar
  • 1
0 votes
0 answers
51 views

Application log file for ELB Tomcat environments changed

Application logs used to be saved in catalina.out. Recently, I believe after updating to Amazon Linux 2, catalina.out only has Tomcat specific log entries, while my app logs are in /var/log/messages ...
user avatar
0 votes
0 answers
27 views

Load balancer with Nginx [duplicate]

When implementing an application with a horizontal cluster load balancing scheme. Should the database be hosted on a single server or should there be a database on each server?
user avatar
0 votes
0 answers
131 views

tomcat service getting logs from catalina.out, localhost.log and system.prints into journalctl

I have 2 servers with tomcat installed, one was installed by someone else. Something i noticed about the old one is when I run journalctl -u tomcat.. It shows most of the logs including when an ...
user avatar
0 votes
0 answers
114 views

Tomcat shutting down unexpectedly

We are using tomcat and deploying in aws-ec2 . The server is stopping without giving any proper logs. The only things I have is below mentioned. I tried increasing the swap memory, which made it work ...
user avatar
1 vote
1 answer
492 views

Guacamole only listening on IPv6 localhost

I have recently installed Apache Guacamole on Ubuntu 20.04 and also tested with the same result on 21.10. I have it all working but have had to do some workarounds because of this issue. Here is the ...
user avatar
0 votes
1 answer
45 views

Multiple application on single PC [closed]

I have installed Tomcat server on my server PC with IP 127.0.0.1 One application is running on the server. Let address of the application is: 127.0.0.1:8080/first-project Now if I want to run another ...
user avatar
  • 101
0 votes
0 answers
134 views

Implications of CPU limit on a docker run Java (tomcat) application?

I have had an ongoing problem running a Tomcat java web application in a docker container (which I refer to as a 'task' in this post) hosted in an ECS (elastic container service) on AWS. We notice ...
user avatar
  • 11
0 votes
0 answers
34 views

Site working without SSL but not with SSL it will showing me Forbidden You don't have permission to access this resource

I have a live domain which is working perfectly without SSL but on SSL it will showing me following page Error Image: https://i.stack.imgur.com/9GXjO.png For this made changes in following files: 000-...
user avatar
0 votes
1 answer
216 views

How can I test an ajp worker (tomcat10, apache 2.4.6)?

I have a simple server setup: Apache 2.4.6 JK Worker for talking with Tomcat, where a REST service is living Tomcat 10 Virtual Host In my virtual host file I have this configuration (snippet in <...
user avatar
  • 123
1 vote
0 answers
60 views

SSL offloading with IIS and Ajp (isapi) Tomcat

I have java web application running on tomcat on a Windows 2019 server. It runs fine on port 8180. I have a IIS (10.0) running on the same server with isapi_redirector 1.2.48 configured. Now I can ...
user avatar
  • 403
0 votes
2 answers
293 views

Can not access Tomcat servlet using httpd ajp proxy in Docker

Docker, httpd and tomcat is new to me. What I want to do: Access tomcat servlet through httpd ajp reverse proxy. I am making two containers under same bridge network, one runs httpd, another tomcat. ...
user avatar

1
2 3 4 5
45