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
2k 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
1k views

Can access website but images, css stylesheets and javascript files do not download

i have this problem, not sure about the source of it, Basically the title describes the issue, I can access the webpage and see the html structure, but no resources are being donwloaded nor I have ...
0
votes
1answer
916 views

How to specify path in Apache tomcat catalina for folder on different server?

On apache tomcat C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\ we can change folders for another by specify it in XML like: THE_FOLDER.xml and in that xml we ...
0
votes
0answers
56 views

How to disable tomcat startup on server boot?

I have a Amazon Linux instance in which Tomcat is starting up during the server start. I want to disable it. Tomcat is not listed in the chkconfig or /etc/rc.local. How to find out, from where it's ...
0
votes
1answer
1k views

How to install tomcat for many instances with CHEF?

I would like to install tomcat with a recipe through chef at some folder, like /company/tomcat6.0.45-port8081. But sometimes I have many instances of tomcat, like /company/tomcat7.0.41-port8082, ...
0
votes
0answers
37 views

How to limit the RAM used by Apache Tomcat on AWS micro instance?

I am running Apache Tomcat with Geoserver as a .WAR on an AWS micro server running Ubuntu 14.04 with 1 GB RAM and ~700 MB swap, and I am concerned about my RAM usage because it is overflowing into my ...
1
vote
1answer
1k views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
0
votes
2answers
24 views

Restrict access to apache tomcat in local network [closed]

I am setting up an apache tomcat webserver for my local network and I want to block any external access from outside of the local network (the internet) for security reasons. Can I configure tomcat ...
0
votes
2answers
24 views

Automatically stop Tomcat if Root context initialization fails

I can't seem to figure out if it's possible to setup Tomcat to stop when the ROOT context initialization fails. Since my Tomcat instance only hosts one application as the ROOT context, it makes no ...
0
votes
2answers
81 views

Tomcat 8 org.apache.catalina.webresources.Cache.getResource

I have just upgraded from 7.0.52 to 8.0.14. I am getting this for lots of static image files: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at ...
0
votes
1answer
854 views

Tomcat Redirect Issue - Extra “/” after hostname - Help Please

All, We are running into a peculiar issue. We have Tomcat 6.0.24 front-ended by Apache2.2.3. We have a VirtualHost serving port 80 and a ServerAlias. Apache simply hands off "/" to Tomcat's ...
3
votes
1answer
1k views

Adding a docBase for Virtual Host using the Tomcat Virtual Host Manager

In the Tomcat Virtual Host Manager there is an option to add a virtual host with options for: Name Aliases App base AutoDeploy DeployOnStartup DeployXML UnpackWARs Manager App However there doesn't ...
1
vote
1answer
844 views

Connection from Apache to Tomcat via mod_jk not working

I would like to connect apache to tomcat via mod_jk (same machine). The ajp connector in tomcat is listening on port 8009, the worker settings are: worker.worker1.port=8009 ...
1
vote
5answers
6k views

How to fix Solr - Server is shutting down issue?

I was having a running Solr 4.1 on Windows Server 2008 R2. The Solr is deployed on Tomcat. However, today it stops suddenly, and while accessing Solr it gives following error. HTTP Status 503 - ...
1
vote
3answers
1k views

Tomcat: how to change location of manager and host-manager to a subdirectory

I'm running a Tomcat 6.0.28 at port 8080 in a Debian Squeeze box. I'm a newbie in tomcat. I would like to change the location of manager and host-manager applications. That is, instead of going to: ...
0
votes
2answers
2k views

Start and shutdown tomcat via ssh

Updated I find out that the path of jdk it using is wrong. eval: 1: /opt/Java/jdk1.6.0_25/jre/bin/java: not found the Java should be lower case java, how is that happen? When I run this script ...
0
votes
1answer
889 views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
0
votes
1answer
19 views

Hiding .DS_Store in ColdFusion Built-in Server

By default, the ColdFusion built in Server shows .DS_Store files on MacOS. Is there a setting to hide these?
0
votes
1answer
1k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
1
vote
1answer
46 views

