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

2
votes
3answers
164 views

tomcat8 from wheezy-backports fails with configtest.sh

I have installed tomcat8 package from wheezy-backports. I use the default / unmodified installation with the following expections: I use Oracle Java 8 JDK in /etc/default/tomcat8 is added: ...
0
votes
1answer
177 views

Tomcat 8 hangs on startup while deploying webapp. Possibly related to entropy generation

I'm trying to get a tomcat webapp started and while just testing out the server (vanilla tomcat8 download) it seems to be hanging on startup. My guess is that it is hung up on something dealing with ...
0
votes
1answer
18 views

Tomcat service dies on startup

I have added the following arguments to the JVM options for a Tomcat Windows service: -Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false ...
-1
votes
2answers
133 views

Start Tomcat through cronjob

To make sure that Tomcat is running all the time, I wrote the following shell script #!/bin/bash status="$(curl -s http://www.domain.com/check)" if [ "$status" != "OK" ] then ...
0
votes
0answers
27 views

Umlaut URLs fail in Tomcat when accessed via isapi_redirect

I have some PDF Documents in my Servlet that contain ä,ö,ü,ß, etc. On accessing the documents like this http://hostname:8080/ServletName/test_ä.txt the tomcat initially responded with an 404. After ...
0
votes
1answer
54 views

How to find evidence of outbound network traffic in linux

I have setup a standard web application server in AWS using a bitnami Apache-Tomcat AMI. The instance is running in a public subnet with all Outbound traffic open but only allowing traffic inbound ...
0
votes
1answer
33 views

Prevent Tomcat from shutting down

I'm using CentOS 7 and Tomcat 8 to serve an online shop. After logging into the server via SSH, I usually run ./startup.sh and everything works smoothly, except for one thing: From time to time ...
0
votes
1answer
109 views

Apache Tomcat 7.0.57 Cluster & mod_proxy / mod_proxy_ajp

