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
2answers
454 views

Running two different versions of Tomcat each with a different version of the jdk

I inherited a test system where the Tomcat and JVM didn't match those on the production server - and it matters. Yet I can't change the versions in test. So I want to add to the test server a new ...
3
votes
2answers
637 views

Can Tomcat reload its SSL certificate without being restarted?

I have a background process that can update the keystore Tomcat uses for its SSL credentials. I would like to be able to have Tomcat reload this automatically without needing a manual restart. Is ...
1
vote
1answer
48 views

Tomcat: Log the equivalent of SSL_CLIENT_S_DN

In Apache HTTPD it is possible to create custom request logs which include the value of SSL_CLIENT_S_DN. Since the site requires mutual authentication (client certificates) this provides a good audit ...
0
votes
0answers
72 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 ...
1
vote
2answers
439 views

Session lost in tomcat uing nginx as proxy

I have several applications in a tomcar server. I am using nginx for proxy so i can achieve acceding the application from a subdomain tomat:8080/app1 > app1.mydomain.com tomat:8080/app2 > ...
0
votes
1answer
81 views

How To Work Around Apache Bind Port 80 Error

I believe my problem is related to the order in which windows services start. I have been searching this error before posting here. We are running Windows Server 2003. Both Apache (port 80) and IIS ...
0
votes
1answer
42 views

504 error crash on openshift

I have deployed a java application in openshift. I am using bronze plan. My application is a scaled application and also uses 4GB of memeory. I got an 504 error crash two or more times in a day. ...
-1
votes
1answer
225 views

org.apache.catalina.session.ManagerBase- Start expire sessions StandardManager and End expire sessions StandardManager

I am just a beginner with tomcat and got stuck with following error while deploying a third party application. I have certainly start getting in tomcat (tomcat version is 7 on windows 2008 r2) logs ...
1
vote
1answer
111 views

Log warnings and errors only in Tomcat

I'm running an instance of Apache Solr with Tomcat 6. The scripts I used for installing configured Tomcat to log "everything" which means that it generates huge logfiles because every query etc. is ...
0
votes
0answers
85 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
1answer
265 views

Tomcat and IIS 7 both on different ip's and different ports

I have Tomcat and IIS 7 installed together on a Windows 2008 server. The machine has two IPs (134.133.1.1 and 134.133.2.2). I want Tomcat to handle 134.133.1.1, on port 80, and IIS to handle both ...
0
votes
0answers
17 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
36 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 ...
1
vote
1answer
54 views

Tomcat SFL4j error

I am getting this error when trying to start a new application using Tomcat: Could not find necessary SLF4j logging jars. If using Jetty, the SLF4j logging jars need to go in the jetty lib/ext ...
3
votes
3answers
8k views

How to compress and clean logs with logrotate but not rotate them

I have a Tomcat server which create access logs via a valve (org.apache.catalina.valves.FastCommonAccessLogValve). This valve takes care of rotating the access log file, but not of compressing them ...
1
vote
1answer
269 views

starting tomcat remotely fails to start

When I run my start command via ssh it tells me that its started but it is in fact not the case. Catalina logs does not seem to capture any events either. However stop and status works. ssh -t ...
0
votes
1answer
29 views

Where should I apply the SSL certificate?

I just bought a positive SSL for my company's staging server. We Apache web server and tomcat installed on the server. I'm not an expert but I saw some settings in httpd.conf file that has url like ...
3
votes
4answers
8k views

tomcat6 on CentOS 6: cannot stop/restart service

I have this problem with stopping and starting tomcat6 (package from the repos). I've seen with several CentOS 6 and RHEL 6 boxes. The symptoms are that when I want to restart or stop tomcat6 it just ...
1
vote
1answer
127 views

Apache: Proxy based on URL suffixes

My team has written an internal BI server, which generates HTML reports at links such as /users/daily or /updates/questions. The server is written in Grails, and it works perfectly with a classic ...
2
votes
1answer
300 views

Issue with solr memory usage

I'm having memory problems with a Solr slave instance. The problem is that every time the slave replicates new changes from the master, the slave starts a new searcher, and apparently the old one ...
1
vote
1answer
97 views

1and1 host 2 domains to same tomcat instance in the same server

I am having some problem hosting a second website in the same server. I have 2 1and1 domains now. When i had the first one, i set the DNS setting to point to my server's ip address and i had the port ...
0
votes
1answer
27 views

Nginx: index mapping

I'm trying to install Nging as a frontend server for HTTP requests but the welcome page does not work: server { listen 8081; server_name localhost; root ...
0
votes
2answers
31 views

OpenNMS installation failure

I am willing to use OpenNMS to monitor my network. Monitoring it fully from the router to the nodes from a computer will be connecting the network as node not as administrator and that computer using ...
1
vote
1answer
587 views

Setting Manager path in Tomcat6

I want to switch context path to Manager app in Tomcat6 http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html I change $CATALINA_BASE/conf/[enginename]/[hostname]/manager.xml to: <Context ...
0
votes
1answer
520 views

