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

forward port 80 to 8080 failed

I am trying to forward a port from 80 to 8080 (default to tomcat). below is what I added to the httpd file. <VirtualHost www.example.com:80> ProxyPreserveHost On ProxyRequests Off ...
0
votes
1answer
127 views

Tomcat Failover High Availability (active / passive)

we have a jee web application running on apache tomcat , we need to deploy this application on production environment and we decided to use failover structure so we have one server active and another ...
0
votes
0answers
33 views

Two tomcat instances behind apache

I have three servers. Server A is a Apache Server, Server B and C are Tomcat Servers. I added two new Virtual Hosts to the Apache 1st Host: <VirtualHost *:80> ServerName dev.domain.com ...
1
vote
2answers
652 views

Setup Apache Tomcat on Synology

I have an problem setting up an Apache Tomcat on my Synology DS1511+ server. The installing is no problem, but when i try http://"serverAdress":7070 i can't log into the the manage section. I have ...
0
votes
0answers
18 views

How to Configure Tomcat to communicate with multiple IIS Servers?

Currently, I have Tomcat connected to an IIS server using the ISAPI Redirector Plug-in for single-sign on to my application. However, I want to include users from a different domain on another IIS ...
0
votes
0answers
88 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 ...
0
votes
1answer
44 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 ...
2
votes
1answer
170 views

Backporting tomcat7 for Debian squeeze

I am creating .deb installation packages for our software, which has a dependency on tomcat7. Unfortunately, this package is not present in Debian squeeze, which ships only with the package tomcat6. ...
0
votes
3answers
254 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 ...
1
vote
1answer
188 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. ...
1
vote
2answers
154 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 ...
0
votes
1answer
248 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 ...
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: ...
1
vote
0answers
58 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 ...
0
votes
0answers
24 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
2answers
53 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 ...
1
vote
3answers
284 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 ...
0
votes
0answers
151 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
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
2answers
134 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
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 ...
3
votes
1answer
273 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 ...
2
votes
3answers
391 views

How to configure my Elastic Load Balancer to balance SSL traffic?

I'm totally lost so I apologize if I'm not making sense. I need to create a load balancer in EC2 for our application servers. I'm trying make the ELB balance traffic over SSL (8443). However, it's ...
0
votes
2answers
237 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 ...
0
votes
1answer
446 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
118 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
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
0answers
34 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> ...
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
70 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) ...
0
votes
2answers
57 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 ...
0
votes
1answer
185 views

a2enable:command not found on Ubutntu terminal with Tomcat Server in EC2

I need to do this on Ubuntu LTS 12.04 a2enable sana.default a2enable sana.default.ssl But on entering a2enable I am getting the error I have installed both Apache tomcat in my server On ...
-1
votes
1answer
373 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 ...
0
votes
0answers
23 views

tomcat access-log buffering ends with broken line

What could be the reason, that the AccessLogValve of tomcat is not writing the complete lines whenever the buffer is flushed? The last line always looks like this: nnn.nnn.nnn.nnn ...
0
votes
0answers
26 views

Jira Proxy Forwards to www domain

I am using the complex version of the mod_proxy method to create subdomains of my main domain for JIRA and Confluence, however when I got to the subdomains they show as if they are parked on the ...
0
votes
0answers
29 views

Tomcat Aliasing Multiple Domains to One App

I have done some search here on Stack and other places, looked through Tomcat documentation, and so on but have yet to find an answer for this. I am managing a web app that I did not create and Tomcat ...
1
vote
2answers
138 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
52 views

High load with multiple java applications on one tomcat?

I have installed Java and Tomcat with Jenkins on a CentOS 5. Everything works fine. The issue is when I make another Jenkins installation on the same server, it causes unexpected High Loads. If I ...
0
votes
0answers
35 views

Problems with increasing maxHttpHeaderSize in tomcat 6.x

http://tomcat.apache.org/tomcat-6.0-doc/config/http.html says that "The maximum size of the request and response HTTP header, specified in bytes. If not specified, this attribute is set to 8192 (8 ...
0
votes
1answer
39 views

How to configure the port to be used by the AJP connector and the JMX connector

Which file to edit to configure the port to be used by the AJP connector and the JMX connector, for tomcat?
0
votes
0answers
50 views

Can Tomcat Cluster/Farmwardeployer be implemented without session replication?

We have multiple tomcat nodes behind a load balancer and are looking at options for automated deployment. Our apps are stateless and we don't want\need the added overhead of session replication, but ...
1
vote
1answer
40 views

Hosting 2 versions of the same Java website in tomact

I have a website set up in a unix server. I work in a team with two more developers who also work on the website. The requirement is running two or more versions of the same site from two different ...
0
votes
1answer
324 views

How to set up Alfresco Share behind apache reverse proxy

I've been looking for how to do this properly through the Alfresco docs, and am not having any luck... How the heck do you set up Alfresco Share to work from behind an Apache reverse proxy? (I'm ...
0
votes
1answer
26 views

Debugging a Maven Generated WAR

Maven generated a WAR via an automated build, but then the WAR had to be manually tweaked so that an Apache/Tomcat combo on another computer could host the WAR. The logs didn't provide much info, so ...
0
votes
0answers
60 views

Tomcat 6 & 7's built in webdav breaks my war's taglib

I've deployed a taglib as part of my web archive (war) and it is working properly; however, adding webdav capability to the Tomcat instance causes it to cease functioning. Here is my addition to the ...
0
votes
0answers
21 views

How should I add Resource to tomcat container which is started with calling org.apache.catalina.startup.Bootstrap

I want to start tomcat container from command line, using just the org.apache.catalina.startup.Bootstrap class. The problem occurs when I try to get roles settings in my instance of tomcat. My first ...
0
votes
0answers
100 views

Load balancing multiple PHP sites and JSP sites using Apache Server

I've been trying for the last couple of days to get this small (i though) scenario working. Small drawing of my architecture.       request ...

1 2 3 4 5 27