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
2k views

Setting up AJP with JBoss 7

I have two different versions of JBoss on a server, JBoss 6.0 Final and JBoss 7.0.2. I can one run or the other by switching a couple of sym links and issuing a "service jboss start" command. I am, by ...
-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.
7
votes
1answer
1k views

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to ...
1
vote
3answers
1k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
1answer
119 views

Will tcnative-1.dll version 1.1.30 work with tomcat 7.0.29 without any issues?

In order to fix the Heartbleed vulnerability a new release of the tomcat java native libraries is being created. Will this release work with older versions of Tomcat 7 such as 7.0.29, or will this ...
0
votes
2answers
389 views

Which versions of win32 tcnative-1.dll are succeptible to heartbleed

We are trying to determine our window of vulnerability for Heartbleed. Does anyone have an idea of how to determine which version of OpenSSL was used to build a given Tomcat Native DLL? Our server ...
0
votes
1answer
672 views

How to specify path in Apache tomcat catalina for folder on different server?

On apache tomcat C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\ we can change folders for another by specify it in XML like: THE_FOLDER.xml and in that xml we ...
0
votes
1answer
2k views

Simple setup for load-balanced and fail-over tomcat?

Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each ...
1
vote
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
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 ...
1
vote
2answers
61 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 ...
0
votes
1answer
38 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 ...
5
votes
1answer
3k 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 ...
1
vote
2answers
2k views

How to make Tomcat 7 log debugging info?

Tomcat 7 takes more than 21 minutes to start: ene 09, 2013 10:01:39 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1290787 ms When it finishes it says that it's scanning JARs ...
-1
votes
0answers
40 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 ...
0
votes
1answer
1k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
1
vote
1answer
38 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 ...
1
vote
0answers
19 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
486 views

Apache2 + Tomcat : Receiving request through apache2 results in timeout and proxy error

So we use apache as a reverse proxy to send request to our solr (search application) which is hosted in tomcat. We have another server hosted in jboss which sends data in binary format to the apache, ...
0
votes
1answer
112 views

Tomcat vs. IIS - multiple worker processes

The Application Pool feature of IIS allows to run several applications each separated to each own isolated processes. Is there any equivalent in Tomcat? Or do I have to deploy Tomcat several times to ...
0
votes
1answer
30 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
82 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
114 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 ...
0
votes
0answers
68 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
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
74 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
26 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 ...
1
vote
1answer
617 views

Tomcat 7 service manual start, stops immediately on Windows 7

I have just performed a fresh installation of Tomcat 7 (apache-tomcat-7.0.30) using the 32-bit/64-bit Windows Service Installer available here, on my local Windows 7 PC. Yet, when I go in Service to ...
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
4answers
5k views

How to fix Solr - Server is shutting down issue?

I was having a running Solr 4.1 on Windows Server 2008 R2. The Solr is deployed on Tomcat. However, today it stops suddenly, and while accessing Solr it gives following error. HTTP Status 503 - ...
1
vote
1answer
197 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
1answer
5k views

Load Balancing and Clustering using mod_proxy_ajp on Apache HTTP Server 2.2.21 and Tomcat 7.0.23

I've been struggling to make load balancing and clustering working using these combination: Apache HTTP Server 2.2.21 (httpd-2.2.21-win32-x86-openssl-0.9.8r) using mod_proxy_ajp with sticky session ...
0
votes
1answer
628 views

How to set global PATH on OS X Server 10.6.6?

I'm running Tomcat on OS X Server 10.6.6 under the normal Web component that comes with the OS. This has worked fine so far, but I need to add some entries to the $PATH environment variable for ...
2
votes
2answers
295 views

Can I restrict SSL access to Tomcat by Extended Key Usage?

I'd like to restrict the SSL access to a Tomcat instance using certificates, and not relying on any "user" accounts. I have a CA which is being used to sign the certificates, but if I configure ...
1
vote
0answers
28 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 ...
3
votes
2answers
5k views

HTTP gzip compression not working for css or javascript in tomcat 6

Connector settings: <Connector ... compression="2048" noCompressionUserAgents="gozilla, traviata" compressionMimeType="text/html,text/xml,text/plain,text/css,text/javascript"/> This seems to ...
0
votes
1answer
42 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 ...
2
votes
1answer
54 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
63 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 ...
1
vote
1answer
62 views

tomcat server not running after uncommenting servlet tags in web.xml

I am running tomcatserver and i need to execute a perl script. I searched online and found out that i need to uncomment in conf/web.xml <servlet> ...
0
votes
2answers
21 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
14 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
133 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 ...
2
votes
7answers
10k views

Tomcat won't start - how to check that port 8080 is not in use

Tomcat won't start, and it has worked perfectly before. I suspect something else is running on port 8080. I am running Windows Vista. How do I check that nothing else is using port 8080. I have ...
0
votes
1answer
370 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 ...