Multiple Domains Single Tomcat 7 - Apache Mod_proxy

I have been struggling with this for a day and more now. As i am new to server setup stuff. Been following many tutorial and docs on net regarding the same, many hit and run, But got no luck. Here is ...
0
votes
1answer
775 views

Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables?

I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect ...
0
votes
2answers
5k views

Set up HTTP Proxy for Tomcat Web server

Basically, I'm trying to make SOAP calls from a Tomcat server via a corporate proxy/ firewall (which I have no direct control over), I've tried to add info to the catalina.properties file as shown: ...
0
votes
2answers
676 views

Make Tomcat use X-Real-IP

I'm configuring nginx as a reverse proxy in front of Tomcat 7. I added the following lines to nginx configuration: set_real_ip_from 127.0.0.1; ... location / { proxy_pass http://tomcat; ...
2
votes
1answer
117 views

Railo-Apache Config Issue: “example.com” points to /var/www while “example.com:8888” points to Railo

As per my title, I was able to successfully install and run Railo and Apache on my VPS. It runs Ubuntu 14.04. My dillema is that I can't get example.com to point to my Railo root. At present, ...
-2
votes
2answers
154 views

Benefits multiple instances tomcat one server

We have 1 physical servers, are there any advantages of running multiple instances of Tomcat on one box or doesn't it make a difference?
0
votes
0answers
34 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
1answer
221 views

Tomcat cant access network drives on Windows

I have Tomcat 8 installed as a service on Windows Server 2012. The problem is that Tomcat can't access network drives. The tomcat manager shows that it is logged on as Local System Account. I've ...
0
votes
0answers
90 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 ...
1
vote
4answers
2k views

changing the default port no of tomcat in ubuntu

Hi all I'm trying to change the port number of my Tomcat server installed on Ubuntu. For this I have changed the file server.xml and made the following changes: <Connector port="8081" ...
3
votes
2answers
334 views

YouTrack on Tomcat 7 using SSL

I have a running YouTrack instance deployed using Tomcat 7 and it works fine on http://example.com:8080/youtrack Apache is already configured to support SSL for the main domain (I have .pem file). ...
0
votes
2answers
27 views

How to synchronize different debian server

I'm developing a project that consists in a tomcat installation with a web app with many classes and libraries and a php side with many many folder and files. I've got two server debian wheeze and ...
2
votes
1answer
1k views

tomcat cannot change port 8080 to 80

I want to change the port 8080 to the default HTTP port (80), to use a Jersey Application as HTTP-Restful API. Therefore I replaced the port from 8080 to 80 (within /etc/tomcat7/server.xml) and ...
0
votes
0answers
80 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
97 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
1answer
133 views

Install Apache Derby on CentOS 6.4

I'm not a Java developer, my knowledge is very limited to this topic. I want to deploy a .war webservice on my Tomcat server, which fails most likely because of its Derby dependency (just a guess from ...
0
votes
1answer
41 views

Tomcat Process occupying lot of Memory in UNIX BOX, how to reduce

I am using a play framework webapplication calling webservices, all these applications are deployed in one tomcat/apache server, when in production box, multiple process are started for tomcat which ...
-1
votes
1answer
75 views

Apache Tomcat standalone or with nginx or apache?

I will be rolling out a fairly big project that will be running on Tomcat. I will have a linux VPS for it (Debian). i wanted to know if it is recommended to run it by itself or behind a httpserver ...
0
votes
2answers
70 views

Restart tomcat on two different servers at same time

We are running the Apache solr on two servers. Unfortunately on heavy load of indexing (guess) servers going down. We are manually restarting the tomcat each time. When I google I find the way two ...
1
vote
1answer
251 views

How would I create a IP whitelist for tomcat?

I'm extremely new to tomcat but I need to configure my company's tomcat server so that we can allow restricted IP addresses only. I understand this is normally the job of the firewall but in this ...
2
votes
0answers
242 views

Error while installing jasperserver

I am about to install a jasperserver instance on my server. This is not my first jasperserver installation and I did this already on my host system and on a lxc. But now for some reason I get ...
1
vote
0answers
52 views

Question Mark (?) in Apache Tomcat proxy_ajp.conf causing proxy to fail

We had directives in our proxy_ajp.conf similiar to below, which would give us a 404. SSLProxyEngine On ProxyPass /test https://www.purple.com/test? ProxyPassReverse /test ...
2
votes
1answer
3k views

Keep-Alive header not sent from Tomcat 5.5 http connector?

We're currently using a hardware load balancer, which then goes to Apache and that then goes to Tomcat 5.5 via the AJP connector. We've decided to dump apache for various reasons - In our current ...
-1
votes
1answer
35 views

How to set up tomcat7 to forward all requests to the appname?

I have a tomcat7 server hosting my app. I've got port forwarding set up with iptables so right now you can access the app like so: http://ip-address-of-server/appname I've also set up the domain ...
1
vote
1answer
89 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 ...
-1
votes
2answers
222 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 ...