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)

1
vote
1answer
37 views

Service Tomcat7 Restart vs Stop and Start [closed]

Is there any difference to doing: service tomcat7 restart vs service tomcat7 stop service tomcat7 start Thanks
0
votes
1answer
756 views

How to use mod_proxy to let my index of Apache go to Tomcat ROOT and be able to browse my other Apache sites

I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder. I used sth like this in httpd.conf: ...
5
votes
1answer
4k views

Apache Solr Admin on Tomcat Deployed in WebApps Directory

I am trying to get Apache Solr to work on Redhat6 and Tomcat6 (using these instructions), but get this error when browsing to the admin section, http://localhost:8080/solr-example/admin: HTTP ...
0
votes
2answers
865 views

Apache reverse proxy with VirtualHost not serving a page

I have an Apache reverse proxy set to move requests to a Tomcat Applet. The config is similar to: <VirtualHost 100.100.100.100:80> ProxyPass /AppName/App http://1.1.1.1/AppName/App ...
-1
votes
2answers
55 views

Tomcat WAR file which increments JSESSIONID on reload to test session replication [closed]

I'm currently having to configure Tomcat for the first time. For the moment, I think session replication (JSESSIONID) is working, but I have no way of knowing. Note that I've never learned to code ...
0
votes
1answer
53 views

How to install/update/upgrade SSL certificate in Tomcat

I am about to install/update/upgrade a SSL certificate in one of the servers which has the following configuration Sever information: Sever version: Apache Tomcat/6.0.35 OS version: Linux ...
0
votes
1answer
56 views

Share same session with multiple domain using nginx & tomcat

We've a running a grails application on a tomcat server behind nginx for multiple subdomain: http { include /etc/nginx/mime.types; default_type application/octet-stream; a ...
1
vote
2answers
881 views

Apache & Tomcat Load balancing via Mod_jk issue

I hope this finds you all in the best of your health and spirits. I have an issue with a new setup where I currently have 1 APACHE 2.2.15 & Tomcat 6.0.14 on RHEL. Mod_JK version 1.2.30. Ill add ...
0
votes
0answers
20 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
13 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
1answer
945 views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
-1
votes
2answers
31 views

Apache serve static content according to hostname

I have tomcat running behind apache and some web application running on it. My application handles whitelabeling so if some user will goes to subnet1.myhost.com he will se some website and ...
0
votes
0answers
20 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
1answer
789 views

Tomcat is closing randomly

We are using Tomcat 7.0.21 for production. Server is hanging randomly for last week. It creates files like hs_err_pid4528.log under bin folder. There are two parts in logs. JRE version: 7.0_21-b11 ...
0
votes
0answers
20 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
1answer
168 views

Servicing ws:// in Node.js via Tomcat and Apache

I've Googled various combinations of keywords but I cannot find a suitable description of what to do to get this to work. Currently, I have a web site running Apache 2 with everything except ports 80 ...
2
votes
1answer
2k views

Apache SSL reverse proxy to a Embed Tomcat

I'm trying to put in place a reverse proxy for an application that is running a tomcat embed server over SSL. The application needs to run over SSL on the port 9002 so I have no way of "disabling SSL" ...
0
votes
2answers
841 views

fedora tomcat log file path

My log file is inside: kamil@localhost tomcat$ grep "logs/" ./* ./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log my CATALINA_HOME is kamil@localhost tomcat$ sudo grep ...
4
votes
3answers
1k views

Why doesn't the aws cloud formation install the packages that I specify?

I'm very new to the AWS services. I'm trying to use the AWS cloud formation and I created a template. The template is error free and I am able to create machines using that. But I have added some ...
0
votes
2answers
62 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
vote
1answer
2k views

IIS 7.5 , Tomcat 7 - Isapi redirector - Fail Over - sticky sessions

I have two instances of Tomcat 7.0.8 running in the same machine (Tomcat7A and Tomcat7B) and IIS 7.5 acting as front-end load-balancer with isapi-redirector 1.2.31, running on Windows 2008 R2. When i ...
0
votes
1answer
1k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
0
votes
2answers
4k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under ...
0
votes
0answers
12 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
1answer
1k views

Forward Shibboleth Environment Variables to Tomcat via Apache

I am using Shibbolethv2.3 with Apache web server and Tomcat application server. I am using Apache as a reverse proxy using mod_proxy.so. I am not able to forward the Shibboleth environment variables ...
1
vote
1answer
51 views

Tomcat 7 + apache2 proxy forward cause website resource missing

I have this problem I am sure most of the people should have seen. I am using apache2's mod_proxy_html to forward web request to tomcat. The request got forward to tomcat, but tomcat server is unable ...
1
vote
3answers
1k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
0
votes
2answers
1k views

Can access website but images, css stylesheets and javascript files do not download

i have this problem, not sure about the source of it, Basically the title describes the issue, I can access the webpage and see the html structure, but no resources are being donwloaded nor I have ...
1
vote
1answer
1k views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
0
votes
2answers
420 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
575 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 ...
0
votes
1answer
1k views

How to install tomcat for many instances with CHEF?

I would like to install tomcat with a recipe through chef at some folder, like /company/tomcat6.0.45-port8081. But sometimes I have many instances of tomcat, like /company/tomcat7.0.41-port8082, ...
1
vote
1answer
27 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
31 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
134 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
42 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
16 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
71 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
43 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
34 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
110 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
15 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
21 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
17 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
7k 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
60 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
7k 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
76 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
272 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 ...