I have set up an Apache Tomcat Cluster with an Apache HTTP server and load balancing on CentOS 6.6 the following way: + 1 VM running HTTP server & 1 Tomcat instance (used for deployment, not ...
1
vote
1answer
84 views

PostgreSQL 9.2 causes CPU utilization to go to 100%

We have a Java EE application (a online digital library portal) with Hibernate 4.3 which connects to a PostGres 9.2 database. Upon load testing with a load of 175 concurrent users logging in and ...
-1
votes
1answer
36 views

Cache Memory Growing very fast Cent Os -Tomcat

i am running Java application on Tomcat-6 on CentOs . JAVA_OPTS Like this : JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask` -server -Xms256m -Xmx2536m ...
1
vote
1answer
78 views

Nginx and Tomcat Reverse Proxy not Working

I had trouble configuring Nginx and Tomcat Server on Cent OS. Here's the nginx.conf: server { listen 80; server_name subdomain.test.com; root ...
2
votes
1answer
198 views

Tomcat7 hangs on deploying apps

I'm having some very strange behavior in Tomcat 7 on Ubuntu 14.04. I created a new VPS, installed default-jdk and other simple stuff. Downloaded and unpacked Tomcat 7. Checked that it runs on ...
1
vote
0answers
151 views

mod_proxy_ajp (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header

I am using mod_proxy_ajp with Tomcat and I receive the following error: (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header How do I fix this?
0
votes
0answers
12 views

Is “deployer” a reserved username in Tomcat?

I just found a curious situation with Apache Tomcat. When I tried to deploy my web application to tomcat via maven. I found that username deployer doesn't work yet username deploy works. Is the ...
0
votes
0answers
38 views

Make Multiple MOD_JK environment aware of each other

I have 2 web servers utilising mod_jk to load balance requests to 3 tomcat servers. The current configurations have to allow the usage of sticky sessions to pass returning requests back to the same ...
1
vote
1answer
170 views

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin ...
0
votes
1answer
50 views

Virtual Hosts, apache, mod-jk and tomcat [closed]

I have a tomcat(running on 8080) application on my cent os server and i can access it with the url: SERVER_IP:8080/myapp and I have my admin panel on SERVER_IP:8080/myapp/admin and I have an ...
1
vote
0answers
33 views

Enabling mod_spdy with mod_proxy_ajp to Tomcat

I am using mod_proxy_ajp to Tomcat. If I enable mod_spdy... Will this mean that connections over the proxy will be SPDY enabled?
0
votes
0answers
29 views

tomcat6 on centos 6.2 fail to start

i just installed tomcat6 through yum, but service tomcat6 start = OK, but service tomcat6 status = fail i found this post ...
0
votes
0answers
119 views

mod_jk losing connection with tomcat

I'm running an Apache tomcat + mod_jk 1.2.40 behind an apache web server. Everything has been setup and works properly for some amount of time since a tomcat startup (measurable in days/weeks); then ...
0
votes
0answers
248 views

VirtualHost for httpd SSL reverse proxy server for tomcat on CentOS 7

A CentOS 7 web server on the web will be configured to only accept SSL connections from a small number of known users. The server has one ip and only one domain name. As part of that configuration, ...
0
votes
1answer
82 views

Deployment with tomcat7 manager, change directory for uploaded war

I am fighting with .war deployments using tomcat manager, it is starting webapp twice because I have defined hosts under server.xml. So it deployes one app for example.com and other one for /example. ...
0
votes
1answer
168 views

Stale Network connections to Tomcat AJP port

I have Tomcat Application server connected with Apache server using mod_jk connector. Both are running on different servers. Apache ----->------ Firewall ----->------ Tomcat For the last couple of ...
0
votes
1answer
56 views

Tomcat threads are increasing but never decreasing

We are using new relic to monitor tomcat threads. The graph shows increase of thread count,but it never decreased even the application is idle. We noticed that when it increase CPU also increased and ...
0
votes
0answers
43 views

windows single sign on tomcat through IIS Url rewrite

I'm facing a difficult setup where I have to configure single sign on, based on the logged in used on my tomcat application. I already took some steps which allow me to login via single sign on ...
-1
votes
1answer
61 views

Tomcat is unresponsive intermittently

Tomcat is unresponsive and throwing 504 intermittently. But there is not much CPU usage. We suspected it could happen we receive many number of requests and made tomcat unresponsive. We gave 400 as ...
0
votes
2answers
79 views

Cannot access tomcat's manager webapp

This question has been asked at least 5 times here or at stackoverflow, but in virtually all cases either a pre tomcat7 version causes trouble or the tomcat-users.xml is syntactically incorrect. I'd ...
0
votes
0answers
101 views

How to limit the RAM used by Apache Tomcat on AWS micro instance?

I am running Apache Tomcat with Geoserver as a .WAR on an AWS micro server running Ubuntu 14.04 with 1 GB RAM and ~700 MB swap, and I am concerned about my RAM usage because it is overflowing into my ...
0
votes
0answers
69 views

How to disable tomcat startup on server boot?

I have a Amazon Linux instance in which Tomcat is starting up during the server start. I want to disable it. Tomcat is not listed in the chkconfig or /etc/rc.local. How to find out, from where it's ...
0
votes
2answers
92 views

Restrict access to apache tomcat in local network [closed]

I am setting up an apache tomcat webserver for my local network and I want to block any external access from outside of the local network (the internet) for security reasons. Can I configure tomcat ...
0
votes
1answer
22 views

Hiding .DS_Store in ColdFusion Built-in Server

By default, the ColdFusion built in Server shows .DS_Store files on MacOS. Is there a setting to hide these?
0
votes
0answers
56 views

Tomcat server accessible only inside the server

I have installed Tomcat7 on a dedicated server running CentOS. It is configured to run in port 80. I am able to verify it running and browsing both localhost and local IP 192.168.1.230 are working ...
0
votes
1answer
42 views

Where do I find the SSL configuration for a tomcat 6 web server?

I've inherited a small secure web application that runs on a single Tomcat 6 web server on a machine running Amazon Linux. I need to disable the SSLv3 fallback, but I just can't find where the HTTPS ...
1
vote
2answers
54 views

Automatically stop Tomcat if Root context initialization fails

I can't seem to figure out if it's possible to setup Tomcat to stop when the ROOT context initialization fails. Since my Tomcat instance only hosts one application as the ROOT context, it makes no ...
1
vote
0answers
105 views

Disable SSL3 on tomcat4

I have a very old web application that uses tomcat4. B/c of the poodle vulnerability I need to disable SSL3 and disable a bunch of weak ciphers. My connector looks like this, but apparently ...
1
vote
1answer
82 views

Apache2 / tomcat / MySQL / PageSpeed Server hanging once a day

My server started to hang at least once a day. It remains so until I restart Tomcat. I'm not sure yet which part causes the problem, so I'm trying to work on several hypotheses: My website is served ...
-1
votes
1answer
84 views

nginx and tomcat in eclipse - multiple apps

I'm running Tomcat with Nginx as a load balancer. And too keep all the redirects etc consistent, I am also running it in front of Eclipse. Tomcat in Eclipse seems to fail it you try to configure ...
-1
votes
1answer
99 views

Redirect page to port 8080 of tomcat for remote vm [closed]

I have a problem configuring a remote virtual machine (with CentOS 5.5). I've installed LAMP, JasperServer and my company application (an industrial manager software), but this is my first remote VM. ...
0
votes
0answers
19 views

DB Users Getting Locked every time After Restarting TOMCAT

On one of our server we have deployed the Tomcat 6. We observed that each time we start the service DB users which are used to connect to the database gets locked. When we unlock these users and ...
0
votes
1answer
225 views

Tomcat 8 org.apache.catalina.webresources.Cache.getResource

I have just upgraded from 7.0.52 to 8.0.14. I am getting this for lots of static image files: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at ...
0
votes
1answer
114 views

Tomcat 8.0 Rewrite Valve

I am trying to use the RewriteValve in Tomcat 8.0 http://tomcat.apache.org/tomcat-8.0-doc/rewrite.html In $CATALINA_HOME/conf/server.xml, I added <Valve ...
0
votes
0answers
57 views

ASP.NET/IIS <---> Solr/Tomcat setup on EC2 - “best practice” configuration

I am an ec2 newbie and deploying an asp.net application that interfaces with Apache solr (on Tomcat). In my dev environment I am running ASP.NET and Solr/Tomcat on my windows box. I am also ...
0
votes
2answers
511 views

AWS Beanstalk redirect entire application from http to https

I've been trying to figure this out for a while and have not had any luck. As I'm sure you guys are well aware, the aws load balancer forwards all https request onto the ec2 instance over port 80. I ...
5
votes
1answer
181 views

Cron daemon reporting “unknown user 'tomcat6'” every day since I removed tomcat

I'm running Ubuntu 12.04. Since I removed tomcat via aptitude purge the other day, I keep getting the following error from Cron daily: /etc/cron.daily/logrotate: error: tomcat6:7 unknown user ...
0
votes
1answer
34 views

Log Outgoing Apache Port on AJP Connection

I have Tomcat 7 set up to work with mod_jk and AJP. I'm wondering if, on the Tomcat side, I can log the mod_jk (Apache side) outgoing port with the Tomcat request handler thread name in order to track ...
0
votes
0answers
70 views

Using SSL to secure Solr with Tomcat - Admin Dash Fails to Load Properly

Tomcat: 7.0.56 / Java: 7 Upd: 71 / Webapp: Solr 4.10.1 / OS: Windows 2012 R2 Busy trying to secure Solr to compensate for the lack of security prevalent for a developer. We're having some difficulty ...
0
votes
1answer
204 views

How can I access my tomcat server running on my network remotely

I have a tomcat server running on my pc which I can access locally via: http://localhost:9090 (I changed the ports in the server.xml file). Now, I am having trouble accessing the tomcat server ...
0
votes
2answers
186 views

Tomcat : Where to configure jmx Java_opts or Catelina_opts

I have Tomcat installed on ubuntu. I want to enable Jmx for monitoring so in catelina.sh I modified JAVA_OPTS as: JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true ...
0
votes
1answer
207 views

Tomcat and Jenkins separately on the same server

I have never installed Jenkins as package on CentOS, but now I tried and it doesn't seem to work correctly side-by-side with standalone Tomcat server. First of all, I installed tomcat by yum install ...
0
votes
0answers
19 views

What are the default accessible resources for a webapp in Tomcat?

When a deploy a web application in Tomcat by default all directories I create under %TOMCAT_HOME%/webapps/mywebapp/ are accessible, i.e. files contained in the directories can be served. Except ...