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)

0
votes
1answer
37 views

Several JkUnmount(s) in multiple VirutalHost(s)

I am trying to configure multiple VirtualHosts in my mod_jk.conf. I have a few JKMounts and several JKUnmounts which will be common to all of the VirtualHosts. I was trying to move these *mounts to ...
2
votes
7answers
10k views

Tomcat won't start - how to check that port 8080 is not in use

Tomcat won't start, and it has worked perfectly before. I suspect something else is running on port 8080. I am running Windows Vista. How do I check that nothing else is using port 8080. I have ...
0
votes
1answer
380 views

Starting tomcat causes “java.io.FileNotFoundException: ../logs/dc.log (No such file or directory)” in catalina.out

I have been seeing this for literally years as part of tomcat apps, and now that I have gone through the steps to investigate it, I can't find the cause. Here's what I see whenever I start tomcat on ...
0
votes
0answers
16 views

Server configuration regarding multiple tomcat instances [duplicate]

I am going to setup an website. I am expecting huge amount of traffic in future. I went through many articles for load balancing in tomcat. I wanted to ask how multiple tomcat clusters are good in ...
2
votes
3answers
945 views

Reboot if tomcat7 service is not responding

I am running a web app on a Tomcat server. There is a hard-to-detect problem within the server code that causes it to crash once or twice everyday. I will dig in to correct it when I have time. But ...
1
vote
2answers
675 views

Install Tomcat5 on CentOS 6.4

I'm trying to port an old application to a new server and need to install Tomcat5 on CentOS 6.4. This is apparently not a straightforward task. When I try: yum install tomcat5 tomcat5-admin-webapps ...
2
votes
2answers
305 views

Apache + Tomcat giving error 500 for non-browser agents (Struts2)

I've got an Apache WebServer + Tomcat 7 serving Struts2 web pages. It works without problems when I use any web browser, but when I try to access a web page using W3C validator or Facebook Lint, the ...
1
vote
1answer
45 views

Tomcat resources not resolving correctly

I'm trying to deploy MITRE's OpenID Connect Java Spring Server using Tomcat. My server's FQDN is park.muller.io. I've compiled the MITRE server and placed the .war file into the Tomcat webapps ...
2
votes
1answer
3k views

Import private key and certificate into Tomcat?

I've just purchased a wildcard SSL cert (AlphaSSL) which I'd like to install on a box running Tomcat, to replace the existing SSL certificate. I have the cert, the private key, the CA Root, the ...
0
votes
2answers
1k views

No Tomcat7 package for RHEL 6

We're currently setting up a new application hosting environment on Rackspace and are struggling to find a package for Tomcat 7. Our previous provider was Amazon and we ran on Amazon Linux who via ...
0
votes
0answers
259 views

High outbound network traffic on Tomcat under process nodeJR

We are investigating high outbound traffic on Tomcat servers hosted on AWS instances. The specific question I have is what the process nodeJR is - and how it could get installed under Tomcat? The ...
2
votes
2answers
584 views

Is there a Apache or Nginx equivalent to the IIS “drain stop”?

I come from a .NET background and there are many things I loved about it along side many things I hated. IIS was, in general, one of those things I hated. However, one really nice feature of IIS was ...
1
vote
1answer
368 views

Port 80 redirects to CPanel's /cgi-sys/defaultwebpage.cgi even after forwarding

