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 (1)

0
votes
1answer
14 views

Nginx load balancer and Tomcat startup delay

I am using nginx (free version on centos) as a reverse proxying load balancer to a cluster of Tomcat 7 servers. It works great except for the time when tomcat is starting. If a Tomcat instance is ...
-1
votes
2answers
37 views

CENTOS Vs Windows 2008 R2

We have an application running on Windows Server 2008 R2 with Apache WAMP, Tomcat, Mysql, PHP and java SE for last 4 years. Its a Web based ERP application. I would like to know if it makes sense to ...
-1
votes
1answer
23 views

Hidden Directory Detected

My company web application had a penetration testing done and there's a risk found is regarding the hidden directory: http://example.com/aux/ http://example.com/cgi-bin/ http://example.com/com1/ ...
-2
votes
0answers
18 views

I am getting authentication page twice on opening browser for first time

I am getting authentication page twice on opening any browser for first time. I am using tomcat authentication. On opening fresh browser (not new tab) when i try my url, Authentication page gets ...
1
vote
1answer
14 views

Unable to access multiple virtual hosts under tomcat

I work under tomcat, and would like to have several apps to launch under the same tomcat In local, I called to hosts : localhost localhost_test Unfortuentaly, I only can access localhost. If I try ...
0
votes
1answer
13 views

tomcat extract multiple war files simultaneously

I am a newbie in tomcat. I have a project that contains multiple war files (more than 15). When I deploy these many war files and start tomcat application, it extracts folders for each war file ...
1
vote
1answer
30 views

can't get tomcat to offer TLS_ECDHE_ECDSA_… ciphers

my tomcat (7.0.52) Connector is configured with a cipher list like ciphers="TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, ...
-2
votes
0answers
27 views

500 internal server error, mod_jk issue

I work under Ubuntu I installed apache2, and want to link it with tomcat, through mod_jk apache2 is based on port 80 Tomcat is based on port 8080 Tomcat should be linked under ...
-1
votes
1answer
25 views

Hot redirect http/https request coming to port 80 to a internal tomcat server on 8080 [closed]

I have a production server with a domain name. It has a tomcat server on 8080. It has several web applications. So I want to map the http/https requests coming to that server to these web ...
0
votes
0answers
21 views

'check_tomcat.pl' plugin returning CRITICAL: /manager/status?XML=true HTTP/1.1 404 Not Found

I don't know what I'm doing wrong. I'm trying to use this plugin, check_tomcat.pl but it doesn't seem to be configured correctly. Keeps returning the error: CRITICAL: ...
4
votes
1answer
42 views

ssl certificate installation on tomcat

I am trying to create a new certificate for my scala play framework on ubuntu but I cannot import my key with keytool. I haven't been able to figure out what is causing it so I thought I'd see here if ...
0
votes
1answer
24 views

How to monitor tomcat application and restart if not running?

