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)

4
votes
0answers
758 views

Tomcat sessions not expiring

I'm having problems with sessions accumulating. I run an instance of Tomcat 6.0.18 on a Windows server. I have 3 apps. I've been having memory issues (close to heap size, or OOM). When I look ...
3
votes
0answers
73 views

Compression of Tomcat mod_jk results in Apache httpd

I'm developing a web application locally on my system, serving it using Tomcat (tomcat-7.0.52). In production, I want to front the Tomcat with an Apache httpd (Apache/2.2.15). This works and I ...
2
votes
0answers
196 views

How to enable CORS on Glassfish?

Cross-Origin Resource Sharing is a mechanism that enables cross-origin requests[1]. As you can see in the link [1], It is easy to enable CORS in Apache Tomcat 7. Just a configuration in the file ...
2
votes
0answers
81 views

How to monitor clustered tomcat 7 with javaMelody

I would like to monitor my server health. I have deployed my web app in tomcat 7. I am using 4 instances of Tomcat 7 running on the same machine. individually I am unable to monitor each tomcat ...
2
votes
0answers
57 views

Lack of OutOfMemory Exceptions in Tomcat 7

This is an odd question. I'm a Sys Admin and I've been maintaining several Tomcat instances for a few years now. We have been running our webapps in Tomcat 5, 5.5, 6, and now 7. I have monitoring ...
2
votes
0answers
287 views

Tuning Tomcat 7 on windows (for Alfresco)

I have installed Tomcat7 as a service on a windows server 64bit 2008 R2 to run Alfresco (4.2.c). I have 48G of ram. I have read Tomcat tuning tutorial with the JVM settings for memory. To edit the ...
2
votes
0answers
54 views

Scaling large numbers of small customer J2EE webapps

We're allowing customers to create websites on our SaaS app. We currently use Jetty as the app server, but we could use anything J2EE. I'd like to be able to scale customer webapps across our ...
2
votes
0answers
691 views

Tomcat/CF10/IIS7.5 Connector Tuning Help (503 Errors)

Problem: After a undetermined amount of time, all websites running in an application pool return 503 errors as IIS has stopped pool due to Rapid Failures from the pool. Increasing the number of ...
2
votes
0answers
70 views

Flipping between databases

I have inherited a tomcat application running on RHEL that connects to a local postgres database. We have a total of 8 servers in multiple states running this. Each server actually has two different ...
2
votes
0answers
326 views

SSL connection alert hanshake failure

I'm having problem establishing the connection between the client and the Server .I'm using my own signed certificate on client and on server. I'm using the SSL ciphers SSLCipherSuite ...
2
votes
0answers
116 views

Tomcat 7: Include virtual host definitions from a directory?

I'm setting up a new Tomcat 7.0.33 server, and I'm looking for a simple way to include a directory full of virtual host definition XML files for configuration. I've found that it's possible to do XML ...
2
votes
0answers
242 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 ...
2
votes
0answers
165 views

How to use JMAP with Tomcat when Tomcat is running as a service?

I want to grab some memory snapshots of a Tomcat instance in production. This is on a Windows 2008 server. I can run JMAP against Tomcat when I start it with startup.bat but the client is using ...
2
votes
0answers
103 views

ColdFusion 10 Servlet Issues

I'm currently experiencing problems with ColdFusion finding my servlet. In ColdFusion 9, I would simply put it under the wwwroot/WEB-INF/classes/ directory and ColdFusion would serve when requested. ...
2
votes
0answers
557 views

Tomcat Unable to Connect

I have done a fresh install of Tomcat 7 on CentOS 6.2 system. Tomcat starts successfully without any errors in logs, but I am not able to access it on mydomain.com:8080. I get "cannot connect" ...
2
votes
0answers
203 views

Make Tomcat 7.0 flush logs to disk?

How do I get Apache Tomcat 7.0, running as a service on Windows Server 2008, to flush its logs to disk without restarting the service daemon? I did find delay on tomcat writing to logs in windows ...
2
votes
0answers
1k views

