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
2answers
2k 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 ...
0
votes
0answers
13 views

How do you use CA signed certificate with DAVMail?

Ok, I've followed the directions here: http://davmail.sourceforge.net/sslsetup.html I've generated a csr and had it signed by my CA and have back the server.cer file. The problem is, this doesn't ...
1
vote
1answer
947 views

Loadbalancing with nginx and tomcat

Hello this should be fairly easy to answer for any system admin, the problem is that I'm not server admin but I have to complete this task, I'm very close but still not managing to do it. Here is what ...
1
vote
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
0answers
17 views

Tomcat 7 downloading perl scripts instead of running them

I'm trying to setup my tomcat to run .pl and .cgi scripts but whenever I access the cgi servlet path, it simply downloads the script. I know that with old versions, one had to rename two .JAR files, ...
0
votes
1answer
1k views

Apache tomcat server win8 cannot be accessed outside of local host

I have installed the apache-tomcat server on my local win7. The port I specified is 9999. Additionally, I use the distributed binary version of apache tomcat. Not installing as a windows service. I ...
1
vote
1answer
2k 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 ...
1
vote
1answer
2k views

Simple setup for load-balanced and fail-over tomcat?

Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each ...
0
votes
1answer
25 views

Is there a way to look for files on Apache, then if not found, look in Tomcat?

I have a web application project with very large media files and I would like them seperate from the rest of the application but remain in the same path. So for example,if I have a file in the apache ...
0
votes
1answer
19 views

Dealing with web applications who have very large media folders

I'm in the process of updating a legacy system to use current technologies. One of my tasks was to allow the many different file-based projects to deploy as WAR files which tomcat would extract. Now ...
0
votes
1answer
19 views

Tomcat: keeping specific files when deploying a WAR file

Is there a way to tell tomcat to keep specific files under a exploded WAR file's directory? let's say I have the following folder that I've created after the WAR has been deployed: ...
1
vote
1answer
81 views

Tomcat solution on https://weakdh.org has typos?

Do the non-GCM ciphers listed for the Tomcat fix on https://weakdh.org/sysadmin.html have typos? Under "Apache Tomcat" heading and below the text "In the server.xml file (for JSSE)" there is the ...
0
votes
0answers
23 views

Tomcat 8.0.43 not using Keep Alive

I'm trying to setup a few app servers behind Amazon's ELB and I've been getting some 504 errors that I've been tracking down. Looking at the Tomcat manager app under status, I'm seeing the following: ...
1
vote
1answer
35 views

Tomcat connect to Mysql load balancer

I want to connect tomcat with mysql in a load balanced way. Is this possible in Tomcat 7? What changes are required in the following configuration?. <Resource name="jdbc/TestDB" auth="Container" ...
2
votes
4answers
2k views

Upstart script vs. command-line: why this difference in behavior?

I'm trying to set up Tomcat to start with upstart. I find the following works: description "Tomcat Server" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 10 5 ...
0
votes
0answers
18 views

ActiveMQ - delete VirtualTopic when Consumers = zero

I'm trying to implement a new application using JMS under activeMQ 5.8.0. There are several applications configured as Producers (ie to dump messages in an MQ), two topics, and then the Consumers are ...
-2
votes
1answer
29 views

Load tomcat application via DNS without typing 8080

I am having a Amazon EC2 Ubuntu instance. I have installed LAMP server and tomcat 7. I also have application running in tomcat. Now, my URL for apache is - ...
1
vote
0answers
13 views

Adding mysql driver to tomcat openshift

I have deployed my war file on openshift tomcat. As suggested to deploy war file directly we need to remove the src and pom.xml before coping the war file in webapps folder. pre compiled java ...
0
votes
1answer
17 views

How to stop Apache HTTPS ReverseProxy passing basic auth to TomCat

Apache currently interogates the user for their basic auth credentials, once the correct details are entered it passes basic auth credentials to the tomcat server it's proxying. This confuses the app ...
0
votes
1answer
60 views

Apache not proxying HTTPS requests to tomcat

