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

0
votes
0answers
19 views

Reset Tomcat server.xml, web.xml and tomcat-user.xml to default values on server stop

Please don't ask why I was told to do this but I when Tomcat is executed these files will be dynamically updated and Tomcat will be restarted in code. When the Tomcat server is finally stopped, in ...
1
vote
3answers
29 views

Apache Tomcat Administration Page

Is having an exposed Apache Tomcat Administration page a bad idea? Are there any other security risks associated with it other than the possibility of brute forcing it?
0
votes
0answers
152 views

Tomcat hangs at “Deploying web application directory…”

I am trying to setup Tomcat application server in an Ubuntu server. When I am trying to start tomcat server it hangs at deployment stage. If I try http://localhost:8080, its taking infinity time to ...
2
votes
1answer
42 views

Tomcat multiple requests handling

I have my API running on a tomcat server and would like to know how multiple incoming requests are handled i.e., when the server receives multiple requests at the same time are they processed in ...
2
votes
0answers
69 views

Configure AJP Connector for enabling SSL in Eclipse Tomcat

I am newbie to server side and would like to how to configure AJP connector in eclipse's tomcat in linux environment to enable SSL. I want to enable SSL in tomcat without using keystore. I created ...
1
vote
0answers
37 views

Distinguishing called URL for response rewriting for tomcat app via IIS ARR reverse proxy

Hi to the community at Serverfault! I have an issue while trying to configure my IIS to open the respective manager APP on two Tomcat Servers on the same machine. When I call the sites directly via ...
0
votes
1answer
337 views

“Unable to stat /usr/lib/jvm/java-7-oracle/bin/java” when trying to run Tomcat7 with Java8

I'm trying to upgrade my servers to Java8 from Java7 so that they will run my webapps under Java8. On one of my machines I'm getting the following error and I'm not sure what is still referring to ...
1
vote
0answers
15 views

Php load balancing questions

I have a custom written ecommerce app that runs on it's own dedicated server. All of it's constants (such as database connections, file paths etc..) are defined in a single _constants.php file. The ...
0
votes
0answers
36 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
1answer
56 views

Tomcat7 ignoring JAVA_HOME

I have been trying to start tomcat7 server without success. I am using the Raspbian distro in a RaspberryPI. When I try to start tomcat: $ sudo service tomcat7 start [FAIL] no JDK found - please set ...
0
votes
1answer
132 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 ...
0
votes
0answers
77 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
0answers
50 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
70 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
45 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 ...
0
votes
3answers
98 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 ...
2
votes
1answer
60 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
0answers
97 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
46 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 ...
0
votes
0answers
82 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
197 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 ...
0
votes
1answer
158 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 ...
-2
votes
1answer
56 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 ...
0
votes
1answer
113 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
191 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: ...
2
votes
1answer
116 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'} ...
-2
votes
1answer
33 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
102 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 ...
-1
votes
2answers
103 views

How to install Solr 4.x on Tomcat via Puppet?

So far I've been using the following recipe for installing Solr 3.x on Tomcat 6: package { 'openjdk-6-jdk' : ensure => installed, } package { 'solr-tomcat' : ensure => installed, } exec { ...
0
votes
0answers
90 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 ...
0
votes
0answers
106 views

Combined Windows and Anonymous authentication in IIS combined with Tomcat ISAPI filter

I have Apache Tomcat (version 7.0) running with an AJP-connector. I have configured the IIS (version 8.5) with an ISAPI-filter to forward all the calls to Tomcat's AJP and have enabled Windows ...
-2
votes
2answers
51 views

Creating a self signed certificate for demonstration purposes on Centos 7 server

I have setup my default tomcat website (tomcat 8.0.3) on a server inside my company LAN. From my work computer if I try to access the website by typing it into google chrome it is not working. The IP ...
0
votes
1answer
297 views

Not able to access Tomcat webserver from another machine in the LAN

I have setup the basic tomcat website (tomcat 8.0.3) on a server inside my company LAN. From my work computer if I try to access the website by typing it into google chrome it is not working. The IP ...
0
votes
0answers
112 views

virtualhost don't redirect to tomcat apache 2.4