Tomcat fails to find a key entry in keystore

I am installing a SSL cert in my Tomcat server, but it fails to find the key entry in my keystore file. If I don't specify keyAlias="mykey" it shows me the following error message: ...
2
votes
0answers
180 views

Can't connect Tomcat via JMX

I couldn't connect to one Tomcat server via JMX in a Linux virtual machine. There was no firewall running. All seemed ok. By searching on the web I found out that I have to use the ...
1
vote
0answers
32 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 ...
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
0answers
31 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 ...
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 ...
1
vote
0answers
54 views

How do I proxy user context from httpd mod_proxy to tomcat?

I have configured a tomcat instance with SPNEGO to perform user authentication. When I access the tomcat port directly, it causes my browser to request my user name and password, which I provide and ...
1
vote
0answers
30 views

Unchanged Elastic Beanstalk transitions to RED health

I've got an application running on Elastic Beanstalk that seems to randomly transition to RED. The App is running just fine and has been for a while (it is also not crashing) but every once in a while ...
1
vote
0answers
80 views

Amazon EC2 instance of Windows Server 2012- unable to connect to simple webserver

Using Amazon EC2 I have successfully launched a Windows Server 2012 instance and configured it to run a Tomcat webserver. From within the VPS itself, I know the webserver is working because I see the ...
1
vote
0answers
135 views

Alfresco “ Error creating bean with name 'dictionaryRepositoryBootstrap' ” when deploying alfresco.war

I'm trying to deploy Alfresco Community Edition 2.1 WAR file in Apache Tomcat 5.5.23. I'm running Tomcat in a Redhat Enterprise 6.4 x86_64 server and also using MySQL 5.0.67. I've almost followed the ...
1
vote
0answers
17 views

Tomcat Logging Multiple Days Behind

I have been noticing on our largish production deployment of Tomcat that some logs display this issue of being "multiple days behind" in the logging output. We have a 3rd-party vendor application ...
1
vote
0answers
1k views

How to access Apache Tomcat running on Windows Server 2012 (alongside Microsoft SMTP service)

I am running Apache Tomcat as my only HTTP server on Windows Server 2012. Tomcat has been installed as a service and is bound to port 80. The server.xml file has had address="0.0.0.0" added to the ...
1
vote
0answers
87 views

Diagnosing the cause of high Apache “Busy Servers” count

Apologies in advance for a slightly wordy question. We provide hosting and application management of a J2EE web application. The technology stack is CentOS 5.9 64 bit, Apache 2.2.17, Tomcat 5, ...
1
vote
0answers
124 views

Setting up balancer-manager with mod_status on load balancing apache machine

I am setting up a Centos machine with Apache running on it for load balancing between two application webservers. Normally I would do all this with an F5 (or other hardware LB) but the customer is not ...
1
vote
0answers
157 views

TOMCAT Disable org.apache.http.wire logging

I need to shut up the org.apache.http.wire logging level because its logging every single HTTP request and it produces Gigabytes of logging, I'm using the default logging of tomcat6 which I think it ...
1
vote
0answers
154 views

mod_jk tomcat error handling

I have a strange problem with my tomcat cluster. The cluster consists of 1 Apache with mod_jk and 6 Tomcat servers - each tomcat server is a own virtual machine. The cluster works as expected, ...
1
vote
0answers
129 views

Create jks for tomcat using .key ,.ca and .cert file

I have three file sample.cert, sample.CA,sample.key provided by Verisign. I need to create keystore for tomcat. As I searched I cannot use .key file directly to create keystore. The command I used ...
1
vote
0answers
163 views

Apache reverse proxy from one virtual host to two Tomcats

Does anyone have some tips or an example for how to configure this sort of reverse proxy arrangement on Apache Http Server 2.2? I support a Java web application that we develop in multiple ...
1
vote
0answers
378 views

