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
0answers
64 views

Using SSL to secure Solr with Tomcat - Admin Dash Fails to Load Properly

Tomcat: 7.0.56 / Java: 7 Upd: 71 / Webapp: Solr 4.10.1 / OS: Windows 2012 R2 Busy trying to secure Solr to compensate for the lack of security prevalent for a developer. We're having some difficulty ...
0
votes
0answers
18 views

What are the default accessible resources for a webapp in Tomcat?

When a deploy a web application in Tomcat by default all directories I create under %TOMCAT_HOME%/webapps/mywebapp/ are accessible, i.e. files contained in the directories can be served. Except ...
0
votes
0answers
49 views

Apache tomcat server for yum repo

I have a system that currently has apache tomcat on it (RHEL 6.5). I also want to make a yum update repo on this system for other systems on the network (also RHEL 6.5). I know I can use the apache ...
0
votes
0answers
26 views

How to move tomcat applications with minimal downtime

I am looking for advice on how to move my tomcat server to a new IP. Here is my situation: I have a Tomcat server which runs on an old Ubuntu. It contains 4 active applications (all having a virtual ...
0
votes
0answers
76 views

get tomcat worker status from jkmanager

We have 3 Machines mod_jk with load balancer first Worker on tomcat8 2nd Worker on tomcat8 everything works as expected but, when one of the tomcat is being shutting down the status page on the ...
0
votes
0answers
34 views

How to profile how much memory my tomcat server needs?

I'm running a tomcat server on my own for the first time and I was shocked by how much memory Java apps need compared to apps in other languages. Since I am paying a web host, I want to determine how ...
0
votes
0answers
113 views

Starting a second tomcat instance with a user other than root on redhat linux

I am running RHEL Server 6.1 After intalling tomcat6 using yum install tomcat6, I needed a different tomcat instance on the same server. Following instructions on ...
0
votes
0answers
39 views

Can't connect to Tomcat

I an new to Tomcat and having some problems - I have installed Tomcat 7 and it is running and set to use port 8080 in server.xml. I have opened port 8080 in iptables (and saved iptables) but I cannot ...
0
votes
0answers
161 views

How to protect tomcat application - user authentication with fail2ban?

AFAIK tomcat6 does not use Apache std .htaccess auth, but has own user authentication method. My question is: How to protect it against brute force attack with fail2ban ?
0
votes
0answers
171 views

Optimizing performance of Apache Tomcat serving Cognos TM1 application

I have inherited a project to optimize the performance of the Cognos TM1 application for my organization. When running reports from the web server, it takes a very long time (varies from 20-30 ...
0
votes
0answers
123 views

High CPU Utilization from apache tomcat

In our environment, we have two tomcat servers on a windows environment which are load balanced. Server 1 has normal CPU utilization whereas Server 2 has almost/more than double the CPU utilization of ...
0
votes
0answers
70 views

Tomcat reach close to 200% CPU usage even after I stop all applications using Probe

I have a running tomcat that is reaching 198% CPU usage. I though that maybe it was one of its web applications however, I stopped all applications using Probe but the CPU usage did not go down. This ...
0
votes
0answers
41 views

Client authentication on tomcat fails

I have a Apache Tomcat 7.0.39 server running on a Windows server machine and I'm trying to enable client authentication. I first tried this using eclipse on a client machine I have (also on windows ...
0
votes
0answers
208 views

tlsv1 alert internal error - SSL certificate misconfiguration on Tomcat7

I have configured a certificate on my tomcat7 a few weeks ago and, after having an issue using a facebook plugin on my website, the Facebook Plataform Team pointed that: 'this issue is caused by an ...
0
votes
0answers
164 views

Nginx doesn't properly reverse proxy pass cookie to tomcat

My tomcat application tries to read a cookie but on the first load it can't read it. After a reload or couple reloads it will read cookie properly. This is intermittent after a few hours or so. I know ...
0
votes
0answers
45 views

How to override <Environment/> in my ${catalina.base} instance?

I am running tomcat 7.40 with an <Environment/> defined in the ${catalina.home}/conf/context.xml : <Environment name="conf_root" value="/path1" type="java.lang.String"/> Now, I ...
0
votes
0answers
86 views

Apache2.4.6 and wstunnel don't correct proxy to tomcat7

I have everything being proxy correctly just that my websockets keep giving me an unexpected 200 response error. I am using native websockets on chrome and firefox. my conf file looks like this ...
0
votes
0answers
112 views

Tomcat aplication status shows AJP threads busy for long time

We are running a JEE application inside a Tomcat 7 container on a machine with Windows SO. Sometimes, the application response time become really bad and a little after that app freezes and a tomcat ...
0
votes
0answers
18 views

Handle compression on Apache without propagating the Accept-Encoding to back-end Tomcat server

I have Tomcat fronted by Apache. I want to handle compression on Apache only, without Tomcat being aware. I disabled compression on Tomcat already, but due to a problem with the application running on ...
0
votes
0answers
46 views

Permission Issue for mounted Folder

We are using Jboss5.1.0 installed in Oracle Linux Server. We have mounted the Virtual Folder Directroy from Windows 2008 R2 Server which servers images and css files. we have mounted the virual ...
0
votes
0answers
36 views

Web request unable to enter Server

I have a website hosted on AIX server on Tomcat. It receives its requests from another server with Apche installed on it and the server with Apache on it sets on request header as well. Recently I ...
0
votes
0answers
99 views

Handle many requests Web Services

I created a web service with Jersey and Tomcat in localhost. Now I want to expose my web services to all users in the world, so let's assume you have many concurrent requests. I have access to a ...
0
votes
0answers
107 views

tomcat virtual host 404

I have a tomcat instance running and I am trying to add virtual hosts to it. I have modified the Server.XML file which consists of following host def <Host name="www.test.com" ...
0
votes
0answers
123 views

How do you stop tomcat after changing the shutdown word in server.xml?

Running tomcat-7.0.33 on CentOS. I have a security requirement to change the tomcat shutdown word in server.xml to a random string of characters, so I need to go from this: <Server port="8005" ...
0
votes
0answers
159 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: ...
0
votes
0answers
28 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
0answers
26 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
0answers
126 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
0answers
27 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
36 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
0answers
119 views

For Tomcat 7 with NGINX, is APR still useful?

I've been having trouble keeping some Tomcat 7 servers running - they spontaneously shut themselves down. So I am looking at my config wondering how much I need certain things. I am using Tomcat 7 ...
0
votes
0answers
115 views

Tomcat 7 log file date format

Tomcat7 log entries use a date format: Mar 30, 2014 11:50:32 AM How do I change it use the format: 2014-03-30 11:50:32 This would make it much easier for Zabbix to parse the log file for ...
0
votes
0answers
75 views

optimal ulimit value for debian

I have an issue with my tomcat service, for more background info click here. What I am here about is that i suspect it has to do with my ulimit as my application does use rabbitmq and similar ...
0
votes
0answers
46 views

How to make a docbase with Jboss-as-7.1

I want to know how it's possible to serve ( ie: to read) external files in my web application using Jboss-as-7.1 . It's easy to do with Tomcat but i'm newbie in Jboss. Thank you
0
votes
0answers
327 views

Tomcat 7 Session Persistence disable not working as expected

As documented in https://tomcat.apache.org/tomcat-5.5-doc/config/manager.html#Disable_Session_Persistence , I added the following code piece to disable session persistence in Tomcat 7. ...
0
votes
0answers
140 views

How vulnerabilities in the Java affects application running in Tomcat/JBoss

I wonder what impact has Java vulnerabilities on application in Tomcat. For example Java 1.6u45 has many reported security bugs (Remote Security Vulnerability). You can easily exploit it on client ...
0
votes
0answers
91 views

Apache Tomcat & SSL - not connecting from different Sub Network

we are deploying an Apache Tomcat .WAR application provided from a third party. We have followed all the instructions provided from the party. The specs are: windows 2008 server Apache Tomcat 6.0.37 ...
0
votes
0answers
78 views

Running two different application servers on the same Oracle RAC database

I would like to set up a basic high availability solution for one application server (Tomcat, JBoss). Is it possible to run to clone each application server and connect clone a to node1 and clone b to ...
0
votes
0answers
68 views

Azure web role runnig Java returns 500

I am new to Java/Apache tomcat I needed to build a web service in azure cloud services, using java. The web service is running on apache tomcat 7, jdk 1.7 and communicating a mongo-db that is running ...
0
votes
0answers
547 views

Nginx cookie path for JSESSIONID not set

I have a problem with the JSESSIONID of a web application that is running on a Tomcat. The webapplication is running at https://alm-staging.domain.de/webclient.webapp/. Nginx should proxy all request ...
0
votes
0answers
344 views

Nginx proxy_pass to Tomcat non-root webapp?

I would like to use nginx as a proxy to a Tomcat non-root app but am having problems to do that. This is the code that I use: location / { proxy_pass http://127.0.0.1:8080/app_v1.1.0/; ...
0
votes
0answers
60 views

Tomcat container managed global security and second authentication in webapp

I like to secure all webapps deployed to Tomcat with a single (form based) login. Hence I successfully configured a security-constraint in Tomcat's conf/web.xml with the url-pattern /*. User ...
0
votes
0answers
237 views

My Bitnami Tomcat Stack (on EC2 AWS) is generating DoS attack

I have a very small java web app that is deployed on a Bitnami Tomcat Stack on AWS. We are using this app in the company with only 5-10 user base daily, and generating only below 100MB of traffic per ...
0
votes
0answers
112 views

Tomcat fails to return syn requests to F5

I have an F5 LTM sitting in front of two tomcat servers which host 4 applications. When I initially create the pools and add the members to the LTM I can hit all applications. This is the weird part, ...
0
votes
0answers
176 views

SSL Integration with apache used for load balancing

We are using apache mod-proxy on top of tomcat to achive load balancing. It is working fine , now we are planning to move to https from httpd . For that my configuration looks as follows ...
0
votes
0answers
59 views

Tomcat still deploys ROOT to “/”, even with autoDeploy=“false”

I want to make my tomcat webapp the default one (on / instead of /myWebapp). Since I don't want to move the webapp folder (for various reasons), I followed Method 2.2 in the Tomcat wiki. Now my ...
0
votes
0answers
216 views

CPU usage rises to 100% in a few minutes on Tomcat web sever

I have an web app running on Tomcat 7 server. The rest of the configuration is: Intel i7 3930 32GB RAM 2x2TB HDD 20TB Bandwidth Debian 6 mysql 5.5.9 I'm using Ganglia for monitoring the load. ...
0
votes
0answers
217 views

Proxy Server for my Tomcat7 Websocket Application?

I have a Java Servlet application running on a Tomcat server. My app uses Websockets. I want to use a proxy server which should root to my Tomcat running on pert 8080. What proxy should I use for ...
0
votes
0answers
494 views

HAproxy 502 Bad Gateway

I have Ubuntu 12.04LTS running. My webserver is Tomcat 7.0.42 and I use HAProxy as proxy server. My application is a servlet application which uses websockets. Sometime when I request my page I get ...
0
votes
0answers
421 views

Tomcat with SSL - java.io.IOException: Keystore was tampered with, or password was incorrect

I am trying to use tomcat setup over SSL. I generated the keystore using this command $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /home/user/.keystore Then I used the ...