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
vote
0answers
16 views

Unable to deploy Activiti 6 on Tomcat 9

I am trying to deploy the Activiti 6.0 WAR on Tomcat 9 using the command line. I have copied the WAR file in the webapps directory when I restart Tomcat 9 it extracts the archive but the app is not ...
0
votes
0answers
14 views

Spring Boot REST App (APACHE Tomcat) consuming Jasper Report Server rest-api (APACHE Tomcat)

So, I created this question on Stack Overflow, with no sucess :( but since this is an issue of 2 independent servers interacting, here goes; I have a Spring Boot REST Application in which I am trying ...
0
votes
0answers
28 views

FreeIPA on RPi3 Kerberos5 timeout

I pulled a magic trick from a hat. I put Kerberos 5 using FreeIPA on a Raspberry Pi 3 B. It's an inexpensive box that does one thing only, issuing tickets. I modified the 60 second timeout to 2000 ...
0
votes
1answer
22 views

Apache Frontend to tomcat:8443

I've been trying to do this for a few days to no luck. So basically i want my apache proxy to redirect the user to a tomcat on :8443. If i go to domain.com:8443 it displays the correct page but if i ...
0
votes
0answers
100 views

Change Tomcat's catalina log file name

I'd like to change Tomcat's (8.5) catalina log file name format for the current day. I want the current log file for today to be with no date in the name and be only catalina.log because I want to ...
0
votes
0answers
20 views

Tomcat 7 running out of Heap Space

let me first describe what we do: Our Tomcat hosts aprox. 2300 Jsp Files. These files are generate every night (even if they do not change) from a Content Management Server and are copied the tomcat ...
0
votes
2answers
37 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 ...
0
votes
0answers
18 views

Valid directory for tomcat

What is the valid tomcat directory in Windows? I tried to configure apache-maven in Idea in C:\Program Files But receive: "The selected directory is not a valid tomcat home"
0
votes
1answer
25 views

how to auto redirect from 8080 port to 8443

I am using Ubuntu 14.04 and apache-tomcat version 6. I changed all necessary things to redirect the port from 8080 to 8443 and it's working fine, but the thing is both urls are working. I would like ...
0
votes
0answers
12 views

Monitoring tomcat logs (catalina.out) with Elastic stack and viewing in Kibana?

I've setup and installed Kibana and elastic search on my redhat vm. I then followed the fairly simple instructions to install filebeat with the apache module to gather the information on the apache ...
1
vote
0answers
26 views

Updated web-server and now website providing 503

To start with I'm not familiar with web-page hosting Apache/tomcat. I recently updated a private web-server in what may have been the first time in a long time using yum, and now the website is not ...
0
votes
1answer
29 views

What is the Apache Tomcat equivalent of virtualhost of Apache httpd?

In Apache httpd, if I want to link a web application with a domain name I create a virtualhost. In Apache Tomcat, if I want to link a web application, is there a equivalent method?
1
vote
0answers
26 views

Tomcat 8 SSL certificate - newbie

I need to configure SSL\TLS (https) on Tomcat 8. I've done this previously where I've: Created a keystore Generated a CSR Sent the CSR off and received a .p7b back Imported into the keystore ...
1
vote
1answer
34 views

Bind domain name with an IP address with port [closed]

I have a web application which runs locally in out network (hosted in Windows Server 2019 and deployed in Tomcat server ) and it is accessible from http://192.168.19.29:8080/myapp/. I configured ...
0
votes
1answer
38 views

Tomcat9 keep running under user tomcat9 even after change in /etc/default/tomcat9 file

I want run tomcat9 with a user different from the default, and searching the web, I found out that I can configure this in the file /etc/default/tomcat. In this file, I change the lines with TOMCAT9-...
0
votes
2answers
39 views

How to write a complex filter in tomcat web.xml to accept partially a URL?

I am new to tomcat and I need to filter the URLs on a server to accept all clients for some URLs and accept only a specific IP for other URLs. In details, I want to accept ALL clients for for this ...
0
votes
0answers
67 views

Tomcat does not shut down correctly with init.d script on system-shutdown - restart prevented

I want to start Apache Tomcat 7 on my Redhat 7 server (RHEL7) automatically at system startup. In order to do that, I did the following steps: creation of the following init.d script and make it ...
0
votes
0answers
46 views

6 tomcat installation on same server [micro services project]

As part of a micro services project we are planning to install six tomcats on a single server. This is the first time installing these many tomcats or implementing micro services, so looking for ...
0
votes
0answers
28 views

Is IPVS/keepalived as sole load-balancer with persistence a viable alternative to HAProxy sticky sessions?

for a tomcat application I need a simple and resource-effective load-balancing solution. While mod_proxy/mod_jk/HAProxy seem to be among the standard solutions for tomcat, I have discovered that IPVS ...
0
votes
1answer
117 views

Remove tomcat ROOT directory

Is it possible to remove the tomcat ROOT directory? We have several applications running on a tomcat instance. I was asked to clean the webapps directory up and remove any unused folders. I removed ...
0
votes
0answers
39 views

Out of memory in Linux server killing my tomcat server

From last night I am getting below unexpected behaviour. Out of memory: Kill process 1740 (java) score 128 or sacrifice child Apr 8 19:14:20 ubuntu-s-4vcpu-8gb-sgp1-01 kernel: [17644.393549] Out of ...
0
votes
0answers
18 views

Tomcat9 http NIO connector keeps lots of stale connections open

I use tomcat 9 to serve lots of clients through HTTP NIO connector on port 8080. Here is my configuration in server.xml : <Connector port="8080" protocol="HTTP/1.1" redirectPort="8443" ...
0
votes
0answers
65 views

Tomcat 9 not starting on Debian 10

I installed Tomcat 9 using APT on Debian 10, it was correctly installed but unfortunately it is not starting because of this error: root@wiki:/ (16:41:51)# systemctl start tomcat9 root@wiki:/ (16:41:...
0
votes
0answers
18 views

Tomcat9 performance issue while writing the response payload to network

We have a high TPS web application and we have upgraded to Tomcat9 from Tomcat7 recently. We have observed increased latency in few of our apis which return more response payload. These affected apis ...
0
votes
2answers
101 views

Is authentication mandatory when setting up a reverse proxy?

I have never deployed a reverse proxy before and i was wondering if it is mandatory from a security perspective, to ensure only authenticated requests reach my web application server past the DMZ? ...
0
votes
0answers
48 views

Tomcat web app slow when using SSL

We have a JavaEE application at my work place that is running on Tomcat 9. The application is running fine on the server itself. But when any client try to open the application from his PC, the ...
0
votes
1answer
56 views

What killed my tomcat service and how can I restart it automatically?

tomcat 9 with ubuntu 18.04. tomcat service status: ● tomcat.service - Tomcat 9 servlet container Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; vendor preset: enabled) Active: ...
0
votes
1answer
14 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
1answer
32 views

