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

1
vote
0answers
477 views

Tomcat fails on first request in combination with jsvc

I have a web application where the first request may take a few seconds as some singletons are initialised. I've used the mod_proxy and jsvc construction mentioned in this question and described on ...
0
votes
0answers
14 views

Way to kill http nio connections in Tomcat

We have an application that sends messages to users to access our server (Apache tomcat) through an HTTPS connection with their devices. Problem is that this users applications is keeping the ...
0
votes
0answers
18 views

tomcat trace request - why does the server respond with a 403

Newbie to tomact here. I've deployed a java application with an embedded tomcat server (8.0) on an ubunto server, and it's working fine over HTTPS. I'm getting a 403 response for one of the API ...
0
votes
0answers
8 views

How to get tomcat probe sessions to expire and log you out

I managed to setup tomcat and an ldap server to authenticate the connections to tomcat and probe which is great to change the passwords and users in a large amount of servers without actually having ...
0
votes
0answers
16 views

Understanding tomcat's access logs for aborted or timeout requests

This might be a very ignorant and stupid question ,but please bear with me. I understand that every request made to any URL behind Tomcat is logged by Tomcat in access logs. I have a Spring Boot REST ...
0
votes
0answers
56 views

elb / apache server latency

I'm running Apache/2.4.7 on m4.larges in AWS behind ELBs. The overwhelming majority of my traffic is simple one off requests from naive clients, not web pages. The configuration is old and time tested,...
0
votes
0answers
18 views

Tomcat 8 catalina.sh not waiting for tomcat to fully stop

We're using Tomcat 8 on Ubuntu and when I stop the server with catalina.sh stop from the command line it returns immediately, before tomcat has actually had a chance to fully stop. I tried catalina.sh ...
0
votes
0answers
11 views

Tomcat Manager App configuration

I have the following need: mutiple teams need to have access to a single Tomcat 8 instance to deploy their own war files. However, I would like to allow each user only to deploy/start/stop their own ...
0
votes
0answers
16 views

SSL Cipher Mismatch Tomcat RHEL

I'm deploying a Tomcat web server with an SSL certificate. I've created the keystore and have received and installed the certificate back from the certificate vendor. However, I receive '...
0
votes
0answers
60 views

ProxyPass unknown Worker parameter

I'm new in Apache and I have a RedHat6 server with apache2.2 and tomcat6. I'm trying to configure the parameter connectiontimeout, like the below configuration: ProxyRequests Off ...
0
votes
0answers
54 views

Tomcat/apache2 application - virtual host issue. Welcome.action URL not found. Possible mod_rewrite issue

Im having some issues setting up a tomcat application to work with apache2. My KonaKart tomcat application is running on port 8783. And I'm trying to access it publicly on port 443. I created the ...
0
votes
0answers
22 views

How to make a 301 Redirect before proxy?

I have apache in front of tomcat. I have this proxy settings: <IfModule mod_proxy.c> <Proxy *> Allow from 127.0.0.1 </Proxy> ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$...
0
votes
0answers
20 views

AJP Connection Failure

The other night a Apache load balanced cluster of Tomcat instances because to fail when attempting to communicate over AJP. I can not figure out why this occurred nor can I get apache to comminucate ...
0
votes
0answers
19 views

Tomcat instance inadvertently down in amazon ec2

I am running a tomcat instance in my ec2-instance, and it is frequently down for some reason. I checked the logs at {tomcatinstance}/logs/ , like catalina.out, localhost*.log, myapplication.log; but ...
0
votes
0answers
32 views

Issues with a fresh dev OneOps instance

I followed the instructions here: https://github.com/oneops/setup.git and was able to bring up an OneOps instance. I am able to create a user and log-in, however I am not able to create organizations. ...
0
votes
0answers
48 views

Tomcat IP whitelist on conf/web.xml

I have a tomcat 7 installation on a EC2 server on Amazon. I have also a webapp deployed as a root in the webapp folder. I need to be able to block all the requests from any IP addresses for the path ...
0
votes
0answers
39 views

Can't increase Java heap in Debian

I'm setting up an environment to run some web apps developed in Grails, and deployed in Tomcat. I made the default configuration and the first web app deployed just fine, but after logging in, the ...
0
votes
0answers
33 views

