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

-4
votes
5answers
1k views

How to redirect traffic from port 80 to port 8080

Currently, in a local system there is Apache Tomcat on port 8080 and Apache 2 on port 80. I'm unable to start both the servers at the same time. We need to stop apache2 to have tomcat running in the ...
0
votes
0answers
34 views

Tomcat and domain and SSL

I have tomcat 8.x running on port 8080 (for http) and 8082 (https) on Windows Server 2008 r2. I need to add a legitimate signed certificate instead of a self signed one. I acquired a certificate for ...
0
votes
2answers
1k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
0
votes
3answers
973 views

How do I find out why Tomcat service is shutting down?

I've installed a tomcat instance on a clean Windows 2003 machine (VM running on an ESX cluster). I have an IIS background and I'm not familiar with tomcat. I'm hosting a single java/jsp based vendor ...
2
votes
1answer
4k 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 ...
1
vote
0answers
22 views

tomcat8w.exe not in 'notification area' / and sometimes is in 'notification area' [migrated]

Using Java8/64 and Tomcat8/64 on Windows Server 2008 R2. On one server, the 'tomcat8w.exe' shows up in the notification area, and I can use it from there to start/stop/configure. On two other exact ...
1
vote
1answer
2k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
1
vote
1answer
1k views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
0
votes
1answer
59 views

ELB Https with HTTP on backend using Tomcat without nginx or haproxy

I want to setup ELB to terminate SSL at load balancer and communicate with backend instances over HTTP. I have uploaded valid certificate on ELB. When I set up following configuration ELB - HTTPS ...
2
votes
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
0answers
32 views

Unable to deploy war file on tomcat cluster node2

I have deployed a war file on tomcat cluster based node1 and successfully got deployed but it only replicates 0kb war file on node2 and not working. Attaching logs, please provide your valuable ...
0
votes
3answers
44 views

How can I install multiple Atlassian applications in a single server?

Ok, this is a two-part question. I got an unmanaged VPS with CentOS from a hosting company in order to install several Atlassian tools, however, I ran into the problem that when starting a second ...
1
vote
1answer
267 views

(103) Software caused connection abort: proxy: pass request body failed

The following errors are being logged in our proxy Apache logs while processing the request with Tomcat Server: (103)Software caused connection abort: proxy: pass request body failed proxy: pass ...
0
votes
2answers
1k views

Why isn't tomcat serving the correct SSL certificate

I configured tomcat with SSL successfully and was using a self-signed certificate. Recently an issue arose where just having the client "Accept/trust" our certificate wasn't easy. We ended up ...
5
votes
1answer
1k views

using wildcards in host-aliases for Tomcat's virtual hosts

I want to do the following with Tomcat 5.5: *.mydomain.com should go to my webapp, located at the virtual host mydomain.com. So I have a virtual host mydomain.com, and I want all *.mydomain.com also ...
0
votes
1answer
45 views

unable to access Apache Tomcat server on WIndows Server 2003 externally

I am running Apache Tomcat 8.0.21 on Windows Server 2003. I have set the connector port to 3001. I am able to access Apache Tomcat server sitting on the machine where server is installed through ...
0
votes
0answers
32 views

Trouble connecting to MySQL from Tomcat, Connection refused: connect

I've been try to connect my tomcat server to MySQL via an eclipse project. I have the code working on a colleaguemachine but not on my own, so I believe it is a configuration problem. I have a MySQL ...
0
votes
1answer
932 views

Tomcat uninstall problems

I am using "apt-get remove tomcat6" to remove tomcat.It gives this outout and tomcat still running on my system: Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
2k views

Tomcat 6 Default Memory Allocation Settings

Does anyone know or know how to find the default values for the various memory allocation-related parameters (-Xms, -Xms, -XX:PermSize, -XX:MaxPermSize) for Tomcat version 6?
0
votes
0answers
18 views