I'm trying to redirect a specific domain to a application that runs on a tomcat server. My apache (2.4) runs on Ubuntu Server 14.04 and I really tried every answer here on stackoverflow. Most of them ...
0
votes
0answers
169 views

nginx proxy_pass to tomcat webapp

I want to configure nginx as a reverse proxy for different webapps hosted on a tomcat. Basically, all requests to http://localhost:80/A/some/other/params (nginx is running on port 80) should be ...
0
votes
1answer
178 views

Tomcat does not replicate session attributes

I am struggling with configuration of session replication in Tomcat cluster. Ramki's articles about Tomcat Clustering helped me a lot. Load balancing and sticky session works well. SessionIDs are ...
0
votes
2answers
75 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 ...
1
vote
5answers
145 views

Get the pid if 2 tomcat(s) is running

I have 2 tomcat's running, how do I get the pid if both have similar names? ps -ef | grep java root 12952 1 0 10:01 pts/0 00:00:03 /usr/lib/jvm/jre/bin/java ...
0
votes
1answer
195 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 ...
0
votes
0answers
48 views

Java application times out in Tomcat 7, not when standalone

A java program is to upload a file to a site. When it runs as standalone it's working, total time its taking is around 2.5 mins. But when the same java program runs under tomcat 7 it is throwing ...
0
votes
0answers
41 views

tomcat https static content

We are using tomcat to serve everything over http. BUT, we have a login page which is served over https since we have them enter a password. Recently, chrome has stopped supporting serving non secure ...
1
vote
1answer
160 views

Growing memory use

Let me start with picture: This is memory usage of our backup Tomcat server. It is just hanging there, processing simple healt check request every couple fo seonds and waiting for main server's ...
0
votes
0answers
292 views

sending tomcat catalina.out to syslog

we're on tomcat 6.4 on centos. I've been trying to get the catalina.out logs in tomcat to syslog. For reasons it's very important that I don't send the raw logs, they have to be tagged with OURTOMCAT: ...
0
votes
1answer
33 views

Is it possible to only restart part of tomcat servlet engine?

I've configured tomcat server to have multiple server instances, each on a separate port. Here is part on server.xml: <Server port="8005" shutdown="SHUTDOWN"> ... </Server> <Server ...
0
votes
1answer
341 views

Port 80 to port 8080 Redirection: Apache with Proxypass Too Slow Whereas Accessing xyz.com:8080 directly is very fast

We are facing a Strange Problem....We have a busy server...and the response time is going about 1 Minute Per Request(very slow).....which is running in front of Tomcat.....if we are accessing site ...
0
votes
1answer
211 views

Tomcat Clustering With Apache-[warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy

I am new to apache and tomcat, and trying to implement clustering with mod_proxy and able get run multiple tomcat instances but got stuck. Here is my config: httpd.conf: LoadModule proxy_module ...
1
vote
0answers
191 views

Disabled SSLv3 in Tomcat, but Still Showing POODLE Vulnerability

I have a Windows 2008 server with Tomcat 7.0.59 & Java 8u31 & I am trying to ensure that SSLv3 is disabled. Looking at the changelog for Java, SSL3 should no longer be supported and the Java ...
0
votes
0answers
138 views

Apache Tomcat for Windows - cannot get https to work

Environment: Windows 2003 Server 64-bit Running on VMWare ESX 5.5 8GB of Ram Apache Tomcat 6.0.36 Server D:\Program Files\Java\jdk1.6.0_26\jre\bin\server\jvm.dll JDK 1.6 update: 26 Have been able ...
0
votes
0answers
204 views

Tomcat is not starting although JAVA_HOME path is correct

I have linux server in which I run several Tomcats. The current Java I use is 64 bit. All Tomcats use 64 bit java but one. This one Tomcat needs to run with 32 bit Java. If I don't change anything, ...
0
votes
1answer
251 views

Tomcat8 setup port to 80

I followed this http://www.mogilowski.net/lang/en-us/2014/04/22/install-apache-tomcat-8-on-debian-7-wheezy-with-virtual-hosts-and-apache2-integration/ to install tomcat on an VPS, version 8.0.20... ...