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)

5
votes
0answers
1k 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
173 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
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 ...
2
votes
0answers
63 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 ...
2
votes
0answers
376 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
152 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
66 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
417 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
57 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
943 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
72 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
413 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
220 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
112 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
741 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
260 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
2k 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
200 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
20 views

Apache Reverse Proxy setting for site having Spring Security

I am having a Spring MVC app which uses Spring Security for login. I am using Apache Webserver as Proxy and Tomcat. Below is my /etc/apache2/sites-enabled/example.com.conf file: ServerAdmin ...
1
vote
0answers
53 views

Disable SSL3 on tomcat4

I have a very old web application that uses tomcat4. B/c of the poodle vulnerability I need to disable SSL3 and disable a bunch of weak ciphers. My connector looks like this, but apparently ...
1
vote
0answers
56 views

How to troubleshoot an unresponsive server

I'm performance testing my Java based web application (Grails) that is deployed on Tomcat. The server has the below services running on it: Apache HTTPD Apache Tomcat MySql RabbitMQ Even though I ...
1
vote
0answers
70 views

Java Spring application working on one system, dying on almost identical one

Introduction I'm running a third party Java Spring application on RHEL, that refuses to run on machines cloned from a certain RHEL 6.5 template. It just dies on startup with a bogus exception (see ...
1
vote
0answers
71 views

Squid configuration to allow all https and block all else to and from localhost

I'm attempting to use squid to mock something on my local windows machine for testing purposes. I need to allow local applications and browsers to connect to a tomcat server running on localhost, ...
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 ...
1
vote
0answers
94 views

Tomcat 7 went <defunct>, cannot kill the process. What might be the cause?

I was running tomcat7 production server for several days, and then suddenly it was unreachable by the http port. Strangely though, the background processes were still running as can be seen by the ...
1
vote
0answers
1k 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
48 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
69 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
309 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 ...
1
vote
0answers
103 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
70 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
1k views

Confluence Proxy Error Reason : Error reading from remote server

Since this morning I have trouble accessing my confluence. It's on an Ubuntu 12.04 server. The error itself is this Proxy Error The proxy server received an invalid response from an upstream ...
1
vote
0answers
202 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
3k views

Apache Tomcat setting Max file upload size

I am implementing a Grails/Groovy web app, I want to limit the user's file upload size, I don't want someone uploads a 10GB file to my server. What I figured out was that most approaches to calculate ...
1
vote
0answers
309 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
20 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
2k 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
119 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
169 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
428 views

Not able to access Tomcat from another machine in LAN

I have two web applications running under Apache HTTP server and these applications use ports 8080 and 100. Recently I have installed Apache Tomcat 7.0.42 and I have changed the port number in ...
1
vote
0answers
268 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
220 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
181 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
215 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
647 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
1k 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
111 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
203 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
634 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
173 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 ...