I have a web application running on Tomcat and would like to have an automated way of monitoring the application to ensure it is running, and if not start/restart tomcat (and also send an email ...
0
votes
0answers
25 views

Tomcat 7 went <defunct>, cannot kill the process. What might be the cause?

I was running tomcat7 production server for several days, and then suddenly it was unreachable by the http port. Strangely though, the background processes were still running as can be seen by the ...
1
vote
0answers
31 views

Tomcat Memory - Setting in setenv.sh not respected

I have Tomcat 7.0.35 on CentOS. I have configured setenv.sh to have the following: export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" However under ...
0
votes
1answer
30 views

docker tomcat with jmx

I'm trying to create a docker image with tomcat and JMX activated. So I clone this tomcat docker image https://github.com/tutumcloud/tutum-docker-tomcat. I exposed the port 1099 and edited the run ...
0
votes
0answers
15 views

nginx $upstream_cookie_… variables

nginx 1.7.1 introduced Feature: the "$upstream_cookie_..." variables. see http://nginx.org/en/CHANGES What does it do and how do you use it? Can that be used for Session Affinity when proxying to ...
0
votes
2answers
24 views

Can you use Redirect and Proxypass at the same time

I am using Apache 2.2.15 on CentOS to provide SSL for a TomCat application. ProxyPass / http://127.0.0.1:8090/ connectiontimeout=300 timeout=300 ProxyPassReverse / http://127.0.0.1:8090 This works ...
0
votes
1answer
79 views

Tomcat & Java not listening on IPv6

We've got a webserver running Ubuntu 12.04 LTS, Tomcat 7 and Oracle Java. So far, we have been serving a web app on IPv4 address on ports 80 and 443 (80 redirects to 443). I'm trying to make the ...
-1
votes
0answers
30 views

How to check if Apache Load Balancer is working correctly?

Are there any tools or techniques to check that load balancing is done correctly? Would be grateful for any hints to do the monitoring/benchmarking.
0
votes
1answer
35 views

Tomcat cluster - how to verify node starvation?

We have a tomcat cluster with a load balancer (haproxy). As part of our upgrade script we would like to starve a single tomcat in the cluster of 3, wait until all the requests are handled for that ...
-1
votes
0answers
15 views

Choosing right vps or dedicated machine for mysql & java web app [duplicate]

I have a java web application which uses apache http server + tomcat + mysql. I am presently using single vps with 4 cores and 4 gb. Now we are looking to migrate it to better servers as performance ...
0
votes
1answer
40 views

Apache mod_proxy_balancer + Tomcat load balancing - Should not redirect until web applications are ready

I am using apache2 mod_proxy and mod_proxy_balancer to balance the load to 4 seperate tomcat8 instances on different servers. I am using different AJP ports for each tomcat instance and using jvmRoute ...
1
vote
2answers
61 views

Apache httpd mod_rewrite with Tomcat resulting in lost JSESSIONID

So I'm working on a Java web application, for which I recently implemented an authentication module that relies on the JSESSIONID cookie to identify users. I was testing on a local tomcat from eclipse ...
1
vote
2answers
62 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 ...
-1
votes
0answers
41 views

Selecting right VPS configuration for hosting java web application [duplicate]

I have a java application developed using struts2, spring, hibernate and jasper. We use mysql database as a backend and apache fronting with Tomcat as application server. Also have 10 cron jobs ...
1
vote
0answers
20 views

apache mod_proxy_ajp tomcat incomplete files occasionally

We have an issue where some users are seeing incomplete files returned from the web server that are proxied to Tomcat using mod_proxy_ajp apache 2.4.6 tomcat version 7.0.27 The files in question ...
1
vote
1answer
39 views

Redirect URL to a Tomcat webapp

I have a Tomcat server with two webapps, app1 and app2 (the app part is really the same). Each app has an independent group of users. I would like the groups to be able to access their respective app ...
0
votes
1answer
31 views

Tomcat / Railo stop responding with no error output

This is going to sound very vague and I'm sure it will be voted down for not giving enough information however I don't really have any to give as you will see. We have an AWS instance running Amazon ...
0
votes
1answer
25 views

Is there a max length to java_opts arguments on a tomcat process

We have a tomcat startup script with a java_opts that contains a fairly lengthy (around 14 hosts) entry for -Dhttp.nonProxyHosts, I've noticed that although tomcat appears to start properly, entries ...
1
vote
1answer
76 views

Centos running Apache Tomcat keep getting “java.net.SocketException: Too many open files”

We're running Apache Tomcat 7.0.41 on CentOS 6 with java version "1.7.0_21". We were getting a lot of too many open files errors so I did some research. The consensus was that it was to to with the ...
0
votes
1answer
27 views

Include the request URI in catalina.out?

Running Tomcat 7. I have errors in catalina.out that I can't troubleshoot because I'm not sure which web request is causing them. Is there any way to capture more details about a given exception ...
0
votes
0answers
15 views

What is the correct way to completely restrict outside connection in Tomcat 8?

I'm running Solr on Tomcat 8 on a Windows Server 2008 and I want to complete restrict all access to both except local. I've tried adding address attributes to <connector/> tags in the ...
0
votes
1answer
83 views

Create setenv.sh to set system property

I have to use setenv.sh to set system properties. I am using Linux OS and Tomcat Server 6. As described here Linux Environment- setenv.sh , I have created a setenv.sh in tomcat/bin, and the only ...
2
votes
1answer
120 views

Adding a docBase for Virtual Host using the Tomcat Virtual Host Manager

In the Tomcat Virtual Host Manager there is an option to add a virtual host with options for: Name Aliases App base AutoDeploy DeployOnStartup DeployXML UnpackWARs Manager App However there doesn't ...
1
vote
1answer
207 views

Nginx as a proxy for tomcat with subdirectory

I want to set up a Nginx Proxy for the Tomcat server with my domain name such as example.com/demo/sample example.com/demo/manager example.com/demo/other_apps ... Here is my Nginx server block ...
1
vote
0answers
30 views

Configure ISAPI redirector: worker propreties for IIS and Liferay

I Asked this question on stackOverflow, i didn't get any answers sorry if the questions is somehow duplicated, any way : we have fronted Liferay tomcat server with IIS , and we used ISAPI tomcat ...
2
votes
1answer
55 views

Tomcat network access using windows login credential

I have the strange issue with tomcat. I am using alfresco 4.2 e which uses tomcat. My system is Windows 7 Enterprise 64 bit . Alfresco uses network location of our server filer to store the files. ...
0
votes
0answers
64 views

Reverse Proxy and requested URL aware tomcat

I've configured an infrastructre setup where an apache reverse proxy terminates SSL requests. Then the requests are proxied to another frontend apache webserver and then again this one is connected ...
0
votes
2answers
22 views

Limit Tomcat acess to local network Only

I know it's possible to limit the access to one of our oldest tomcat servers ( legacy server, our client doens't want to pay to upgrade :\ ).by adding the address="". But how could i limit the acess ...
0
votes
1answer
27 views