Apache2 / tomcat / MySQL / PageSpeed Server hanging once a day

My server started to hang at least once a day. It remains so until I restart Tomcat. I'm not sure yet which part causes the problem, so I'm trying to work on several hypotheses: My website is served ...
0
votes
1answer
31 views

Where do I find the SSL configuration for a tomcat 6 web server?

I've inherited a small secure web application that runs on a single Tomcat 6 web server on a machine running Amazon Linux. I need to disable the SSLv3 fallback, but I just can't find where the HTTPS ...
0
votes
0answers
52 views

Tomcat server accessible only inside the server

I have installed Tomcat7 on a dedicated server running CentOS. It is configured to run in port 80. I am able to verify it running and browsing both localhost and local IP 192.168.1.230 are working ...
2
votes
2answers
2k views

Which AMI to to use for Java/Tomcat/MySQL in Amazon EC2? [closed]

I originally posted this on stackoverflow.com and it was suggested serverfault.com might be a better place to ask this question. So here goes: I'm trying to determine which Amazon Machine Image ...
1
vote
1answer
212 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 ...
-1
votes
1answer
20 views

nginx and tomcat in eclipse - multiple apps

I'm running Tomcat with Nginx as a load balancer. And too keep all the redirects etc consistent, I am also running it in front of Eclipse. Tomcat in Eclipse seems to fail it you try to configure ...
-1
votes
1answer
39 views

Redirect page to port 8080 of tomcat for remote vm [closed]

I have a problem configuring a remote virtual machine (with CentOS 5.5). I've installed LAMP, JasperServer and my company application (an industrial manager software), but this is my first remote VM. ...
0
votes
0answers
12 views

DB Users Getting Locked every time After Restarting TOMCAT

On one of our server we have deployed the Tomcat 6. We observed that each time we start the service DB users which are used to connect to the database gets locked. When we unlock these users and ...
0
votes
2answers
113 views

AWS Beanstalk redirect entire application from http to https

I've been trying to figure this out for a while and have not had any luck. As I'm sure you guys are well aware, the aws load balancer forwards all https request onto the ec2 instance over port 80. I ...
5
votes
1answer
3k views

How do I use non-plaintext passwords for Tomcat users?

On Ubuntu 10.04.3 LTS, after installing Tomcat 6, the way to add a manager / admin account is to add a record like this to /etc/tomcat6/tomcat-users.xml: <role rolename="manager"/> <role ...
0
votes
0answers
42 views

Tomcat 8.0 Rewrite Valve

I am trying to use the RewriteValve in Tomcat 8.0 http://tomcat.apache.org/tomcat-8.0-doc/rewrite.html In $CATALINA_HOME/conf/server.xml, I added <Valve ...
0
votes
0answers
29 views

ASP.NET/IIS <---> Solr/Tomcat setup on EC2 - “best practice” configuration

I am an ec2 newbie and deploying an asp.net application that interfaces with Apache solr (on Tomcat). In my dev environment I am running ASP.NET and Solr/Tomcat on my windows box. I am also ...
5
votes
4answers
5k views

Control SSL Cipher Priority/Order for Tomcat to avoid BEAST attack

With the recent buzz about the SSL BEAST vulnerability I wanted to try to improve the security of an SSL protected web site that is based on Tomcat 6. To that end, I tried the google approach of ...
3
votes
1answer
2k views

Apache SSL reverse proxy to a Embed Tomcat

I'm trying to put in place a reverse proxy for an application that is running a tomcat embed server over SSL. The application needs to run over SSL on the port 9002 so I have no way of "disabling SSL" ...
5
votes
1answer
163 views

Cron daemon reporting “unknown user 'tomcat6'” every day since I removed tomcat

I'm running Ubuntu 12.04. Since I removed tomcat via aptitude purge the other day, I keep getting the following error from Cron daily: /etc/cron.daily/logrotate: error: tomcat6:7 unknown user ...
0
votes
1answer
26 views

Log Outgoing Apache Port on AJP Connection

