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
0answers
82 views

how to install ssl on tomcat 7?

I know this question might sound too easy and I should had read all docs available on internet, the true is that I did, and I had no luck, its kinda confusing for me, I have installed many times this ...
1
vote
3answers
277 views

Upstart script vs. command-line: why this difference in behavior?

I'm trying to set up Tomcat to start with upstart. I find the following works: description "Tomcat Server" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 10 5 ...
4
votes
4answers
2k views

Why does tomcat like deleting my context.xml file?

I'm developing a web-based Java application at work and (obviously) have to run it locally during development. I've figured out the Tomcat docs and have a suitable context.xml file in ...
0
votes
1answer
43 views

Serve application via tomcat/ amazon ec2 cloud

I have access to an amazon machine ec2.XXXXXX.XXX . I have setup hudson CI tool on this machine and now I would like this to be served to people in my org. This is my first attempt and really new to ...
0
votes
3answers
241 views

Why is logrotate not rotating logs Tomcat access logs on aws centos 6.3?

I have the following file in /etc/logrotate.d: /usr/share/apache-tomcat/logs/*.access { nodateext copytruncate daily rotate 7 notifempty postrotate EXT=`date --date='-1 day' +%Y-%m-%d` /bin/gzip $1.1 ...
0
votes
1answer
1k views

How to setup a simple Ubuntu Server Tomcat cluster on VirtualBox for testing? [closed]

I am looking for the step by step instructions to setup at least two simple Ubuntu Virtual Core 12.10 Server VMs on Oracle VirtualBox under Windows 7 64bit. The test setup would be: Apache HTTP ...
0
votes
1answer
1k views

tomcat6 restart error: unable to stat java

Always when I reboot the Tomcat, appears the following message of erro: /etc/init.d/tomcat6 restart * Stopping Tomcat servlet engine tomcat6 [ OK ] * ...
1
vote
1answer
161 views

Installing SSL Thawte Certificates for tomcat from pre-generated Private Key

I have received a Bunch of SSL certificates that i need to install into tomcat servers, and normally this is easy enough. However, these certificates have had their private keys generated elsewhere ...
0
votes
0answers
43 views

Tomcat Load Balancing via Apache

I have created a load balancing scenario in my machine and the same works fine. However, I am stuck at one simple issue and request help on the same. I have two tomcat workers - worker1 and worker2. ...
0
votes
2answers
749 views

How to monitor bandwidth usage in Tomcat?

I am running an Apache Tomcat 6 website and would like a way to somehow log the amount of bandwidth used for each virtual host on the site. Is there such a plugin or logging class that I could use to ...
1
vote
2answers
1k views

Tomcat dying silently on regular basis

My tomcat (6.0.32, Java Sun 1.6.0_22-b04 on Ubuntu 10.04) keeps crashing multiple times daily without any specific output in catalina.out. This usually happens on high load (see top output). Update: ...
1
vote
2answers
149 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 ...
3
votes
3answers
4k views

Apache2 reverse proxy seems to intermittently freeze?

Apache2 reverse proxy seems to intermittently freeze when proxying a tomcat web app. The problem is that every so often (once or twice a day usually after inactivity) when I try to log into this ...
0
votes
1answer
216 views

Tomcat always returns status code 400

I've just installed Tomcat on CentOS 6.3. # yum install tomcat6 # service tomcat6 start According to the tutorials I've looked at, I should be able to see a test page now. # curl -I 127.0.0.1:8080 ...
2
votes
2answers
3k 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 ...
2
votes
5answers
4k views

Configure an IP address instead of localhost:8080 tomcat eg:192.260.0.2:8080

Can anyone suggest me how to configure my localhost:8080 in tomcat to connecting to an IP address instead of localhost such that i access my localhost in any system in my workplace... i am using ...
1
vote
1answer
1k views

How do I configure Tomcat services in Ubuntu?

I have created a Tomcat script inside the /etc/init.d directory which is #!/bin/bash # description: Tomcat Start Stop Restart # processname: tomcat # chkconfig: 234 20 80 ...
0
votes
1answer
63 views

apache proxy listening on multiple ports

I'm using apache to proxy my tomcat instance, and I would like apache to listen on both ports 80 and 8080. I have the given configuration. But when I try to start up I get the following error: ...
3
votes
1answer
264 views

Tomcat url rewrite fails with 404, but browsing directly returns a 200

I have a web application deployed in webapps/appname and I'm trying to add in rewrite rules to example.org/appname-slow to rewrite to example.org/appname?delay=1. I have the following in ...
1
vote
3answers
494 views

Mercurial SSH process blocks when run from Local System

We are using Mercurial over SSH for our development. We use Hudson for continous integration, and have deployed it on Tomcat, running on a Windows 2003 Server using the Local System account. Mercurial ...
1
vote
0answers
55 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
1answer
204 views

Unable to link IIS8 and Tomcat7 by ISAPI on Windows Server 2012

Firstly, I am completely new to IIS and Windows Server. Previously I used to work only on Apache and Linux. I want to link IIS8 and Tomcat 7.0.34 under a subdomain, such that when someone visits ...
0
votes
2answers
52 views

Can you please help me to find the TOMCAT 5.0.28 server start up time in windows,

I have two server instances TOMCAT 5.5 and TOMCAT 5.0.28, My application running on TOMCAT5.5. some body have stopped my TOMCAT5.5 and started TOMCAT 5.0.28 (May be accidentally). Can any body help me ...
0
votes
0answers
22 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 ...
0
votes
0answers
144 views

Tomcat7- How to configure one VHost-> port 8443(SSL) and another VHost--> port 8080(non SSL)

I have installed Tomcat 7 and java 1.6 on my Ubuntu 12.04 x64 VPS. I am trying to set up a tomcat 7 server in this way- domain1.com--> is a vhost with its own deployment directory. domain2.com--> is ...
0
votes
3answers
900 views

Running apache2 and tomcat6 on port 80

I have apache2 and tomcat6 installed on ubuntu 9.10. By default tomcat6 port no is 8080. I want to run tomcat and apache on port 80. For tomcat virtual hosting it should navigate to tomcat webapps ...
-1
votes
1answer
906 views

How to deploy Java Web Application in Hostgator?

I have a Java Web application and I have a VPS hosting bought from Hostgator in which recently the tomcat has been installed. But I couldn't find a way to deploy my application and I talked with more ...
0
votes
2answers
128 views

Mixed Static and dynamic content site using AWS S3 and EC2

We are installing a Java web application in a EC2 running Tomcat. The application uses a folder for users pictures (static content)-> www.example.com/PICTURES We use mod_jk to exclude Tomcat from ...
0
votes
0answers
21 views

Client Authentication, how to configutare the tomcat xml's?

I am using Tomcat 6.0.36 and Windows 7 Enterprise and I want to configurate a Client Authentication (for tests). I created all needed certificates but I don't really know what I have to do in ...
0
votes
0answers
88 views

Tomcat configuration for accepting connections from Safari on iPad vs an SSL connector with JSSE ciphers

I have an application deployed on tomcat with a JSSE https connector. When I try to connect to this site with default iPad browser, I always get an error message about the connection cannot be ...
2
votes
5answers
18k views

How can I configure TomCat Java options in a config file?

I'm trying to configure Java options passed into TomCat for a 3rd party application that I'm deploying. The instructions that the app provides are: Open the Tomcat configuration tool from the ...
1
vote
5answers
3k views

Trying to update certificate (just renewed) to existing keystore on Tomcat server

I have a .crt file to update the server thats running Tomcat 5.5. If I run: keytool - import -alias tomcat -keystore tomcat.ks - trustcacerts -file website.net.crt I get the following error: ...
2
votes
1answer
308 views

How to setup tomcat 7 as a server on windows 2008 server

I setup the tomcat7 as a service as below: c:\Program Files (x86)\Tomcat7\apache-tomcat-7.0.32\bin>service.bat install Installing the service 'Tomcat7' ... Using CATALINA_HOME: "C:\Program ...
-1
votes
1answer
24 views

PHP Xdebug function trace functionality for Tomcat servers [closed]

I am looking for debugging functionality for Tomcat. Something that works like PHP xdebug but with java and tomcat. Is there built in functionality, or a simple add-on? It would me most convenient if ...
0
votes
2answers
228 views

Installing Tomcat6 on RHEL 6.4

I am missing some packages which Tomcat depends on. But whatever dependency I try to resolve, it all comes down to java-gcj-compat missing which I cannot find on the DVD. Note that I don't have an ...
1
vote
1answer
119 views

Create tomcat war file from static web dir

I created a simple web application that consists of a dir with html, css, js. No server code. For reasons complicated to explain, my administrator insists on turning it into a .war file, so that it ...
0
votes
1answer
400 views

Why does tomcat7 log into both catalina.out and catalina.YYYY-MM-DD.log?

On OpenBSD 5.2, the default installation of tomcat-7.0.29 seems to be logging all errors into both catalina.out and catalina.YYYY-MM-DD.log. Cns# ll /var/tomcat/logs/catalina.* -rw-r--r-- 1 _tomcat ...
0
votes
0answers
115 views

Error 502 Bad Gateway with Apache 2.2.11 and Tomcat 6.0.24

I am having a similar issue (502 Bad Gateway) described in this post: mod_proxy on Apache 2.2.3 proxying to Tomcat 5.5 returns Error 502 Bad Gateway since some time. I am occasionally having 502 Bad ...
0
votes
2answers
3k views

mod_proxy on Apache 2.2.3 proxying to Tomcat 5.5 returns Error 502 Bad Gateway

I'm getting a 502 bad gateway error when using mod_proxy on Apache 2.2.3 proxying to Tomcat 5.5. It works correctly when used directly via Tomcat (not via mod_proxy), so I assume the problem is on ...
0
votes
0answers
61 views

Tomcat6 returns 302 back to Apache via AJP13 when request made via domain name

I am trying to setup a home website (say "www.mycoolsite.com") with Apache2-->mod_jk/ajp13-->Tomcat6. When I go to the site from outside network by typing my home IP, it works ok. But when I go to ...
0
votes
1answer
38 views

Files created by java API cannot be accessed through JSP

In a web application, I will use both java API and Linux System Calls to create a new directory, copy an image inside it and finally create a XML file with outputWriter. Then I will create download ...
0
votes
0answers
33 views

can't access both tomcats from apache

I have the following setup: apache for front-end and 2 tomcats as application servers, the traffic is delegated via ProxyPass and ProxyPassReverse to the correct app server: <VirtualHost *:80> ...
1
vote
2answers
137 views

Deploying tomcat/mysql application on windows

Our web service software consists of a (precompiled) war file and a mysql database. We provide installation packages to deploy it on Ubuntu or Fedora, in a standard Tomcat7/MySQL/Apache2 setup using ...
0
votes
0answers
43 views

Difference in Amazon's tomcat and regular tomcat?

I'm just starting with Amazon's servers. What is the difference between "Amazon's tomcat" and regular tomcat? Should I always install software from Amazon's repository?
0
votes
0answers
69 views

Apache - Reverse Proxy - Tomcat — Protocol switching to HTTPS

The site works well on HTTP and HTTPS. There is no forced protocol switching on apache. However response.sendRedirect calls, be it relative or absolute are taking the user over to HTTPS. I checked ...
0
votes
0answers
89 views

Amazon Linux Tomcat call to java's ProcessBuilder.start() returns 1 (failed to start process)

Executing new ProcessBuilder(javaCmd).start() fails and returns an exit code 1 If I copy and paste javaCmd to javaCmd.sh chmod 755 javaCmd.sh ./javaCmd.sh This operates as expected (successful) ...
2
votes
2answers
215 views

Tomcat connection errors with too many users

I am load testing an app that runs on Tomcat (6.0.33). As I increase the number of users I start to get connection problems. Here is what jMeter returns. I am pretty new to Tomcat, can anyone give any ...
0
votes
2answers
56 views

Apache tomcat is not restarting

I installed Apache tomcat using custom package sudo apt-get install tomcat6 I tried restarting the Apache tomcat using this in Ubuntu Terminal sudo service tomcat6 restart then I got the ...
-1
votes
1answer
339 views

What does it mean: “SEVERE: The web application [] is still processing a request that has yet to finish”? [closed]

I deployed my ROOT.war in tomcat 7. It works if I try it immediately after. But if I leave it and after few hours I use it again, tomcat stops. This is the catalina log file: Feb 3, 2013 1:07:39 ...
1
vote
1answer
73 views

Configuring a reverse proxy to an external server through SSL while tomcat also uses SSL

I have two Amazon EC2 instances, call them A and B. A runs Apache and Tomcat. On server A, Apache only uses plain HTTP. Tomcat listens on 8443, but I use iptables to redirect requests on 443 to 8443 ...

1 2 3 4 5 27