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.

learn more… | top users | synonyms

0
votes
1answer
15 views

Dns records, and tomcat on loadbalacing

I have 2 Dns servers (Debian) configured using bind9 and a loadbalancer managing 2 tomcat webservers, My question is Should i put dns entries of the 2 tomcat webservers, or i just have to put the ...
0
votes
0answers
24 views

Errors Running WebGoat 7 on Tomcat

I am trying to run WebGoat on a standalone Tomcat7 server. I placed the "webgoat-container-7.0.1.war" in the Tomcat directory and renamed the file "WebGoat.war". The initial landing page, ...
0
votes
0answers
29 views

Deploying Java application on Tomcat 7 with Context Versioning

I am working on an API that is built on top of the Spark mini-framework (http://sparkjava.com/) Whenever I build a package through Maven, which is then uploaded to the webapps/ folder under Tomcat 7. ...
0
votes
1answer
74 views

Apache Web-server, Tomcat : Changing load-balancing configuration so one Tomcat instance is in cold-standby

I have a load-balancing and fail-over setup configured on our Debian X64 based server. Right now, I have 2 Tomcat instances which are in load-balance and fail-over and running all the time. The ...
-2
votes
1answer
27 views

Installing self-signed certificate on tomcat

down vote favorite The question: I have an application running under tomcat which calls another application under the same tomcat via a gateways which has a self signed SSL certificate installed. When ...
0
votes
0answers
13 views

Tomcat 8 debug enable on EC2 instance

Im trying to debug my war application on EC2 instance of amazon. Amazon provides own tomcat where the structure inside folders is different. As before I tried creating the setenv.sh in the bin ...
0
votes
0answers
29 views

Tomcat access log - body of a request shows in the next request

I have a weird behavior in my tomcat (7). An external app sends a bunch of DELETE requests with a body to my TomCat WebApp. The body is being neglected in the webapp (I dont know why the app sends ...
2
votes
0answers
35 views

ELB to tomcat https redirecting to http

So we have tomcat servers behind a AWS ELB. Everything is working fine with https except if we manually type in this address: https://example.com/web/ This works fine... https://example.com/web ...
0
votes
1answer
12 views

How to point domain to an web aps inside a Tomcat instance?

I have a problem, many days I can't resolve. 1. I have 1 VPS CentOS x64, 768 MB RAM, host at vultr.com, IP 45.32.45.204. 2. I have 1 website active codingvn.com (I use script to point domain to web ...
-2
votes
1answer
38 views

Communication from Tomcat to Apache Web Server

I have deployed my application in Apache Tomcat, and I am using Tomcat as a standalone web server. Now from my application, I am sending request to a plugin which is in Apache Web Server for getting ...
1
vote
0answers
40 views

AWS ELB is adding http absolute path

We have tomcats running a Spring Security webapp. The https is terminated at the ELB (443), then forwarded to tomcat on 8080. However, when we log in, a successful login redirects us to ...
1
vote
1answer
312 views

What's the redirect port for in Tomcat?

It's hard to make sense of tomcat documentation and looking at server.xml you will find a salad of ports that may be hard to understand because it's not really explained properly, or extensively, in ...
0
votes
3answers
36 views

Cannot connect on open port

I just installed Jira with embedded Tomcat, which runs on port 8080. I gave iptables -I INPUT -p tcp --dport 8080 -j ACCEPT and netstat -tpln says: Active Internet connections (only servers) Proto ...
0
votes
2answers
42 views

Prevent monit from checking while restarting

We have the following monit config which restarts tomcat if unable to connect to it: check host Tomcat-Foo with address localhost stop program = "/usr/bin/systemctl stop tomcat.service" start ...
0
votes
0answers
54 views

How to disable cache of Apache Front of my Tomcat?

I put it at the end of httpd.conf and nothing changed: #Initialize mod_rewrite RewriteEngine On <FilesMatch "\.(html|htm|js|css)$"> FileETag None <ifModule mod_headers.c> Header unset ...
0
votes
1answer
22 views

Azure Virtual Machine Images Tomcat SSL

Here's the run by, yes I have done research on all of what I am about to say. I simply wish to summarize it and hope someone with knowledge on this can let me know if something is wrong with my plan ...
0
votes
2answers
98 views

Name [ ] is not bound in this Context. Unable to find [jdbc] Tomcat Issues

I just created a fresh Oracle Linux 7 VM with Tomcat 7 and Java 8_40. I've created several servers with Apache and Tomcat before, but never connecting to databases before. SELinux and firewalld are ...
0
votes
1answer
71 views

HTTPS not working on Tomcat 7

I am trying to add ssl configuration in tomcat 7 in ubuntu 11.10 but it is not working and there are no errors in logs. I added in server.xml this: <Connector port="8443" protocol="HTTP/1.1" ...
0
votes
0answers
55 views

opengrok: HTTP Status 404 - /source/s when trying to open .cpp file via an xref

Suppose I'm looking at the .cpp file's source code in the web browser. Now, I want to review the .h file included with #include in this cpp. I'm clicking on the header's file name and instead of ...
1
vote
2answers
22 views

Creating local self-signed Certificate for user 'tomcat'

When I installed Tomcat 8 on my Ubuntu 15.04 I used the following command to create the user "tomcat": sudo adduser \ --system \ --shell /bin/bash \ --gecos 'Tomcat Java Servlet and JSP engine' ...
1
vote
1answer
26 views

Small queries wait for large queries to resolve MYSQL PHP on Centos 6.5

I have a Centos 6.5, and I'm running Vaadin on Tomcat, This application has really heavy queries for reports and stuffs. My problem is, when I'm connect to MYSQL from PHP, when I made a small query, ...
0
votes
0answers
23 views

Deploying a SOS WAR file gives me a 404 Status Code on Tomcat?

I am trying to deploy a SOS WAR file from 52 north into the Tomcat, I put this WAR file in the webapps folder, but I got a 404 Status code, and I don't know how to solve this problem now. Is there ...
0
votes
0answers
16 views

Tomcat requested resource not available error even though file present

I have a dashboard that is hosted on an apache tomcat server on a centos machine. I kept the files that needed to be downloaded onclick in the following path project_name/resources/filename So ...
0
votes
0answers
18 views

Tomcat 7 auth constraint role name active directory

I integrated waffle into my tomcat 7. I need to define the users in the active directory group that can visit the site, web.xml looks like: <security-constraint> <display-name>not ...
0
votes
0answers
85 views

http_process_state_prepend - Invalid action:0x109010 (Server side:

I am getting a blank page on my Web App which is running with F5 & apache + Tomcat backend. I am getting intermittent errors in the F5 logs like belw http_process_state_prepend - Invalid ...
0
votes
2answers
81 views

Apache 2.2 reverse proxy connection to tomcat hangs then returns 502 Proxy Error

I am running: Apache/2.2.15 (Unix) on CentOS release 6.6 (Final) I am running a reverse proxy that forwards requests on to a tomcat server running on localhost:8080. My config looks like this: ...
0
votes
0answers
76 views

Tomcat 8 / Websockets mod_proxy_wstunnel / Bitnami

I guess this is more of a configuration question, I understand what I'm trying to do, but I am a bit unfamiliar with the way Bitnami Tomcat configuration is laid out. I see that the module I need is ...
0
votes
1answer
76 views

Locked Out of Tomcat Periodically

Every few days my tomcat application breaks down. I can make requests but anything requiring access to the mysql database returns an error. I checked catalina.out and am seeing a lot of these: Jan ...
2
votes
1answer
75 views

Tomcat Parallel Deployment, automatically undeploy old applications

I've been using Tomcat 8's Parallel Deployment as part of a zero-downtime continuous deployment setup for a while now. When the test gauntlet has been run, the CI server automatically renames the ...
0
votes
0answers
155 views

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

I have set up my SSL configuration in an Azure Ubuntu VM using Tomcat8. The service seems to be running on port 8443. I have created an endpoint on Azure from public port 443 to 8443. However, when ...
0
votes
0answers
29 views

Tomcat7 issues on azure ubuntu14 after installing Tomcat8

I have tomcat7 installed on my ubuntu vm. port 8080 is open and in my server.xml I have it set to <Connector port="8080" protocol="HTTP/1.1" address="0.0.0.0" ...
0
votes
1answer
52 views

Configure Database Properties for Tomcat Webapp

I setup a sample application in Tomcat but have trouble getting the database connection working. It is a standard WAR package written in Spring framework and uses a MySQL database. The application is ...
0
votes
0answers
46 views

Tomcat: Redirect 403 to 404

I am running Tomcat 8.0.30, and want to redirect all requests that result in a 403 (Forbidden) to 404 (Not Found). The idea is that if someone uses something like DirBuster, it will look like any ...
0
votes
2answers
26 views

Tomcat 7 installation didn't require configure, make and make install commands

I recently installed apache tomcat 7.0.67 on rhel 6 64-bit platform. All I did was simply unzipping tar.gz file into a specified directory where I have read/write access. I was able to deploy a web ...
0
votes
1answer
14 views

Cyclos4 - Apache as frontend for a Tomcat app

I just install Cyclos4 software into my server. I can access to the app via: http://IP:8080/cyclos Now I'm trying to access to the app without having to write the port and the /cyclos. I follow ...
0
votes
3answers
260 views

Running Apache Tomcat 8 on port 80

I wants to install/configure apache tomcat on port 80 instead of 8080. I am running Nginx on port 80 and I made Nginx service stopped. I changed Shutdown , Connector port from 8005 to 8008 and 8080 ...
0
votes
1answer
11 views

tomcat mapping domain name

How to config tomcat mapping domain name? This is what I try, but it doesn't work: server.xml: <Host name="api.example.com" appBase="webapps" unpackWARs="true" autoDeploy="true" ...
0
votes
0answers
20 views

How to I diagnose downloads slowing over time?

I am trying to track down a strange networking problem. Basically, a http download from a tomcat server is slowing down over time. For example, the download speed starts at 700kb, then slows to 650, ...
0
votes
1answer
254 views

Accessing Tomcat 8 on AWS EC2

I know there are similar questions on Tomcat and EC2 alredy but unfortunately I cannot find anything that solves my apparently simple issue. I have installed Tomcat 8 on an EC2 instance (HVM edition ...
1
vote
0answers
37 views

How do you allow all non-standard port traffic via forward proxy?

when the proxy is set for http and https traffic (say on a tomcat app), is this only for standard 80/443 traffic? I was wondering what ports you have access to when you set the following attributes ...
0
votes
0answers
25 views

Using SSL with mod_jk where SSL file is keystore file

I am working on adding Load-balancing and failover to our server. I was successful in doing so when not using https, but with https, it is not working. I only get Unable to connect, but the URL has ...
0
votes
1answer
44 views

Traceroute an IP address with apache tomcat

Is it possible to get the traceroute from an incoming http request in tomcat? What I would like to get is a list of all routing points that a http request took. Is that somehow technically possible ...
1
vote
0answers
28 views

Tomcat 7: how to log x509 cert dn with AccessLogValve

I have Tomcat7 running on RHEL6 with mutual authentication using x509 certificates for the entire container. From the user point of view in the browser, everything seems to work fine with a cert ...
0
votes
0answers
9 views

Socket Exceptions for no network hops

We have a Tomcat server that is in one case, responding to a web service and in another attempting to call a web service. In both cases the caller and end point are running on the local box. Yet ...
0
votes
0answers
44 views

Can't connect Tomcat 7 manager outside of my lan

I am trying to deploy new .war files outside of my network but when I try to access http://myServer.domain:7422/manager I still get a login dialog. I enter my credentials -- which works when I use the ...
0
votes
1answer
52 views

Loading whole cert chain into keystore for Tomcat 7

Environment: Tomcat 7.0 on Windows 2008 R2 What to accomplish Get Tomcat 7.0 to use a specific wildcard certificate with accompanying cert chain so customers' browsers do not throw errors. The ...
0
votes
0answers
38 views

Tomcat7 starting before networking comes up

So I am having an issue with Tomcat7 on centos/rhel On this server we have 2 tomcat instances and to separate them we bind the HTTP and HTTPS connectors to an IP address. What seems to be happening ...
-1
votes
1answer
43 views

tomcat not shutting down in CentOS [closed]

I was trying to shutdown tomcat but giving me following error. /opt/apache-tomcat-7.0.67/bin/catalina.sh: line 439: /usr/local/jdk/bin/java: No such file or directory This is the full output, ...
1
vote
0answers
43 views

Enable x509 Authentication in Tomcat on Openshift

I have a web application deployed on Tomcat 7 running on Openshift. I managed to enable HTTP-to-HTTPS redirection on the server (instruction). I don't have valid certificate. So I have to use the ...
0
votes
0answers
90 views

Nginx reverse proxy with Tomcat randomly drops session cookie from request

I am running a nginx as a reverse proxy in-front of Tomcat. For some reason a single random requests comes through the pipe without sessionid cookie value. Tracing traffic throug the stack I can see ...