Centos 7, Apache 2.4, TomCat 7.0.52, Java 1.7 I am trying to configure Apache to proxy a tomcat server (running Jira / Confluence) using HTTPS: (HTTPS:443) -> ApacheServer -> (HTTP:8090 or ...
0
votes
0answers
30 views

Tuckey UrlRewriteFilter unable to match regex with positive lookahead

This is about Turkey's UrlRewriteFilter I have a rule to convert the first segment of url to lowercase, provided that there's an uppercase letter in it. This is what it looks like: <rule> ...
0
votes
1answer
41 views

fail2ban config failregex for Tomcat 8 [closed]

The current fail2ban version 0.9.1 does not have a pre-configured filter for Tomcat. In case anyone needs it, here is a regex that works for me. Note that my application is not expected to have any ...
0
votes
0answers
43 views

Tomcat + Railo: Error to start

Today I run updates in Ubuntu 12.04. I have done a reboot of the server. But tomcat can no longer to boot. These are the errors: /opt/railo/railo_ctl restart * Shutting down Railo: Jul 18, 2015 ...
1
vote
2answers
302 views

Tomcat 5.5: “Exception processing JAR at resource path” leads to java.lang.OutOfMemoryError

We have an old server running Tomcat 5.5. Yesterday we deployed a war file, and then it started to crash. Looking at catalina.date.log I found some java.util.zip.ZipException and then ...
1
vote
3answers
701 views

HOWTO run Wordpress site along with Tomcat web aplication on the same server

I am building a solution where the CMS part of the site (i.e. About US, Contact etc) will be run on Wordpress & the private pages will be a Java-Servlet based stack run on Tomcat 7. Both of these ...
0
votes
2answers
1k views

fedora tomcat log file path

My log file is inside: kamil@localhost tomcat$ grep "logs/" ./* ./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log my CATALINA_HOME is kamil@localhost tomcat$ sudo grep ...
0
votes
0answers
37 views

Tomcat server pauses and then stops

I am running Jenkins war in tomcat 6.0 and strangely, tomcat server keeps crashing every 15-20 mins. Here are some excerpts from the logs : INFO: Test-job #14 main build action completed: SUCCESS ...
1
vote
2answers
26 views

why CATALINA_OPTS arguments shows up in java process on running tomcat even though its an environment variable

I run tomcat process by this command in python : os.execve(cmd, [cmd, "run"], env) The env variable sets CATALINA_OPTS = -server -Xms512m -Xmx512m -Xss512k Now when i run the script following java ...
-2
votes
1answer
82 views

Apache Tomcat 7 on windows 2008: how to make two hosts point to same website

I’m new to Apache Tomcat. I have been asked to point new domain name to the existing domain name. E.g. We have https://xyz.abc.com, we want new domain name http://123.abc.com to point to ...
3
votes
2answers
2k 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 ...
0
votes
1answer
25 views

AJP Connector not working? (404 error)

I'm trying to connect the Apache WebServer (2.4.10) to Tomcat 7, both located in two different VMs. It's my first time using those tools. From what I understood a method to check if the connection is ...
12
votes
6answers
23k 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
80 views

Set up 'tomcat' non-root user in Tomcat 8

I've installed Tomcat 8 in Debian 8 and I need to harden the web server. I'm following the official Tomcat documentation guide and in the security considerations section recommends to create another ...
0
votes
1answer
1k 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

How do I run TomEE as a service on RHEL6?

cat /etc/passwd (last line): tomee:x:990:987::/home/tomee:/bin/false I need to make an init.d script to run Tomcat EE like service tomee start. So I have 2 problems: How I can execute command ...
0
votes
2answers
2k views

Running two independent tomcats on one machine, instead of one tomcat with multiple instances

due to operational need following is the scenario. Two applications running on one machine, operating system is Windows 2003 standard server edition. Application A comes packaged with tomcat ...
4
votes
2answers
5k 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
0answers
109 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 ...
3
votes
0answers
72 views

Nginx: strip cookie from cached content

Trying to replace Apache by Nginx as a web proxy in front of some Tomcat servers, dealing with Set-Cookie JSESSIONID is proving to be challenging. Our Tomcat content is served with Cache-Control and ...
2
votes
3answers
8k views

Setup Apache Tomcat on Synology

I have an problem setting up an Apache Tomcat on my Synology DS1511+ server. The installing is no problem, but when i try http://"serverAdress":7070 i can't log into the the manage section. I have ...
0
votes
4answers
215 views

What exactly is going on when I go to localhost:8080 in my web browser? (Apache Tomcat)

I've spent my career doing all local application programming (C++ applications and whatnot). I'm trying to dig my feet into the web world now, however. I'm using Eclipse (Mars) and Apache Tomcat ...
0
votes
0answers
16 views

I need to change the URL of Tomcat Server because I want access it from other devices

Tomcat as URL uses localhost:8080. I want that URL be something like: 'www.movieuniverse..' in order to have a simple access to it without insert an address. I would want this access be possible to ...
1
vote
0answers
111 views

How to start tomcat with faketime within a docker container?

I use docker to deploy a Java web application in tomcat. For testing purposes, I want to force the system date to a specific value. With Docker it is not possible to change the container date without ...
1
vote
1answer
38 views

Access static files on Tomcat directory using VirtualHost

I am running a Java webservice (JAX-WS) on Tomcat 8 from my AWS EC2 Linux instance, and I have a subdomain pointing to the service, so that I can call the service with URL ...
2
votes
2answers
248 views

only port working with mod_proxy is 8009, trying to use with tomcat and httpd, dont know why

I am trying to use mod_proxy with httpd and tomcat. If I leave tomcat ajp to run on 8009 in the server.xml of tomcat and in the httpd.conf of apache httpd everything works great but once I change it ...
0
votes
1answer
23 views

XSS Vulnerability with PCI RapidComply

I have a website hosted on an Apache Tomcat 7 server that uses the Authorize.net gateway and merchant services to handle payment. I recently ran a required PCI Compliance test against my website, and ...
0
votes
1answer
12 views

Will tomcat connect to the port it is configured to as soon as it started?

I'm a newbie in this area. I want to know if I can listen to port 80 which tomcat is configured with as soon as the tomcat service has started. No applications have been deployed to it yet.
0
votes
1answer
56 views

Tomcat 8 installation

I am installing tomcat 8 to unbuntu 14.04 and have been following this tutorial: How to install Apache Tomcat 8 on Ubuntu 14.04 I'm at the stage of installing an upstart script in ...
0
votes
0answers
96 views

Mapping tomcat web application to https-domain subdirectory and subdomain using apache configuration

I have Apache server and Tomcat running on my Debian home server. Now I would like to reach my web application (xwiki) under [HTTPS]myhomeserver/xwiki and [HTTPS]xwiki.myhomeserver, but right now I ...
0
votes
0answers
94 views

Memory issue - Tomcat

I'm having difficulties uploading new sites to my server due to memory. Is this due to size or a memory leak. The problem started when i was adding a new site to our tomcat server. I restarted the ...