I recently took over the management of a website using a pure Tomcat 6 server (i.e. no combination Tomcat+Apache) with CPanel installed, which is only accessible on port 8088 (i.e. the main page URL ...
0
votes
0answers
61 views

For Tomcat 7 with NGINX, is APR still useful?

I've been having trouble keeping some Tomcat 7 servers running - they spontaneously shut themselves down. So I am looking at my config wondering how much I need certain things. I am using Tomcat 7 ...
9
votes
7answers
5k views

Why does tomcat like deleting my context.xml file?

I'm developing a web-based Java application at work and (obviously) have to run it locally during development. I've figured out the Tomcat docs and have a suitable context.xml file in ...
4
votes
2answers
1k views

Controlling tomcat with supervisor

Is there a way to "gracefully" shutdown tomcat when controlling via supervisor? My understanding is Tomcat's shutdown.sh script talks to tomcat on the shutdown port to initiate a graceful shutdown. ...
0
votes
1answer
25 views

How to enforce post encoding in tomcat 7?

Is there a way to enforce UTF-8 encoding on POST operations for tomcat 7, regardless of what the browser may send to tomcat? It runs with the latest JRE from http://java.sun.com/getjava
0
votes
4answers
5k views

Timestamp in Tomcat logs is wrong

For some reason, the timestamp in my Tomcat logs is off. The system clock is correct, and set to PST, but the Tomcat logs appear to be using GMT. I haven't been able to find this setting ...
3
votes
0answers
73 views

Compression of Tomcat mod_jk results in Apache httpd

I'm developing a web application locally on my system, serving it using Tomcat (tomcat-7.0.52). In production, I want to front the Tomcat with an Apache httpd (Apache/2.2.15). This works and I ...
0
votes
0answers
51 views

Tomcat 7 log file date format

Tomcat7 log entries use a date format: Mar 30, 2014 11:50:32 AM How do I change it use the format: 2014-03-30 11:50:32 This would make it much easier for Zabbix to parse the log file for ...
6
votes
1answer
4k views

Apache httpd error “proxy: ap_get_scoreboard_lb” with ProxyPass

I set up apache to proxy for tomcat but I am getting the following error when I target the page. I sometimes get a blank page or a 503: [Error] [Mon Dec 03 04:58:16 2012] [error] proxy: ...
1
vote
3answers
3k views

Configuring jdbc-pool (tomcat 7)

i'm having some problems with tomcat 7 for configuring jdbc-pool : i`ve tried to follow this example: http://www.tomcatexpert.com/blog/2010/04/01/configuring-jdbc-pool-high-concurrency so i have: ...
2
votes
4answers
5k views

tomcat6 on CentOS 6: cannot stop/restart service

I have this problem with stopping and starting tomcat6 (package from the repos). I've seen with several CentOS 6 and RHEL 6 boxes. The symptoms are that when I want to restart or stop tomcat6 it just ...
0
votes
0answers
77 views

Servicing ws:// in Node.js via Tomcat and Apache

I've Googled various combinations of keywords but I cannot find a suitable description of what to do to get this to work. Currently, I have a web site running Apache 2 with everything except ports 80 ...
0
votes
1answer
404 views

Starting Tomcat 7 as a user - init.d script can't write pid

I want to run Tomcat 7 as a user on CentOS 6. I've created a user tomcat:tomcat and changed the ownership under /var/lib/apache-tomcat* etc... There are lots of docs online on how to do that but I ...
0
votes
1answer
33 views

Tomcat service crashing

I am having issues with a Tomcat service that crashes (stops responding to requests) and needs to be sigkill'd and restarted every few days. My graphing shows that HEAP memory usage gets to about 3gb ...
0
votes
0answers
37 views

optimal ulimit value for debian

I have an issue with my tomcat service, for more background info click here. What I am here about is that i suspect it has to do with my ulimit as my application does use rabbitmq and similar ...
1
vote
0answers
54 views

How do I proxy user context from httpd mod_proxy to tomcat?

I have configured a tomcat instance with SPNEGO to perform user authentication. When I access the tomcat port directly, it causes my browser to request my user name and password, which I provide and ...
0
votes
1answer
218 views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
2
votes
0answers
194 views

How to enable CORS on Glassfish?

Cross-Origin Resource Sharing is a mechanism that enables cross-origin requests[1]. As you can see in the link [1], It is easy to enable CORS in Apache Tomcat 7. Just a configuration in the file ...
0
votes
1answer
52 views

A botnet may be attacking our site right now, how should we respond? [duplicate]

Not sure if SO is the right forum, but we're in need of help and perhaps programmatic elements may comprise the final solution. Instead of downvoting, please recommend where to post this question, and ...
2
votes
2answers
322 views

Difference between calling tomcat shutdown script and killing process

On our linux boxes, we have multiple users who run tomcat. Currently we are using process kill commands to kill the respective user's tomcat , instead of using shutdown.sh Are there any downsides of ...
0
votes
1answer
371 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
1
vote
1answer
48 views

High Volume Settings for Apache / Tomcat/ Mod.JK

I have a 3.5 GB 2 CPU server running on tomcat/apache with mod.jk. We are seeing our server itself having plenty of memory available and tomcat is not showing anything crazy in terms of GC. We have ...
-1
votes
2answers
53 views

What's the difference if I access a site using www and without? [closed]

I'm a web developer on a software house, which develops websites for clients. The websites are hosted by third party, so we don't have full control over it. One of our clients one day asks us, why ...
0
votes
1answer
181 views

Why Tomcat7 gives 404 for localhost:8080/

I had Tomcat working on my PC, it stopped working, couldn't debug. So, did a reinstall but it doesn't seem to work yet. I have installed ver 7.0.52 and have startup script taken from here. The ...
0
votes
0answers
25 views

How to make a docbase with Jboss-as-7.1

I want to know how it's possible to serve ( ie: to read) external files in my web application using Jboss-as-7.1 . It's easy to do with Tomcat but i'm newbie in Jboss. Thank you
1
vote
1answer
33 views

Tomcat upgrade replacing ROOT.war

When upgrading tomcat by running: yum update on Amazon Linux the ROOT.war file is replaced by the default ROOT.war from the tomcat distribution. Is there a way to prevent this?
0
votes
0answers
94 views

Tomcat 7 Session Persistence disable not working as expected

As documented in https://tomcat.apache.org/tomcat-5.5-doc/config/manager.html#Disable_Session_Persistence , I added the following code piece to disable session persistence in Tomcat 7. ...
1
vote
3answers
636 views

Java JRE corrupted after updating web application stack using a custom built MSI

We have an Java web application that is installed on a Windows environment. We use Advanced Installer, a commercial product, to build the MSI. The installer installs Tomcat 7, Apache 2.0 and deploys ...
0
votes
1answer
176 views

How to diagnose Tomcat 6 suddenly stop responding?

I run a number of tomcat instances and occasionally some just stop reponding to requests - timeout on every connection. I'm using AJP with mod_proxy in Apache 2.2. I get a timeout via Apache/AJP ...
0
votes
1answer
267 views

Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed

I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from ...
0
votes
1answer
53 views

Nginx sever not handling 404 from upstreams

In my setup , I have a nginx server as a reverse proxy for my tomcat application servers. I use proxy_pass to connect to tomcat upstreams .. location /test { proxy_pass ...
1
vote
3answers
14k views

Setting CATALINA_OPTS for tomcat6 on windows doesn’t work

(I've copied this from Stack Overflow here, after someone suggested I post the question here) Hi, I'm trying to setup Tomcat6 to work with JMX on Windows Vista 64. To do that I need to pass the ...
-1
votes
1answer
37 views

Tomcat and Apache comparison [closed]

What interests me are the similarities and the differences between tomcat and apache. When would one be used and when the other? Thank you.
0
votes
2answers
64 views

how to recover from a failed web server or reverse proxy

I have the following setup in my datacenter. Global LB --> HA proxy (2 instances on different servers via VRRP, performs HTTPS termination, acts as reverse proxy) ---> Nginx(2 instances on different ...
0
votes
0answers
30 views

How vulnerabilities in the Java affects application running in Tomcat/JBoss

I wonder what impact has Java vulnerabilities on application in Tomcat. For example Java 1.6u45 has many reported security bugs (Remote Security Vulnerability). You can easily exploit it on client ...
1
vote
0answers
29 views

Unchanged Elastic Beanstalk transitions to RED health

I've got an application running on Elastic Beanstalk that seems to randomly transition to RED. The App is running just fine and has been for a while (it is also not crashing) but every once in a while ...
0
votes
0answers
47 views

Apache Tomcat & SSL - not connecting from different Sub Network

we are deploying an Apache Tomcat .WAR application provided from a third party. We have followed all the instructions provided from the party. The specs are: windows 2008 server Apache Tomcat 6.0.37 ...
1
vote
1answer
120 views

Downloading content greater than 2000 bytes from local network hangs in browser on Windows XP

We have web application that runs under Tomcat in a local network. Our customers experience strange problem using this web application. Let's say Tomcat server runs on host1 and we open webapp URL in ...