Can't change Tomcat 9 JDK when running as a Windows service

My Windows 10 already have JAVA_HOME set as environment variable pointing to JDK8. But I want to run this Tomcat 9 with OpenJDK 12. I download Tomcat 9 64-bit zip. When I run it manually via startup....
1
vote
0answers
140 views

How to set Tomcat permissions on Ubuntu 18.04?

I installed Tomcat on my Ubuntu 18.04. sudo systemctl status tomcat ● tomcat.service - Tomcat 9 servlet container Loaded: loaded (/etc/systemd/system/tomcat.service; disabled; vendor preset: ...
1
vote
1answer
78 views

Configure tomcat on windows, where is the configuration stored

I have made some changes in the GUI "Configure tomcat" on windows but I cannot find where this has been written. Surely not to bin\catalina.bat and based on the change date-time I cannot find a single ...
0
votes
0answers
26 views

Keberos connection through Apache HTTP Server (AJP protocol with Tomcat) certificate problems

Disclaimer : I have limited knowledge of the application I'm deploying. I have a Spring application that was installed on a Tomcat Server (so accessed via address:port). It uses Spnego for the ...
0
votes
0answers
31 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
50 views

Nginx und Tomcat For Spring and Angular App

I have Spring boot and Angular app in Tomcat Container deployed on Server. It works totally fine on localhost. Now i am trying to map my domain with the application. when i call my domain then api ...
0
votes
0answers
79 views

HTTP 403 – Forbidden - Tomcat - Debian9 - Flowable

I'm facing an issue that's breaking my head, I already had a proof of concept of this setup and now it's not working OLE! So, I have a small script that kindof setups the server that looks like this. ...
0
votes
1answer
42 views

Catalina logs to stdout

Logging Properties handlers = 1catalina.org.apache.juli.FileHandler, \ 2localhost.org.apache.juli.FileHandler, \ 3manager.org.apache.juli.FileHandler, \ 4admin.org....
-1
votes
2answers
52 views

How to make Tomcat Webapp not only accessible on port 8080 but through the whole IP

I'm currently trying to set up my first V-Server (CentOS 7) with Tomcat to run a Web-App. Everything works fine now, but I am facing one last problem that stops me from releasing it: I can only ...
0
votes
2answers
113 views

FreeIPA Installation Failing During CA Restart

I'm trying to set up a simple vagrant box for testing with FreeIPA. I'm using the CentOS 7 image, and installing minimal extra things to the box, and using a very simple FreeIPA definition to start ...
0
votes
0answers
308 views

Tomcat authentification failed - 401 Unauthorized

I have an error when i trying to access to Tomcat managment console (Apache Tomcat/8.0.50). WARNING [http-apr-8080-exec-7] org.apache.catalina.realm.LockOutRealm.filterLockedAccounts An attempt ...
0
votes
1answer
71 views

Apache Tomcat http dies, stops taking requests

I have been dealing with an aggressive bot crawler/attack for the last week. The bot is distributed with random ips, and agents string, so difficult to block, but I have another thread for that. This ...
0
votes
1answer
275 views

Deleting Pre-Packaged Tomcat WebApps

I currently work on an excruciatingly slow remote machine and on Tomcat. So, I was wondering, Tomcat comes with some pre-packaged webapps like: docs examples host-manager manager ROOT Now I just ...
2
votes
1answer
7k views

setting up AJP secret between Apache and Tomcat

I'm having trouble setting up a secret between Apache (2.4.41) and Tomcat (7.0.99). I think I have it setup correctly in Tomcat (server.xml): <Connector ... secretRequired="true" secret="123" />...
0
votes
0answers
56 views

JDBC performances using AWS RDS instance / Tomcat

I'm using RDS MySQL database for both preproduction and production environment but I'm facing performance issues on the production server while accessing RDS instance through JDBC (db.m5.large) with a ...
0
votes
0answers
44 views

Close wait connections increased in my Web app

I have an web application which uses Apache and Tomcat. We have recently seen increase in many close wait connections which resulted in application responding very slow. In the application logs what i ...
0
votes
0answers
62 views

App deployed to two Tomcat instances having different ports but load balancer seems to not be working as expected

I want to achieve the following: App is deployed to two Tomcat instances (common installation) with different ports (8098 & 8099) There should be a single URL for accessing/using the app since ...
0
votes
1answer
139 views

start tomcat as non-root user following the manuals by tomcat, security

i read the manuals by tomcat apache, where they tell to run tomcat as non-root, but i should give root the ownership and the group tomcat should only have the read permission. Give i the group tomcat ...
0
votes
1answer
109 views

How to rewrite www to non www in tomcat server

I am running a tomcat server on a vps server which is having centos. My website is browsing with mydomain.com and www.mydomain.com. But I don't want to see www in my url. i.e. If I browse with www....
0
votes
0answers
21 views

Secure Remote Connection to PostgreSQL and GeoServer

The Problem: I have a Windows Server 2012 on a secure network (I'm not the administrator) with PostgreSQL 10 and GeoServer 2.14 installed. I remotely connect to this server from my desktop on a ...
1
vote
1answer
53 views

Nginx : port redirection

I'm using nginx as a reverse proxy and i would like to redirect the port 3000 provided through the url to the same port on the proxy pass but i'm always redirect to the 443 port when trying. Below is ...
0
votes
0answers
106 views

CentOS 8 refuses connection to port 80

I set the port of Apache Tomcat 9 to 80, but I cannot connect to it. I opened 80 port by firewalld. After checking catalina.out: Tomcat has not permission to bind 80 port in CentOS 8. I tried ...

1
2 3 4 5
43