Tomcat throws java.nio.charset.IllegalCharsetNameException on attempted start

I'm installing the Dspace repository system on a freshly initated BlueHost VPN. Dspace is served with Tomcat, so as part of the installation, I have to install and start Tomcat. First order of ...
2
votes
1answer
374 views

Log warnings and errors only in Tomcat

I'm running an instance of Apache Solr with Tomcat 6. The scripts I used for installing configured Tomcat to log "everything" which means that it generates huge logfiles because every query etc. is ...
0
votes
1answer
119 views

Apache returns 503 error accesing address with mod_jk configured

I have a Tomcat server listening at 10881 AJP port. I confirmed it by netstat: tcp 0 0 0.0.0.0:10881 0.0.0.0:* LISTEN 2297/java This is the configuration of ...
2
votes
1answer
37 views

How to find the JVM version that ran Apache Tomcat from its logs?

I have a Tomcat log directory with very many log files in it. I want to determine which JVM was running this Tomcat. I could not find anything in the logs I lessed and I do not even know if it's ...
0
votes
1answer
132 views

No response from a remote linux server on specified ports

I have a remote CentOS 6.5 server that is running a tomcat 8 web server (AKA servlet) on port 54321 and I can't access it from my computer, although I'm establishing a successful SSH connection ...
0
votes
1answer
27 views

Overriding parts of a webapp's web.xml in Tomcat (eg manager application max file upload size)

I am running the Tomcat manager application via a Debian package (tomcat8-admin), which deploys the webapp from /usr/share/tomcat8-admin/manager. We ran into a problem hitting the maximum upload size ...
2
votes
1answer
947 views

Tomcat Redirect Issue - Extra “/” after hostname - Help Please

All, We are running into a peculiar issue. We have Tomcat 6.0.24 front-ended by Apache2.2.3. We have a VirtualHost serving port 80 and a ServerAlias. Apache simply hands off "/" to Tomcat's ...
11
votes
5answers
76k views

Where are my Tomcat Logs?

I installed Tomcat6 on a Ubuntu 9.04 server using apt-get install tomcat6. I uploaded a WAR using the manager interface and tried to start the application but get a pretty generic error on the Web ...
2
votes
1answer
221 views

How to fix access to the requested resource which has been denied for Tomcat webapp?

I have installed Tomcat in my machine and it is running fine. I am able to login to the administration manager. I have deployed a .war file which can be viewed on the Tomcat manager. The name of the ...
0
votes
3answers
10k views

How to change default user and password for Tomcat?

I have recently installed Xampp, and I am now learning JSP but after copying my `.jsp` file into the required file and starting Tomcat it won't let me access the manager without a user and password. ...
0
votes
0answers
40 views

Memory Leak in Solr cloud 4.8.1 and Lucene

I have a solr cloud instance version 4.8.1 with 8 nodes, 4 shards and facing memory leak on the JVMs here are the details of the instance. 8 nodes, 4 shards(2 nodes per shard) runs on Tomcat ...
0
votes
1answer
872 views

Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables?

I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect ...
0
votes
2answers
56 views

linux-tomcat - add command to startup.sh

How can I add a command at the end of the tomcat startup.sh script to execute a file. I think it is something like this. Assuming my file needs start as command passed to it below: exec ...
-2
votes
1answer
25 views

Tomcat7 pointing to a symbolic link WAR [closed]

I have Tomcat7 running on a Linux server. Tomcat is pointing to a symbolic link WAR for my application. The link is pointing to the actual WAR. I am looking to upgrade the app. What I have done is ...
0
votes
0answers
40 views

Running Apache ANT as Tomcat user when installing Shibboleth

I'm trying to install Shibboleth as Tomcat user, but when I run sudo -utomcat JAVA_HOME=/opt/jdk7 ./install.sh it gives me and a error: Error: Could not find or load main class ...
-1
votes
1answer
76 views

