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
0 answers
27 views

How to specify the URL to proxy in Apache2 httpd.conf

I have a Spring application deployed in Tomcat that I want to proxy its URLs through an Apache2 web server, for now I do it like follows: <VirtualHost *:8080> ProxyPass /app/login http://...
SSSOF's user avatar
  • 1
-1 votes
0 answers
18 views

tomcat app using virtual host not accessible outside local network (Windows server 19)

I use tomcat v8.5 to deploy my application using a virtual host. In server.xml: <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" ...
SSSOF's user avatar
  • 1
-2 votes
1 answer
53 views

Tomcat Service failed

Hello I am trying to run the status of my Apache tomcat and I keep having it failed. this is what I am getting tomcat.service - Tomcat 10 configuration file Loaded: loaded (/etc/systemd/system/...
Rickson Costa's user avatar
0 votes
0 answers
32 views

How to obtain a thread dump from Tomcat running as a Windows service

Installing Tomcat as a Windows service comes with a handy system tray tool to control it which provides this menu: However, everything I've been able to find suggests the "Thread Dump" ...
David North's user avatar
2 votes
0 answers
49 views

Unable to connect to AWS EC2 instance public IPv4 using http tcp/80

Referring to an instructional book, I am setting up an EC2 instance on AWS using an IAM role. However, when I try to access the URL using the EC2 instance's public IP address, I am unable to establish ...
Scatt's user avatar
  • 21
0 votes
0 answers
112 views

Run GeoServer behind HTTPS using IIS

I have GeoServer 2.23.2 running under Tomcat 9.0.78 on Windows Server 2022. http://localhost:8080/geoserver/ and https://localhost:8443/geoserver/ URL's are working properly. But I couldn't find the ...
SessionBuddy's user avatar
0 votes
0 answers
50 views

Java Application (Tomcat) unable to locate license file after Windows Server 2016 in-place upgrade

Description Hello ServerFault community, We recently performed an in-place upgrade from Windows Server 2012 R2 to Windows Server 2016, on which Apache Tomcat 8.5 is running. After the upgrade, we ...
Robert Fridzema's user avatar
0 votes
1 answer
113 views

Best Setup with AWS ALB and Tomcat

Our company currently operates a monolithic application that comprises multiple instances of Tomcat running on two servers. These instances are load balanced using Apache, where each instance listens ...
Leonardo Trucco's user avatar
0 votes
0 answers
416 views

Tomcat 11 error compiled by a more recent version of the Java Runtime (class file version 61.0)

I have installed Tomcat 11.0.0-M6 and I get this error message every time I want to start it for the first time: Error: LinkageError occurred while loading main class org.apache.catalina.startup....
JBD's user avatar
  • 101
0 votes
0 answers
98 views

Tomcat redirects from https to http even though it shouldn't

I had to change server cert for Tomcat and that's all what I've done. Now all of a sudden it redirects browsers from 443 to 80: % wget https://example.com/example --2023-06-04 19:56:35-- https://...
LetMeSOThat4U's user avatar
0 votes
0 answers
63 views

Kubernetes tomcat cluster: skipping state transfer. No members active in cluster group

k8s StatefulSet: apiVersion: v1 kind: Service metadata: name: my-web labels: app: my-web spec: ports: - name: http port: 8080 targetPort: 8080 selector: app: my-web ...
eastwater's user avatar
  • 111
0 votes
0 answers
59 views

Tomcat cluster in Kubernetes: fetchMembers Failed to open stream

Tomcat cluster in K8s: Following https://cwiki.apache.org/confluence/display/tomcat/ClusteringCloud added the following in tomcat server.xml: <Cluster className="org.apache.catalina.ha.tcp....
eastwater's user avatar
  • 111
1 vote
2 answers
174 views

Apache httpd cannot connect to Tomcat over Unix Domain Socket - SELinux denied

I have an Apache httpd v2.4.57 configured on Rocky9 to connect to Tomcat9 / Java17 over a unix domain socket. SELinux kicks in and says denied, as follows: type=AVC msg=audit(1685376249.480:134): avc: ...
Graham Leggett's user avatar
0 votes
1 answer
49 views

Tomcat 7.0 Certificate Update

We have a windows server running Tomcat 7.0 which the SSL certificate has expired. We have a new certificate, but are unsure of how to update it to the new one. Can anyone help?
J Kuder's user avatar
0 votes
1 answer
173 views

Startup.sh file does not exist after installing tomcat9 with YUM

I installed tomcat9 with the command below sudo su yum install tomcat9 But in the tomcat9 directory at /usr/share/tomcat9/bin, the startup.sh file is not found. There are only 3 files below: $ls /usr/...
quangkid's user avatar
  • 103
0 votes
0 answers
625 views

Tomcat 404 error after calling the web services

For the first time, I want to deploy a java web application in tomcat9 (On the Linux OS). I have successfully deployed it and tomcat is running. Also, on the browser, the index.jsp page is shown ...
Mona Kouhi's user avatar
0 votes
0 answers
34 views

Hosting a Java website using tomcat on a Google Domain

First off I would like to apologize as I am a noob to this. I have have been trying to figure out how to get a website to be able to be accessed publicly with Google Domain. I made the website with ...
sal42's user avatar
  • 1
0 votes
1 answer
210 views

SELinux policys keeping Tomcat from starting

On a newly built Oracle Linux 8 server i added a drive and file system, then put put Apache Tomcat on that file system via the tarball. Now when starting Tomcat via a services file, I get an error ...
Eric W's user avatar
  • 31
0 votes
0 answers
279 views

Apache Tomcat Accept HTTP and HTTPS on same port and always redirect to HTTPS

Hi I have the following connector in my apache tomcat server in the file server.xml: <Connector port="8443" protocol="HTTP/1.1" connectionTimeout="20000&...
Viktor Carlson's user avatar
0 votes
0 answers
21 views

apache tomcat server local field to start

apache tomcat server local field to start on the old version 2018 and newer version 2022 I changed or mostly blocked the active pid ports in command windows so tom cat can run efficiently but after ...
MOHAMED LAAGUILI's user avatar
0 votes
0 answers
87 views

How to configure IIS and the client in two different virtual machines

My question is about the connection between IIS (ISAPI Filter) and an application. I have to Configure IIS 7.5 and Tomcat Connector ISAPI Filter on Windows Server 2019 I want to configure IIS in a ...
ABhey's user avatar
  • 1
0 votes
0 answers
60 views

Server sends "internal error" response faster after Tomcat upgrade

I recently upgraded our Tomcat server from 7.0.85 to 9.0.70. I am using Apache 2.4. My Java application runs in a cluster, and it is expected that if the master node fails during a command, the ...
user21241556's user avatar
0 votes
0 answers
140 views

Configure unique domains for several tomcat webapps

I follow the instructions from here and this to my server.xml file for each domain/webapp: <Host name="domain1.com" autoDeploy="true" appBase="webapps_domain1" ...
Kleber Mota's user avatar
1 vote
0 answers
153 views

Get the client ip adress from servlet when tomcat is accessed via nginx-load balancer

I am using nginx as load balancer with a few tomcat servers as backends. Web-clients are java-scripts which from the website post a request to the Load-balancer. So the path is following: client-xhttp-...
Cenzo's user avatar
  • 11
0 votes
0 answers
352 views

'combination of host and port requires TLS' when running Tomcat application

0 I had an Apache configured to run on HTTPS. Also a Tomcat application running without the 8080 port and in HTTPS. Everything perfect since I had to install Drupal 10 (using composer) that needed a ...
user1249791's user avatar
1 vote
0 answers
215 views

Configuring Tomcat for customized protocol handler

This is on Tomcat 9.0.71. I need to use a protocol handler of com.ibm.crypto.provider. I set JAVA_OPTS with -Djava.protocol.handler.pkgs=com.ibm.crypto.provider but this is not sufficient. The problem ...
Dave Breeze's user avatar
0 votes
0 answers
31 views

proxypass in apache to different URL path

Im new to apache/tomcat, im using httpd as proxy to my tomcat application and im trying to redirect my URL path from /xyz to /abc and Im using a http proxy to do so, can you please help with the ...
sidhartha vadla's user avatar
0 votes
0 answers
24 views

Tomcat MQ Topic: Duplicate messages

We are facing issues with duplicates on our tomcat setup. There are two tomcat nodes having each subscriber. Below tomcat configuration on both tomcat nodes Topic Connection HOST="gbtstssis1....
user17745726's user avatar
0 votes
0 answers
11 views

Modifying/Closing Connector 9060 port from server.xml without whole appserver restart

I have an app which listens on 9060 port. What i want to acheive is, if i remove the 9060 port from server.xml and then stop/terminate my app, 9060 port should be completely closed i.e netstat -tanp | ...
Sash_KP's user avatar
  • 101
0 votes
0 answers
126 views

Apache ProxyPass "Internal Server Error"

I'm setting up a Tomcat based application and would also like to remove the port number from the URL. I have successfully gotten Tomcat and the application installed and accessible directly via the ...
Chris Woelkers's user avatar
0 votes
0 answers
137 views

open-source ngnix reverse proxy for tomcat servers session persistence with JSESSIONID?

I am tasked with converting (or attempting to convert) some legacy Apache virtual host configuration to Nginx, in Google Cloud (GCP). It is thought that Nginx might solve some performance issues. The ...
Robert Campbell's user avatar
1 vote
1 answer
61 views

Jaguards database configured incorrectly

After following the steps given in the README of the open source tool provided by Jaguards, I always get the "Database configured incorrectly" warning icon, and can't manage to login with ...
Marc's user avatar
  • 21
0 votes
1 answer
656 views

Configuring Nginx and Tomcat to Access HTTPS content

I'm using nginx as a load balancer and reverse proxy for Java spring boot + Angular application on tomcat. I've total 3 servers, 1 has nginx and other two has application hosted on it. I've configured ...
Virendra's user avatar
  • 101
0 votes
0 answers
1k views

How to set Access-Control-Allow-Origin for multiple origin domains with Tomcat?

An answer on SO to the same nice - and following guidelines - question but for Apache, how to set Access-Control-Allow-Origin entry header for multiple origin domains deals with .htaccess, checking ...
Amessihel's user avatar
  • 113
0 votes
0 answers
139 views

How configure from nginx proxy to a tomcat docker container?

I state I'm not an expert I'm learning; said this..... i can't configure nginx on host to pass requests in tomcat container; So I installed: tomcat in the container accessible (example ip) from ...
Erica9595's user avatar
0 votes
0 answers
44 views

Tomcat blocks file when deleted from Java

I am using a J2EE app deployed on Tomcat8 to delete a file on Windows (Desktop location). From a code side, the file is deleted and the returned code is OK. But when i check the file in the folder ...
SSSOF's user avatar
  • 1
0 votes
0 answers
771 views

java.lang.RuntimeException - Internal Server error 500 in Tomcat log

we want to use Sophos WAF (Web Application Firewall) as a reverse proxy to make a sap site accessible from an external. The problem is the following: External access with NAT works however external ...
SapOverflow's user avatar
1 vote
1 answer
6k views

how to add tomcat to tomcat.service for systemctl startup

I want to be able to start up my tomcat installation using systemctl start tomcat. Right now I am using the startup.sh script to start the Tomcat server. How do I get everything working via systemctl?
Hassam Dauhoo's user avatar
0 votes
1 answer
512 views

500 error for HTTP server request timeout?

Normally when a HTTP request to the server gets timed out, server will return "408 Request Timeout" error. Is it possible for server to return the "500 Internal Server" error ...
user2526586's user avatar
0 votes
0 answers
257 views

Migration from WAS to Tomcat 9

Currently we are in process of migrating from WAS to Tomcat 9, but stuck with MQ issue. We are trying to connect to MQ through client mode. But somehow connection are not going through to MQ. In ...
user17745726's user avatar
1 vote
0 answers
340 views

IIS 10 isapi_redirect.dll causing 500 errors until application pool is recycled

Windows 2016 server, IIS 10 and Adobe ColdFusion 2018 using Tomcat. The server has about 8 sites on it and one site is getting intermittent 500 errors. All other sites remain up and responsive. ...
Steve's user avatar
  • 139
1 vote
1 answer
2k views

Error with database authentication in Apache Guacamole

I'm setup a new Ubuntu Server 22.04 VM and am following the documentation here: https://guacamole.apache.org/doc/gug/jdbc-auth.html Guacamole 1.4 installs fine along with Tomcat9 and Nginx proxy; I ...
S3rvant's user avatar
  • 21
0 votes
1 answer
532 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 ...
Ameya Kalyankar's user avatar
0 votes
1 answer
126 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 ...
miguelgc's user avatar
0 votes
1 answer
4k 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> ...
membersound's user avatar
0 votes
1 answer
748 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 ...
Raul Luna's user avatar
  • 113
0 votes
1 answer
65 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 ...
Viesturs Eihentals's user avatar
0 votes
0 answers
189 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=...
McRadio's user avatar
0 votes
0 answers
3k 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 ...
Jed's user avatar
  • 1
0 votes
1 answer
697 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
2 3 4 5
45