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
29 views

Tomcat : Multiple domain names redirect to one domain

I have a Webapp running on Apache tomcat on Debain wheezy, using a single domain name currently. The webapp uses SSL certification too. Now, the company which I am working for, bought similar domain ...
0
votes
0answers
66 views

How to configure Easyrtc Application in Apache Tomcat?

I have developed one easyrtc application . Easyrtc(Node Server) run on 9090 port and apache tomcat run on 8443 port. I have deployed this application on apache tomcat server using ...
0
votes
0answers
21 views

Tomcat 7 individual deploy logs

I (as a sysadmin) have setup tomcat 7 to autodeploy .war files for users which works well. However, if there are deployment errors, they are logged to catalina.out, which is not readable by the users. ...
0
votes
0answers
33 views

Apache + Tomcat, setting content type when serving PDF via servlet

We have a servlet that creates a PDF for download. The content is served via an xhtml file. When accessing this URL via tomcat only, content is served as expected -- the PDF renders. However when ...
0
votes
0answers
147 views

Apache web server response header expires

I've got an app that runs on a tomcat web server, and I use mod-jk on my apache web server side. I think I've managed to configure everything to work seamlessly, I ran into issues when I wanted to ...
0
votes
0answers
59 views

Cannot access apache2 and tomcat running on my ec2-instance

My ec2 ubuntu instance has apache2 working on port 80 and tomcat working on 8080. I'm not able to access them from my browser, i checked the access.log for apache2 it doesn't show the request coming ...
0
votes
0answers
23 views

Unable to understand site structure in server

I am working with an Apache load balancer and two tomcat servers. When i was adding a new site.conf to /etc/apache2/sites-available I noticed some discrepancies in the server name and server alias of ...
0
votes
0answers
23 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 ...
0
votes
0answers
232 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 ...
0
votes
0answers
38 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
0answers
94 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
55 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
0answers
53 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
0answers
108 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
0answers
99 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 ...
0
votes
0answers
125 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 ...
0
votes
0answers
103 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
129 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 ...
0
votes
0answers
115 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
190 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
0answers
57 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
43 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 ...
0
votes
0answers
326 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
0answers
153 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
245 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
0answers
105 views

NGINX configuration with Tomcat Application with session

I am new to NGINX and am trying to configure NGINX to pass requests to a domain address to a web application running in Tomcat. How can I configure nginx to pass domain requests to the application ...
0
votes
0answers
27 views

Our tomcat just crashed due to classnotfound, not sure how to investigate

Our server has been in production for years without issues, but today it crashed out of the blue. Last in the logs: Exception in thread "main" java.lang.NoClassDefFoundError: ...
0
votes
0answers
34 views

Deploy from Eclipse to Tomcat cluster

I've the following cluster configuration in server.xml on each server (there are two): <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"> <Deployer ...
0
votes
0answers
68 views

Any benefits to proxying from nginx to tomcat behind cloudfront+elb?

Are there any additional benefits to having nginx sit in front of tomcat on our ec2 instances, when those instances are already only serving dynamic requests behind cloudfront and ELB? I'm thinking ...
0
votes
0answers
47 views

Can Apache mod_proxy_balancer redirect to a specific worker when it fails?

With Apache 2.2 mod_proxy_balancer, I am load balancing 2 tomcat (T1 and T2) instances, and 1 more tomcat (T-HA) for failover. I know that I can set the T-HA with status=+H for that purpose, like the ...
0
votes
0answers
178 views

Artifactory behind Nginx without directory /artifactory in the url

On our old server (hosted), Artifactory was running behind an Apache proxy. The public url was http://repo.example.com/ Our hosting provider moved us to a new server. A new version of Artifactory ...
0
votes
0answers
25 views

IIS ISAPI filter - Logfile rotate

See http://tomcat.apache.org/connectors-doc/reference/iis.html My settings are log_level=info log_file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\logs\isapi.%Y-%m-%d.log ...
0
votes
0answers
291 views

How to reduce Tomcat response time (OR increase throughput)?

I have Tomcat 8 and MySQL 5.6 running in 2 Azure virtual machines (8 cores and 28 GB RAM). My web application provides a REST API to insert several data fields into DB. The application uses a common ...
0
votes
0answers
42 views

Redirecting Particular Server Request to Another Tomcat worker

I am currently using Tomcat, Apache and mod_jk for redirecting calls from 80 to 8080 on a Ubuntu Server. Of recently one of the Servlet request (which behaves more like a heartbeat ping, but gets some ...
0
votes
0answers
126 views

tomcat not logging to catalina.out

We have a server running a tomcat app that's not logging to catalina.out, we've checked the filesystem permissions, everything looks fine there. the logging.properties is the same (md5sum) as on ...
0
votes
0answers
303 views

Ubuntu 14.04: tomcat7 permission denied

I have been running a tomcat7 application on my Ubuntu machine and everything worked fine. Since some time, probably after a system update, I'm getting strange permission denied errors and I'm quite ...
0
votes
0answers
73 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
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
151 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 ...
0
votes
0answers
87 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 ...
0
votes
0answers
178 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
99 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
0answers
58 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
0answers
46 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
0answers
77 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
0answers
113 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
0answers
25 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 ...
0
votes
0answers
74 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 ...
0
votes
0answers
90 views

How to move tomcat applications with minimal downtime

I am looking for advice on how to move my tomcat server to a new IP. Here is my situation: I have a Tomcat server which runs on an old Ubuntu. It contains 4 active applications (all having a virtual ...
0
votes
0answers
175 views

get tomcat worker status from jkmanager

We have 3 Machines mod_jk with load balancer first Worker on tomcat8 2nd Worker on tomcat8 everything works as expected but, when one of the tomcat is being shutting down the status page on the ...