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

Tomcat and Apache parallel usage on different subdomains

I have just set up an Ubuntu server with Tomcat7 and Apache2. Apache is running on port 80, Tomcat on port 8080. What I want to do now is to redirect certain subdomains to Tomcat. mydomain.com ...
0
votes
1answer
24 views

Can you redirect a user to a specific version in Tomcats parallel deployment

When using Tomcats parallell deployment, Tomcat redirects users to different version according to this scheme: If no session information is present in the request, use the latest version. If session ...
0
votes
2answers
300 views

SSL/TLS via Tomcat - replaced keystore, still weak DH

I am presently in a battle with a stubborn SSL implementation. I replaced the old keystore with a keystore that included: a certificate from a public CA (yay no more self signed!) an intermediate ...
0
votes
1answer
88 views

Tomcat and Apache webserver on same machine

I need to install ODK Aggregate on my CentOS 6 Server which is already running Apache HTTP on both 80 and 443 (80 is redirecting to 443 to force secure connection). I was reading ODK and it require ...
0
votes
0answers
442 views

tomcat8, java8, Unable to compile class for JSP

I have two computers, both running tomcat8, java8, on Ubuntu. The same webapp runs correctly on one computer, but throws a "JasperException: Unable to compile class for JSP" error on the other ...
0
votes
0answers
6 views

limit tomcat manager access per installed app

For an exercise in a course of mine I need to setup a Tomcat instance for students to use. My requirement now is, that each student just sees (and is able to edit) only those apps within the manager, ...
0
votes
0answers
136 views

Unable to install tomcat using aws cloud formation scripts

I'm very new to the AWS services. I'm trying to use the AWS cloud formation and I created a template. I am unable to create machines using that cause everytime the launch config tries to install the ...
0
votes
1answer
38 views

Forbidden, when accessing public dir with Apache 2.2.22 + Tomcat

I need make /var/html/tomcat/public_www/ accessible from public, but I can't figure out why I still getting Forbidden error page. The permission of this folder are set to 777 & the folder has the ...
-1
votes
1answer
37 views

Url patterns - Servlet of root app vs another app [closed]

I have 2 apps deployed, ROOT and x. I have a servlet in the ROOT app with URL pattern /x/y And a servlet in the x app with URL pattern y Seems like the y in x app is called when I call /x/y. Where ...
0
votes
0answers
84 views

After a sudden heavy traffic, Tomcat 8 accepted new connections but not responding

We are running tomcat 8.0.26 on production environment. After a routine deployment, we were switching traffic to the newly deployed tomcat cluster. The rps on each node was about 800 at that time. ...
0
votes
1answer
81 views

Server not finding files created on certain date

I'm getting this error on 4 .svg images when loading a page: Failed to load resource: the server responded with a status of 404 (Not Found) There are about 15 other .svg images located in the ...
0
votes
0answers
13 views

How tie tomcat host to engine and server? (tomcat6)

I'm trying to get one tomcat instance to run two different sets of webapps from two different directories, on different ports. It seems like it should be simple and I'm just missing something. This ...
0
votes
1answer
24 views

Map URL with folder on Tomcat

I have a Java webservice running on Tomcat (/opt/tomcat8/webapps/mysvr) that is accessed through url http://mysvr.example.com. It works fine with the following configuration on ...
0
votes
0answers
12 views

hardware sizing of web and database server [duplicate]

I would like to do the Hardware sizing for below applications on Linux based OS both in Physical and Virtual environment, can someone provide details on how many servers, type of servers, storage, ...
0
votes
2answers
104 views

Is it necessary to use nginx server to use with tomcat

Is it necessary to install nginx server before using apache tomcat. Can we use only apache tomcat is there any pros cons which choice is better and why. I am using fedora 22 for deploying my ...
-2
votes
3answers
175 views

Not able to find /etc/nginx/sites-enabled/default [closed]

I have installed Nginx server at my cloud space checked by ip it is showing proper page. Now I have also a apache Tomcat8 on port 8080 I want to redirect my port 80 traffic to 8080 for that I am ...
1
vote
0answers
15 views

Java Webapp on Tomcat6 using libservlet3

I am quite new to all this Java stuff. I Installed a bunch of War-Packed Webapps on a Ubuntu Machine with tomcat6. One of them does not work (skos-play), apparently because it needs libservlet3 and ...
-3
votes
1answer
171 views

redirect ssl http to https issue in apache

i am a newbie with apache. need some advise regarding redirecting http to https. It looks like everything in the ssl.conf is copasetic, once i logged on to ssl environment, every links i clicked seem ...
-1
votes
1answer
50 views

Tomcat server port access

I have changed the tomcat default port to 8091 (eg. http://localhost:8091/project) which has been set up in intranet server and is working very fine within the network.I have to provide access to the ...
2
votes
1answer
235 views

Connections Timed Out - Tomcat

I'm having a problem with Tomcat: On a clean install, connecting to [ip-address]:8080 times out. I have seen many similar questions and tried basically everything there, with no success. But here is ...
2
votes
1answer
151 views

connection is encrypted and authenticated using 128. expecting 256

I have two servers that I have been working to configure to use modern ciphers. One is working and the other seems to be reporting mixed results. I'm not sure what the issue is. Specifically when I ...
0
votes
0answers
43 views

Switching reverse proxy from apache2 to nginx: case remote tomcat server

I am in the process of switching from apache to nginx as reverse proxy as new knowledge has been gained around better resource usage of nginx. Since I have apache experience , it took me some time and ...
0
votes
0answers
72 views

Tomcat: multiple domains from a single instance

I'm trying to host multiple domains on a single tomcat instance. I have it working but I'm not sure if it is the correct way to do things. The server.xml Hosts section is changed to this: ...
1
vote
0answers
229 views

Jenkins Tomcat Ubuntu - hudson/WebAppMain : Unsupported major.minor version 51.0

The title sums the setup. I know the Error means the Java versions does not match, between the one tomcat is using and the one Jenkins is compiled. If I run java -version I get: java version ...
2
votes
1answer
180 views

Tomcat two way SSL with APR loses client certificate after a few requests

I found that when accessing a web application that uses client certificate authentication run on Tomcat/APR (on Windows) with Firefox or Chrome, the client cert is "lost" after a short while. To the ...
0
votes
0answers
297 views

Can't create cores on solr 5.2.x due to access rights

I have installed solr 5.2.1 on Ubuntu 14.04 LTS with Java 8.0_51 Somehow the system does not let me create cores. Not through the webmin interface and not through CLI. It seems to be an access right ...
0
votes
1answer
18 views

Need to setup depend services of tomcat and mysql

Trying to set service depend on each other, the command which I am using for it is as below. dependencies are not setting up. seems like there is somw thing wrong with my command : sc config tomcat6 ...
0
votes
0answers
29 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 ...
0
votes
0answers
42 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
33 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
20 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
41 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
113 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
56 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
38 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
45 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
99 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
35 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
117 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
99 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
237 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
135 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
1answer
238 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
111 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
172 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 ...
0
votes
1answer
87 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 ...
1
vote
0answers
279 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
vote
1answer
160 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
141 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
56 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 ...