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
votes
1answer
52 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
121 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
875 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
1answer
711 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
13 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
100 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
377 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
77 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
40 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
40 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 ...
1
vote
0answers
370 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
1answer
180 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
531 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
194 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
66 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
158 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
391 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
130 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
83 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
222 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
25 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
57 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
52 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
98 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
158 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
94 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
195 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
223 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
31 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
450 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
211 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
72 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 ...
1
vote
2answers
1k 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
206 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
48 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
83 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
370 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
348 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
397 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
23 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 ...
1
vote
1answer
518 views

Request Entity Too Large mod_jk

I have setup where there is apache (httpd) and apache tomcat both are connected with ajp and in my http.conf LimitRequestLine 65536 LimitRequestFieldSize 65536 under <VirtualHost> and ...
0
votes
1answer
33 views

Route request to Tomcat only if file doesn't exist on disk

I have Apache in front of my Tomcat installation as a reverse proxy. Most URLs are routed to Tomcat by a JkMount directive in Apache. For one URL pattern I'd like Apache to route requests to the ...
0
votes
1answer
294 views

Tomcat 7 URL rewrite from other domain

On a tomcat 7 server, we've configured a https connector, the TLS certificate is valid for an URL like www.example.com . Now we want to change the A record of one of our subdomains (like foo.bar.com) ...
1
vote
1answer
38 views

IIS/Apache dont recognize my certificate

Im completely new in this. I have a windows 2008 R2 Server with IIS 7.0 with a expired certificate, so finally i created another (*.CSR, then PKCS#7 and installed). Installing the certificate i have ...
0
votes
1answer
68 views

tomcat-webapp not accessible via port after windows-update

we are running 4 Virtual Machines on a MS HyperV Host. On one of the VMs (192.168.50.15) we have multiple Tomcat-Webapps on separate ports - 9010: Jenkins - 9020: Atlassian Jira - 9030: Wiki .. ...
10
votes
5answers
16k views

How do I disable SSLv3 support in Apache Tomcat?

I am trying to reconfigure my Apache Tomcat server to only use TLSv1. However, it is still falling back to SSLv3 using certain browsers. I setup the <connector> tag with the following settings: ...
1
vote
1answer
546 views

Scaling a web application horizontally in Tomcat (load balancing / clustering)

I develop a simple REST-style web application consisting of 2 basic modules. Module#1: server exposing REST web services, stateless, deployed in Tomcat Module#2: REST client There is one Tomcat ...
0
votes
1answer
878 views

tomcat not able to start in jpda start mode

This is my catalina.sh #!/bin/sh JAVA_HOME="/usr/local/java" CATALINA_PID="/usr/local/tomcat/tomcat.pid" CATALINA_HOME="/usr/local/tomcat" JAVA_OPTS="-Xloggc:/usr/local/tomcat/logs/gc.log -Xms3072m ...
0
votes
1answer
63 views

Did I do anything wrong when config Server.xml to point another domain into a folder that is not a ROOT folder in webapps folder?

Ok, I have a main domain: mainDM.com (which is the domain of the app named mainDM) bought from Godaddy. I also bought a Godaddy Win2000 VPS with IP adress xxx.xx.xx.xx. In Godaddy I pointed that ...
0
votes
0answers
63 views

Apache tomcat server for yum repo

I have a system that currently has apache tomcat on it (RHEL 6.5). I also want to make a yum update repo on this system for other systems on the network (also RHEL 6.5). I know I can use the apache ...