Tomcat memory allocation removed by automatic updates

I'm hosting quite a few servers, for customers and for our own usage. All these servers run Debian Stable. All of the servers are virtual servers. This is for the eventuality that an automatic update ...
0
votes
0answers
17 views

Deploying software - Java Webapps + static webapps

I joined a sysadmin team (of 2 including myself) about 6 months ago and the main chap who knew 'everything' about linux has just left. I am inexperienced with linux but have worked various roles in ...
0
votes
0answers
70 views

SSL Returning Blank Page, No Catalina Errors

This is my second, maybe third, time configuring SSL with Tomcat. Earlier I had created a self signed, which worked, and now using my signed is proving fruitless. I am using Tomcat, operating from ...
0
votes
0answers
15 views

Tomcat/TomEE default security policy

By running a default installation of Tomcat (took from Tomcat website), what is the reliability of its default security policy? I have to run it on a computer with Tomcat's port exposed to the ...
0
votes
1answer
139 views

Howto find Tomcat current thread count

On my Linux server I run tomcat as root and when I run ps aux it gives the following output. root 25667 0.1 29.2 4574004 306980 ? Sl Apr27 33:57 /usr/local/java/bin/java ...
0
votes
1answer
44 views

How to Decide if I should upgrade the Ubuntu Server [duplicate]

I am using AWS micro instance running Apache HTTP Server and Tomcat servers. I have couple of Web Apps deployed on them where I use port forwarding from 80 to 8080 using Apache. Since I work for a ...
1
vote
0answers
34 views

Tomcat to WebSphere - Server Contexts

I have a line that defines the location of reports and images in my Tomcat setup that has the following data: <?xml version='1.0' encoding='utf-8'?> <Context ...
0
votes
1answer
37 views

Several JkUnmount(s) in multiple VirutalHost(s)

I am trying to configure multiple VirtualHosts in my mod_jk.conf. I have a few JKMounts and several JKUnmounts which will be common to all of the VirtualHosts. I was trying to move these *mounts to ...
0
votes
1answer
384 views

Starting tomcat causes “java.io.FileNotFoundException: ../logs/dc.log (No such file or directory)” in catalina.out

I have been seeing this for literally years as part of tomcat apps, and now that I have gone through the steps to investigate it, I can't find the cause. Here's what I see whenever I start tomcat on ...
0
votes
0answers
16 views

Server configuration regarding multiple tomcat instances [duplicate]

I am going to setup an website. I am expecting huge amount of traffic in future. I went through many articles for load balancing in tomcat. I wanted to ask how multiple tomcat clusters are good in ...
0
votes
1answer
44 views

HTTP Basic auth in tomcat

I am trying to enable basic HTTP auth on my tomcat application. Also I want to keep it outside the application. I added a new user to tomcat-users.xml and set its role to 'app-user'. Then I added a ...