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
1answer
18 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
16 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
10 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: ...
0
votes
0answers
16 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
26 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" ...
0
votes
0answers
11 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
26 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
10 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
16 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
42 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
10 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
18 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
22 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
votes
0answers
10 views

How to tomcat with self signed certificate

I have generated self signed certificate using openssl, which created two files : domainname.crt domainname.key Later, I modified ssl.conf file defining the path to these two files and restarted ...
1
vote
1answer
58 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
26 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 ...
-2
votes
1answer
58 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
0answers
10 views

Tomcat logging information

I know that Tomcat will generate catalina.log, host-manager.log, localhost.log, manager.log, localhost_access_log.txt. I want to know what kind of information will be recorded in these log files.
0
votes
1answer
14 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 ...
0
votes
0answers
44 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 ...
-1
votes
0answers
22 views

How important is it to protect internal Tomcats from the likes of POODLE, FREAK, etc.? [closed]

So we have a number of internal Tomcat servers for various applications. Since these are not externally accessible how important is it to protect these from vulnerabilities like POODLE, FREAK, etc.? I ...
1
vote
1answer
37 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 ...
3
votes
0answers
61 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 ...
0
votes
0answers
12 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
95 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 ...
0
votes
4answers
101 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 ...
1
vote
1answer
32 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 ...
1
vote
2answers
19 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 ...
0
votes
1answer
18 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
46 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
55 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 ...
1
vote
1answer
36 views

Set VirtualHost for Tomcat 8 webservice on AWS EC2

In addition to the default Apache on AWS EC2 Linux I have installed Tomcat 8 and deployed a webservice on it. The current URL (which works) is http://example.com:8080/MyService/api/generatePath I ...
0
votes
0answers
78 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
25 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 ...
2
votes
2answers
83 views

How to restrict acess to a context on reverse proxied tomcat context?

I have a tomcat application running with an apache reverse proxy. I'm trying to restrict access to the manager and host-manager contexts from localhost only. So I uncommented the following line on ...
2
votes
0answers
35 views

Tomcap APR native libraries

I have a Solaris 10 box on which I have successfully built the tomcat native libraries from source which include apr-1.5.2.tar.gz, openssl-1.0.2a.tar.gz, and tomcat-native-1.1.33-src.tar.gz. I can ...
0
votes
0answers
52 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
1answer
48 views

Unable to copy war file from local directory to webapps of tomcat stack in Google Cloud because of permissions

I am doing one android application (client-Server type). Up to now ,I installed tomcat in my system itself . So now server is my computer and client is my phone Now I want to deploy my server ...
0
votes
0answers
18 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
27 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
2answers
65 views

Tuning Tomcat java app with Apache reverse proxy and Postgresql

Looks like my apache reverse proxy may be acting as the bottleneck and bogging down the number of requests users can make. I run Apache and Tomcat on server1, which has 96 gb RAM, rhel5 x64, 24 ...
1
vote
2answers
220 views

Edit “server.xml” in Tomcat without restarting server?

I edited the "server.xml" file in Tomcat 8’s conf folder. I added a new Host tag for a new web site. Must I restart the Tomcat server? Can I get Tomcat to parse and apply the newly edited ...
0
votes
0answers
116 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
57 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 ...
1
vote
2answers
46 views

How to separate solr/home and data/dir in Catalina/localhost XML file?

I've the following configuration file within conf/Catalina/localhost in Tomcat 7: <Context docBase="webapps/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" ...
0
votes
1answer
28 views

How to override default `solr.home` in XML files under `Catalina/localhost`?

I'm trying to configure two instances of Solr on the same host and I'd like to override solr.home for each instance. I've created two files under Catalina/localhost/ as suggested in Solr Tomcat wiki: ...
0
votes
1answer
83 views

How much memory must be left to the OS with a java server application? [closed]

Suppose I am running tomcat with -Xms256m -Xmx1024m, but would like to increase my heap usage. What is the largest safe heap size I can allocate? For the purpose of this question, please assume, ...
2
votes
1answer
533 views

WARNING: None of the ciphers specified are supported by the SSL engine

I have a working web service running through Apache Tomcat 7 with the following connector element in server.xml: <Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol" ...