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
102 views

Issue Deploying Sample WAR on Turnkey Tomcat

I am trying to learn how apache and tomcat and war files work I have downloaded The Turnkey Tomcat on Apache VM and am running it in Parallels http://www.turnkeylinux.org/tomcat-apache I have ...
1
vote
1answer
210 views

Tomcat Slow Deployment On Windows

I have a Windows Server 2008 64 bit machine with 16GB of RAM and 8 cores (AMD Opteron 2.0GHZ). The problem I'm having is Tomcat takes over an hour to unpack and run a .war file. Are there any Tomcat ...
0
votes
0answers
61 views

Azure web role runnig Java returns 500

I am new to Java/Apache tomcat I needed to build a web service in azure cloud services, using java. The web service is running on apache tomcat 7, jdk 1.7 and communicating a mongo-db that is running ...
2
votes
1answer
94 views

How to authenticate a user through certificate exchange?

I have an web application A where a user has to authenticate through a username/pass method (https://server.local/webappA). A secure connection is established (HTTPS) with the server A. Then, these ...
0
votes
1answer
139 views

Monitor Tomcat-JDBC connections

The company that I work for sells a java web application that runs in Tomcat. The primary problems we have are that the tomcat containers become unresponsive and need to be restarted and that the ...
0
votes
0answers
496 views

Nginx cookie path for JSESSIONID not set

I have a problem with the JSESSIONID of a web application that is running on a Tomcat. The webapplication is running at https://alm-staging.domain.de/webclient.webapp/. Nginx should proxy all request ...
0
votes
1answer
39 views

Move an online domain to local computer

If I move a server to local machine, how can I access the website it's serving in my local network? Right now if you go to the website's link, domain name will point to our server but what is we ...
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 ...
0
votes
0answers
312 views

Nginx proxy_pass to Tomcat non-root webapp?

I would like to use nginx as a proxy to a Tomcat non-root app but am having problems to do that. This is the code that I use: location / { proxy_pass http://127.0.0.1:8080/app_v1.1.0/; ...
0
votes
1answer
172 views

Apache UseCanonicalName On isnt passing ServerName to CGI

On Apache 2.4 in in a virtualhost I have: UseCanonicalName On ServerName somename ServerAlias www.someothername.com According to the docs: With UseCanonicalName On Apache will use the hostname ...
0
votes
1answer
160 views

How can I run multiple Jackrabbit instances or repositories under one Tomcat server?

I've got one instance of Jackrabbit 2.6.5 running under Tomcat 7.0.42 on Ubuntu 13.10 by dropping the WAR into Tomcat's webbapps folder as jackrabbit.war. If I copy the war file to jackrabbit2.war, ...
0
votes
2answers
532 views

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 ...
0
votes
0answers
56 views

Tomcat container managed global security and second authentication in webapp

I like to secure all webapps deployed to Tomcat with a single (form based) login. Hence I successfully configured a security-constraint in Tomcat's conf/web.xml with the url-pattern /*. User ...
0
votes
1answer
41 views

What is the ideal strategy for RAM consumption between applications deployed in same tomcat 7 container or in different tomcat 7 instances

I have been thinking about how to manage RAM between different 3 java webapps. I have blurred concepts in mind. Deploy all the web apps in the same tomcat7 instance or have 3 different instances of ...
0
votes
0answers
224 views

My Bitnami Tomcat Stack (on EC2 AWS) is generating DoS attack

I have a very small java web app that is deployed on a Bitnami Tomcat Stack on AWS. We are using this app in the company with only 5-10 user base daily, and generating only below 100MB of traffic per ...
1
vote
2answers
226 views

Load Balancing MongoDB

I have an application written in java with tomcat that I am ready to start scaling for production. As I understand it, i shouldn't use a load balancer with mongodb router instances as it can cause ...
1
vote
4answers
194 views

How to maintain configuration files on a server?

I regularly install a product (Atlassian Confluence, which is Tomcat + a few files) on my server. For each upgrade, after unpacking the tar.gz, I need to change the following files: conf/server.xml ...
0
votes
2answers
45 views

tomcat looks like it is reloading constantly

I'm not a tomcat expert by any means, but this just looks wrong to me... Jan 24, 2014 10:05:34 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library ...
0
votes
1answer
186 views

Tomcat - JDBC Data Access Exception

My company has a web application that allows users as part of their business process to upload large documents (10+ MBs) into the application. For fast connections it works great with the document ...
0
votes
0answers
99 views

Tomcat fails to return syn requests to F5

I have an F5 LTM sitting in front of two tomcat servers which host 4 applications. When I initially create the pools and add the members to the LTM I can hit all applications. This is the weird part, ...
1
vote
0answers
197 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 ...
2
votes
2answers
100 views

http in the Location-header when the original request was made over https

I am currently implementing https on our production environment, but I am scratching my head over a little thing here. SSL is terminated in the load balancer and the flow in our stack is basically ...
0
votes
0answers
82 views

set up apache mod_proxy_balancer on Cloud for sticky sessions without route and jvmRoute

In order to get Apache working with Tomcat sticky sessions using mod_proxy_balancer, we need to configure a route in the Apache conf and a matching jvmroute in Tomcat's server.xml I need to set up ...
2
votes
2answers
983 views

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. <VirtualHost _default_:*> #... ServerName host.example.com #... </VirtualHost> ...
0
votes
0answers
30 views

differences between jndi in tomcat and jboss

What are the differences between jndi in tomcat and jboss ? I have heard, that jndi in tomcat is not a full jndi, but only a small part, is it true ? Has jndi in jboss more capabilities ? What are ...
1
vote
1answer
1k 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
32 views

Logging not getting disabled

Out Tomcat 8 is logging so much so that by the evening the catalina.out inflates to GBs of data. I followed the procedure given on the tomcat website to replace JULI logging with LOG4J. Now LOG4J has ...
1
vote
1answer
64 views

Using Tomcat server for production - Ideal configuration [duplicate]

Consider an webservice application (No sessions used) with around 10000 users and some 300 concurrent connections in peak period. What kind of server configuration(In terms of RAM mainly) I can use? ...
0
votes
0answers
87 views

Pound: address already in use

Below is the config that I use in pound for load-balancing a set of Tomcat. To get started I just used one tomcat instance. The URLs that I want pound to forward is of the type ...
0
votes
0answers
34 views

Mobile URL Rewriting for a specific Server Path

I have a website running on www.example.com using a Tomcat web server. On this tomcat the website is running in the root directory. Now I have a mobile web app which is located under ...
0
votes
0answers
48 views

Remap.config in Clustered mode ATS

I have a cluster of Apache Traffic Server. These are operating as reverse proxy for a set of tomcat instances, each having, say 5 servlets. I need to configure the ATS in such a way that there is ...
0
votes
1answer
67 views

jboss vs tomcat administration

I have a java with spring web app (war), I will not use any jee features that don't run on tomcat. I already call and expose webservices, but I do it with bundled cxf. Currently I am using tomcat7. ...
0
votes
0answers
501 views

Solr 4.6.0 Logging issue on CentOS

I'm using solr 4.6.0 on CentOS 6.5 and installed it after this tutorial. http://andres.jaimes.net/878/setup-lucene-solr-centos-tomcat/ I started it and I have the problem that it loads forever in ...
0
votes
1answer
47 views

Tomcat6, SSL, Windows - connector issues

I've been asked to move an http tomcat install to https. We've ordered and installed the cert and have followed the directions given by the application developer that are not working - so went and ...
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 ...
0
votes
1answer
256 views

Apache Tomcat directory access, restricted and accessible only by web application

I have a Grails app. I want to move out all the images users upload to a directory outside of my web-app directory, somewhere else on the disk. Then I want to allow my application to serve them on ...
0
votes
0answers
76 views

mod_jk failover isn't working

I'm trying to use mod_jk feature of fail-over and move sessions from one worker to another. I see that the cookie append the correct cookie name, but when one server is being closed, the requests ...
1
vote
2answers
457 views

Error 502 - Random SSL Library Error: 336151568 error:14094410

I'm facing a random 502 error on my webservers. Rate : 0.5% Error in my logs: SSL Library Error: 336151568 error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure OpenSSL Version ...
0
votes
0answers
177 views

Worklight WAS Liberty profile configuration based on Tomcat configuration

(I already asked this question on Stackoverflow, but didn't get much of an answer, so I decided I'd better ask the sysadmins, because it's more relevant here. The answer I got was that I also had to ...
4
votes
2answers
658 views

How to scale up a web server supporting long polling

I am planing to add more web application servers to support increasing clients, deploying HAproxy and Keepalived for load balancing and High availability. My server usage has the following ...
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 ...
0
votes
0answers
43 views

Tomcat routing based on client's IP

Apache serves as proxy to two Tomcats. Configuration is as follows: workers.properties: worker.list=farm,worker1,worker2 worker.farm.type=lb worker.farm.balance_workers=worker1,worker2 ...
1
vote
1answer
140 views

How to throttle AJP

On Windows i connect Apache2 to Tomcat7 via AJP. Is there any configuration that can throttle the communication? This is my workers.properties worker.list=node1 worker.node1.port=8009 ...
1
vote
0answers
304 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 ...
0
votes
2answers
582 views

Why isn't tomcat serving the correct SSL certificate

I configured tomcat with SSL successfully and was using a self-signed certificate. Recently an issue arose where just having the client "Accept/trust" our certificate wasn't easy. We ended up ...
2
votes
1answer
208 views

Will Tomcat 6 cache across Webapps?

I have a Tomcat 6 server on an Ubuntu 12.04 server with 4GB and the following JAVA_OPTS JAVA_OPTS="-Djava.awt.headless=true -Xms512M -Xmx512M -XX:PermSize=1024M -XX:MaxPermSize=1024M ...
0
votes
1answer
212 views

Tomcat 7 as windows service not accessible from other systems

I have downloaded Tomcat 7 zip for 32 bit windows 7 machine. I have unzipped the package and created the windows service using ..\bin\service.bat. But when i start the service from windows ...
0
votes
0answers
158 views

SSL Integration with apache used for load balancing

We are using apache mod-proxy on top of tomcat to achive load balancing. It is working fine , now we are planning to move to https from httpd . For that my configuration looks as follows ...
-2
votes
1answer
174 views

Starting Tomcat 6 on Plesk 11.5 Linux [closed]

I've been searching without luck for a way to get tomcat running on my server. It a linux server with Plesk 11.5 and tomcat 6. I've followed many instructions but this one has pictures that are ...
1
vote
1answer
152 views

ColdFusion 10 with IIS 8 on server 2012, does tomcat need to be installed separately?

I have ColdFusion 10 setup on Windows Server 2012 with IIS8. My isapi_redirect.log tells me Tomcat is probably not started or is listening on the wrong port I have setup the tomcat ...