How to set Tomcat 8 to recompile JSP on page hit for development server

I have a developement server that was on Tomcat 6. I just installed Tomcat 8, and noticed that it no longer recompiles JSPs on page hit. What do I have to change in server.xml to get it to recompile ...
-2
votes
1answer
40 views

Assign IP address to Apache Tomcat server

I installed an Apache Tomcat 8.20 Server. When I pinged my-ip-address:8080 in the browser, I see the Tomcat setup page. However, I'm having trouble assigning an IP address given by my IT ...
1
vote
2answers
187 views

How to fix Tomcat missing SLF4j logging jars?

I am getting this error when trying to start a new application using Tomcat: Could not find necessary SLF4j logging jars. If using Jetty, the SLF4j logging jars need to go in the jetty lib/ext ...
0
votes
1answer
61 views

Nginx + Tomcat virtual hosts

I need to configure Nginx as a reverse proxy for Tomcat. The problem is when I try to access the web application through a subdomain (myapp.domain.com), in this case is displayed Tomcat webapps root, ...
0
votes
1answer
82 views

Tomcat CPU and GC going crazy [closed]

Having some major issues with our Tomcat 7 installation. It used to run fine for over a year, but now the CPU is mainly at 400% - 700% (8 core machine) and in the logs I see tones of these: ...
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: ...
0
votes
0answers
59 views

PNG images are truncated and served intermittently from Apache Tomcat 8.0.15

Problem: PNG images are served intermittently from Apache Tomcat 8.0.15 in IE8 Platform: Windows Server 2008 Description: I have recently migrated from Tomcat 7 to Tomcat 8. Everything is working ...
2
votes
1answer
65 views

What's correct catalina_base path for Tomcat installed from the package?

I've the following manifest to configure Tomcat to use 8983 port instead: include java class { 'tomcat': install_from_source => false } tomcat::instance {'default': package_name => 'tomcat7'} ...
0
votes
0answers
66 views

nginx in front of tomcat : How to make the proxy pass work without the trailling slash / at the end

The problem I got nginx in front of tomcat like i said in the title. They are on two different servers . I need to make the proxy_pass work without the slash beause my app need to receive a request ...
1
vote
2answers
1k views

Tomcat 7.0 Clustering FarmWarDeployer Not working

I'm currently working on a Tomcat Cluster for Q&A, but unfortunatly, it seems that the auto deploy of a war across this cluster is not working at all. I know the cluster is working perfectly ...
0
votes
0answers
68 views

Accessing Tomcat manager on a server with multiple domains

I'm having a hard time accessing the Tomcat Manager on our multi domain setup. I keep getting a 404 when I load intra.domain.com/manager/html. Note, I can reach /docs without any issues. File: ...
5
votes
2answers
2k views

Tomcat 6 IP address restrictions

I need to protect a certain folder within a web application of mine from access from outside of an defined IP range. With O'Reilly's Tomcat Tips I figured that: <Context ...
1
vote
1answer
87 views

Tomcat auto deploy before war copy is complete

I have auto deploy enabled on my tomcat 7 server. I deploy the war to the tomcat webapps directory over SCP from my Jenkins server. The problem is that Tomcat sometimes tries to unpack the WAR while ...
-1
votes
3answers
762 views

Could you suggest me a good Linux Distro for running tomcat in text mode? [closed]

I'm trying to build a reliable and stable server for running jsp application in an Intranet, and I would like to mantain the maximum available resources for the server. I'm considering to use a Linux ...
1
vote
1answer
875 views

X-Forwarded-For not showing up in tomcat7 access log

I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log. my elb configuartion is : 80 -> 8080 443 -> 8080 ...
2
votes
3answers
2k views

JMX connection to Tomcat running on Amazon EC2

My Tomcat 7 process, which I run on a server on Amazon EC2, has settings such as these in CATALINA_OPTS which should allow me to connect for JMX monitoring remotely: ...