Apache Server Error The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed

We are facing the following issue on our apache server: [Sun Apr 14 10:33:26 2013] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed This ...
1
vote
0answers
804 views

“ajp_read_header: ajp_ilink_receive failed”

We have Apache 2.2.24 in front of Tomcat 7.0.33. We're using AJP connectors with APR/native configured. I recently noticed a number of 500 errors in the Apache access logs for a small proportion ...
1
vote
0answers
95 views

Upgrading JIRA 5.0.1 to JIRA 6

I am trying to upgrade my jira version from 5.1 to 6 in my test server. with windows(64) platform. So I downloaded jira 6 version with folder name as "atlassian-jira-6.0-m08-standalone". then I ...
1
vote
0answers
132 views

mod_cluster and Tomcat load balancing design

I am fairly new to Load balancing. I am able to setup a load balancer using Apache httpd, mod_jk and tomcat. Now the problem is we would like to have design in the following manner, ...
1
vote
0answers
385 views

X-Forwarded-For not showing up in tomcat7 access log

I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log. my elb configuartion is : 80 -> 8080 443 -> 8080 ...
1
vote
0answers
117 views

tomcat7 - how to enable tomcat manager for a specific domain

I am trying to configure Tomcat Manager on 2 domains. I am accessing the Tomcat Host Manager using the IP address of the server. Now, once I have added the 2 domains via Host Manager, I am trying to ...
1
vote
0answers
93 views

SSL between 2 Tomcat Servers

I'm trying to make 2 tomcat servers communicate by SSL (one with a CAS webapp, the other one with Liferay) both are on my computer. The problem is that when Liferay tries to validate the ticket ...
1
vote
0answers
289 views

Could not get endpoint for worker (jk_handler::mod_jk.c)

I am using Apache2 with Tomcat on debian Lenny, When I try to access the site, its working but sometime I am getting error 500 "Internal server error". From the mod_jk.log, I could find the following ...
1
vote
0answers
345 views

Apache 2 proxy for Tomcat 7

Following the how-to, I wanted to make a proxy for traffic to the address /app to be processed by Tomcat 7. I added this to my httpd.conf: LoadModule proxy_module {path-to-modules}/mod_proxy.so ...
1
vote
0answers
111 views

Servlet in Tomcat unable to create folder

I am running a servlet deployed in tomcat in ec2 instance. The servlet has to create a folder in webapps dir. But this is not created, however I am able to create folders with mkdir command inside ...
1
vote
0answers
621 views

Extract cert and private key from JKS keystore to use it in Apache2 httpd

I tried to find this but no luck. I created a JKS keystore and generated a CSR, then imported the signed cert and intermediate and root CA certs. Used this keystore on Tomcat without problems. Now I ...
1
vote
0answers
164 views

High availability setup with 2 tomcat servers in Windows

I am trying to set up a high availability setup(not load balancing, only HA) with 2 tomcat servers. When I google for information, I get tons of links with apache+HAProxy+keepalived setup for linux ...
1
vote
0answers
137 views

Difference between Admin and Manager role in Tomcat6

What are the roles admin and manager used for in Tomcat6? The manager role appears to give me access to http://domain.com:8080/manager/html. Which page does the admin role give me? In the file, the ...
1
vote
0answers
155 views

Facing application redirection issue on nginx+tomcat

I am facing a strange issue on an application which is deployed on tomcat. Nginx is used in front of tomcat to access the application from browser. The issue is, I deployed the application on tomcat, ...
1
vote
0answers
131 views

error when accessing .war file in tomcat

I have installed tomcat in my machine and it is running fine.Am able to login to the administration manager.I have deployed a .war file which can be viewed on the tomcat manager.The name of the file ...
1
vote
0answers
91 views

How to secure tomcat manager for multiple instances

I have multiple instances of Tomcat setup using the CATALINA_BASE method. I need to enable the tomcat manager application for each of them, and to secure them all separately based on groups of users. ...