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

-2
votes
0answers
12 views

Website always takes very long time to load page only in running environment but not local

I'm sorry to upload same article on stackoverflow. I'm web developer in Korea. Because of delays of our web application installed on running server(real, not testing) I'm writing this question. ...
0
votes
1answer
8 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
8 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
25 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
41 views

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

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
12 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
32 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
25 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 ...
0
votes
0answers
12 views

Tomcat: create an install package that includes server and java web application for Windows [on hold]

I am trying to find a way to make a install file that will contain tomocat and files that will be hosted. Is it possible?
2
votes
1answer
53 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
28 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
18 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
39 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
62 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 ...
0
votes
0answers
3 views

How to free a port on OS X when lsof(1) reports that it is not in use [migrated]

I am a developer working in OS X on Eclipse. A bug I have been working to fix in a web application results in some very strange behavior when resetting an instance of Tomcat, resulting in the ...
0
votes
0answers
36 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
71 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
12 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
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 ...
0
votes
0answers
15 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
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: ...
0
votes
0answers
22 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" ...
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
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
57 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
28 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
39 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
41 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
77 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
35 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
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 ...
0
votes
1answer
22 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
72 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
46 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
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 ...
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
107 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
201 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
37 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
23 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
22 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
87 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
42 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 ...