I have Tomcat 7 set up to work with mod_jk and AJP. I'm wondering if, on the Tomcat side, I can log the mod_jk (Apache side) outgoing port with the Tomcat request handler thread name in order to track ...
1
vote
1answer
32 views

IIS/Apache dont recognize my certificate

Im completely new in this. I have a windows 2008 R2 Server with IIS 7.0 with a expired certificate, so finally i created another (*.CSR, then PKCS#7 and installed). Installing the certificate i have ...
1
vote
1answer
1k views

Forward Shibboleth Environment Variables to Tomcat via Apache

I am using Shibbolethv2.3 with Apache web server and Tomcat application server. I am using Apache as a reverse proxy using mod_proxy.so. I am not able to forward the Shibboleth environment variables ...
0
votes
2answers
67 views

Tomcat : Where to configure jmx Java_opts or Catelina_opts

I have Tomcat installed on ubuntu. I want to enable Jmx for monitoring so in catelina.sh I modified JAVA_OPTS as: JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true ...
0
votes
0answers
48 views

Using SSL to secure Solr with Tomcat - Admin Dash Fails to Load Properly

Tomcat: 7.0.56 / Java: 7 Upd: 71 / Webapp: Solr 4.10.1 / OS: Windows 2012 R2 Busy trying to secure Solr to compensate for the lack of security prevalent for a developer. We're having some difficulty ...
0
votes
0answers
68 views

How can I access my tomcat server running on my network remotely

I have a tomcat server running on my pc which I can access locally via: http://localhost:9090 (I changed the ports in the server.xml file). Now, I am having trouble accessing the tomcat server ...
1
vote
1answer
129 views

Request Entity Too Large mod_jk

I have setup where there is apache (httpd) and apache tomcat both are connected with ajp and in my http.conf LimitRequestLine 65536 LimitRequestFieldSize 65536 under <VirtualHost> and ...
6
votes
2answers
8k views

How do I disable SSLv3 support in Apache Tomcat?

I am trying to reconfigure my Apache Tomcat server to only use TLSv1. However, it is still falling back to SSLv3 using certain browsers. I setup the <connector> tag with the following settings: ...
0
votes
1answer
83 views

Tomcat and Jenkins separately on the same server

I have never installed Jenkins as package on CentOS, but now I tried and it doesn't seem to work correctly side-by-side with standalone Tomcat server. First of all, I installed tomcat by yum install ...
0
votes
0answers
14 views

What are the default accessible resources for a webapp in Tomcat?

When a deploy a web application in Tomcat by default all directories I create under %TOMCAT_HOME%/webapps/mywebapp/ are accessible, i.e. files contained in the directories can be served. Except ...
17
votes
7answers
42k views

Apache+Tomcat having problems communicating. Unclear error messages. Bringing down websites hosted under Tomcat

Setup: Fedora 8 Apache 2.2.8 Tomcat 5.5.8 Apache is forwarding requests using AJP. Problem: After a certain period of time (no constant at all, can be between an hour or two, or one or more days) ...
9
votes
5answers
9k views

What steps should I take to secure Tomcat 6.x?

I am in the process of setting up an new Tomcat deployment, and want it to be as secure as possible. I have created a 'jakarta' user and have jsvc running Tomcat as a daemon. Any tips on directory ...
0
votes
1answer
19 views

Route request to Tomcat only if file doesn't exist on disk

I have Apache in front of my Tomcat installation as a reverse proxy. Most URLs are routed to Tomcat by a JkMount directive in Apache. For one URL pattern I'd like Apache to route requests to the ...
0
votes
1answer
80 views

Tomcat 7 URL rewrite from other domain

On a tomcat 7 server, we've configured a https connector, the TLS certificate is valid for an URL like www.example.com . Now we want to change the A record of one of our subdomains (like foo.bar.com) ...
0
votes
1answer
46 views

tomcat-webapp not accessible via port after windows-update

we are running 4 Virtual Machines on a MS HyperV Host. On one of the VMs (192.168.50.15) we have multiple Tomcat-Webapps on separate ports - 9010: Jenkins - 9020: Atlassian Jira - 9030: Wiki .. ...
0
votes
1answer
795 views

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...