tomcat 8 silent install on windows as service

I'd like to create installer for my application. I need to install tomcat 8 as service on windows host. Is there any possibility to install it in silent mode and provide parameters to configure ports, ...
0
votes
0answers
65 views

Tomcat7.exe vs Tomcat7w.exe and Windows NAS drive

I am still fighting with how to make Tomcat installed as a Windows service (Windows server 2012 or experimenting with Windows 8) see mounted NAS drive. I tried various approaches from http://...
0
votes
0answers
38 views

Why my websockets application deployed on tomcat is not getting the shibboleth headers?

My stack looks like this: Apache httpd server 2.4.12: with mod_shibd, mod_proxy_http & mod_proxy_wstunnel Shibboleth 2.5 Apache Tomcat 7.0.54 Our scenario looks like this: --------- ...
0
votes
0answers
10 views

Authentication failed for user: null

I have an API "Vignette Collab" that is running on an Apache stack with Java, I inherited a legacy codebase and need to find where this error is coming from apparently the last developer built a ...
0
votes
0answers
15 views

forward request from one tomcat to other tomcat

I know that what I'm asking can be processed with some webserver(apache/nginx), but in my scenario I can't install it. I've got one tomcat instance running on port 8080 and second on 9080. Only port ...
0
votes
0answers
10 views

Unable to redirect 3 different domains to different apps deployed on Tomcat, from Apache

I have "Apache HTTP" and "Apache Tomcat" both installed on the same server. Apache is running on port 80 and Tomcat is running on port 8080. The 3 website come on Tomcat at the below URLs. ...
0
votes
0answers
12 views

Error with security constraint in Tomcat

I have a problem setting up a login with password in a web application, but returns me a 404 error when I try to access the website. My first step was add a new role and user in tomcat-users.xml: &...
0
votes
0answers
16 views

Can I run Tomcat with mod_proxy_ajp and rolling upgrade automatically?

I have 4 Tomcat servers and 1 Apache HTTPD server and run mod_proxy_ajp: <Proxy balancer://cluster> BalancerMember ajp://10.27.1.21:8009 BalancerMember ajp://10.27.1.21:9009 ...
0
votes
0answers
23 views

apache 2.4 ajp and virtual host not working

I have Centos 7 , Httpd Apache 2.4 and Tomcat 8 my goal is to connect to my site1.com which is on tomcat throw 80 port. Now if I go to site1.com I am redirected to site2.com which is on httpd apache ...
0
votes
0answers
19 views

404s on Some Pages After Re-Deploying War to Tomcat

I have a an app which I deploy to Tomcat 8 running on Redhat in dev, QA and production environments. Occasionally when deploying to dev or QA, but nearly every time when deploying to production (...
0
votes
0answers
29 views

Tomcat webapp protected by Apache basic auth wont accept valid username password

I have Apache 2.4 set up as a reverse proxy in front of my Tomcat 7 app. There is also another static HTML portion called moderation. The tomcat app is set up to provide a form based login. I want ...
0
votes
0answers
35 views

Apache2 proxy reverse broken Tomcat8 links

In my DigitalOcean vps, I have Apache2 (LAMP), phpmyadmin and Tomcat 8. Everything is running well. Now I'm trying to implement the reverse proxy so I can access the tomcat8 not by https: //mydominiam....
0
votes
0answers
15 views

Cannot expose Java Instrumentation for tomcat jvm

I am using a tomcat7 instance to run a Java application. My application needs the Java instrumentation exposed. This is done with a javaagent and I pass the agent at startup to the JVM in the setenv....
0
votes
0answers
33 views

How do I log the IP address a request was received on in Tomcat?

A bit of background I have a server with 3 IP addresses and 3 <Host> elements defined in the server.xml. I'm using IP-based virtual hosts. I have enabled the Access Log Valve on each Host, ...
0
votes
0answers
34 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, "http://10.1....
0
votes
0answers
35 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
0answers
16 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
51 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 ...
0
votes
0answers
69 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
0answers
63 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 ...
0
votes
0answers
26 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
21 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
20 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
104 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 action:...
0
votes
0answers
86 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
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
0answers
50 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
0answers
21 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
0answers
29 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
0answers
10 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
49 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
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 ...
0
votes
0answers
103 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 ...