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

Development server for java WAR applications from current directory and without sudo [migrated]

In Rails and most modern web frameworks, I can easily develop web applications interactively by running a development server with a single simple command (rails server) and visiting the browser. For ...
1
vote
2answers
2k 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
1k views

Tomcat is closing randomly

We are using Tomcat 7.0.21 for production. Server is hanging randomly for last week. It creates files like hs_err_pid4528.log under bin folder. There are two parts in logs. JRE version: 7.0_21-b11 ...
0
votes
1answer
974 views

.htaccess Rewriting Tomcat Server

I am writing a website using Railo. My code is to be deployed on a Railo Server running on Tomcat, overlayed on a regular Apache+PHP server. I need to send all requests to ...
0
votes
1answer
17 views

Tomcat service dies on startup

I have added the following arguments to the JVM options for a Tomcat Windows service: -Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false ...
-1
votes
2answers
42 views

Start Tomcat through cronjob

To make sure that Tomcat is running all the time, I wrote the following shell script #!/bin/bash status="$(curl -s http://www.domain.com/check)" if [ "$status" != "OK" ] then ...
0
votes
1answer
1k views

Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed

I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from ...
1
vote
1answer
3k views

IIS 7.5 , Tomcat 7 - Isapi redirector - Fail Over - sticky sessions

I have two instances of Tomcat 7.0.8 running in the same machine (Tomcat7A and Tomcat7B) and IIS 7.5 acting as front-end load-balancer with isapi-redirector 1.2.31, running on Windows 2008 R2. When i ...
0
votes
1answer
26 views

Prevent Tomcat from shutting down

I'm using CentOS 7 and Tomcat 8 to serve an online shop. After logging into the server via SSH, I usually run ./startup.sh and everything works smoothly, except for one thing: From time to time ...
0
votes
1answer
47 views

How to find evidence of outbound network traffic in linux

I have setup a standard web application server in AWS using a bitnami Apache-Tomcat AMI. The instance is running in a public subnet with all Outbound traffic open but only allowing traffic inbound ...
0
votes
2answers
955 views

fedora tomcat log file path

My log file is inside: kamil@localhost tomcat$ grep "logs/" ./* ./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log my CATALINA_HOME is kamil@localhost tomcat$ sudo grep ...
0
votes
0answers
18 views

Umlaut URLs fail in Tomcat when accessed via isapi_redirect

I have some PDF Documents in my Servlet that contain ä,ö,ü,ß, etc. On accessing the documents like this http://hostname:8080/ServletName/test_ä.txt the tomcat initially responded with an 404. After ...
0
votes
2answers
892 views

Tomcat 6 crashes under CentOS 5

We have CentOS 5, OpenJDK 1.6 and Tomcat 6. Every week or two our server fatally crashes with the following output in catalina.out: Exception while removing reference: java.lang.NullPointerException ...
0
votes
0answers
12 views

How can I add timestamps GC log file names in a Java Service under Windows? [migrated]

I've got a Java Application running against Apache Tomcat, under Windows. There are two ways of running this application - either as a Windows Service, or from a batch file to invoke Tomcat manually. ...
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
1answer
954 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
1answer
64 views

Apache Tomcat 7.0.57 Cluster & mod_proxy / mod_proxy_ajp

I have set up an Apache Tomcat Cluster with an Apache HTTP server and load balancing on CentOS 6.6 the following way: + 1 VM running HTTP server & 1 Tomcat instance (used for deployment, not ...
0
votes
1answer
416 views

Apache mod_proxy_balancer + Tomcat load balancing - Should not redirect until web applications are ready

I am using apache2 mod_proxy and mod_proxy_balancer to balance the load to 4 seperate tomcat8 instances on different servers. I am using different AJP ports for each tomcat instance and using jvmRoute ...
0
votes
2answers
4k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under ...
0
votes
2answers
922 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
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
2k 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, ...
1
vote
1answer
51 views

PostgreSQL 9.2 causes CPU utilization to go to 100%

We have a Java EE application (a online digital library portal) with Hibernate 4.3 which connects to a PostGres 9.2 database. Upon load testing with a load of 175 concurrent users logging in and ...
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 ...
3
votes
1answer
2k 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
878 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 ...
1
vote
1answer
53 views

Nginx and Tomcat Reverse Proxy not Working

I had trouble configuring Nginx and Tomcat Server on Cent OS. Here's the nginx.conf: server { listen 80; server_name subdomain.test.com; root ...
0
votes
1answer
121 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
votes
1answer
28 views

Cache Memory Growing very fast Cent Os -Tomcat

i am running Java application on Tomcat-6 on CentOs . JAVA_OPTS Like this : JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask` -server -Xms256m -Xmx2536m ...
1
vote
1answer
79 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
3answers
2k 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
1answer
61 views

tomcat7 hangs on deploying apps

I faced very strange behavior of tomcat7.(Ubuntu 14.04) I created new VPS. Installed default-jdk and other simple stuff. Downloaded and unpacked tomcat7. Checked that it runs via myIp:8080 and saw ...
1
vote
1answer
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
0answers
50 views

mod_proxy_ajp (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header

I am using mod_proxy_ajp with Tomcat and I receive the following error: (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header How do I fix this?
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
0answers
12 views

Is “deployer” a reserved username in Tomcat?

I just found a curious situation with Apache Tomcat. When I tried to deploy my web application to tomcat via maven. I found that username deployer doesn't work yet username deploy works. Is the ...
0
votes
0answers
7 views

Can't connect to tomcat7 from public ip [migrated]

I posted this question on stackoverflow and was recommended to ask here instead. I've been struggling with this issue for the past two days and am hoping someone here can help me out. I have a ...
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 ...
0
votes
0answers
22 views

Make Multiple MOD_JK environment aware of each other

I have 2 web servers utilising mod_jk to load balance requests to 3 tomcat servers. The current configurations have to allow the usage of sticky sessions to pass returning requests back to the same ...
0
votes
1answer
814 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 ...
0
votes
1answer
33 views

Virtual Hosts, apache, mod-jk and tomcat

I have a tomcat(running on 8080) application on my cent os server and i can access it with the url: SERVER_IP:8080/myapp and I have my admin panel on SERVER_IP:8080/myapp/admin and I have an ...
0
votes
1answer
1k views

Load balancing using Httpd mod_cluster and tomcat not working

I am trying to setup a load balancer using Httpd, mod_cluster and Tomcat. My Httpd is running on the same server with IP 192.168.9.73 where the tomcat is running. Here is my Httpd configuration- ...
2
votes
1answer
1k views

Which JMX statistics to watch out for in Catalina/Tomcat?

I have configured OpenNMS to collect all kinds of numeric data coming out of tomcat7 jmx. There are a lot of things. I am interested in monitoring this tomcat instance so that I can avoid down time ...
1
vote
0answers
22 views

Enabling mod_spdy with mod_proxy_ajp to Tomcat

I am using mod_proxy_ajp to Tomcat. If I enable mod_spdy... Will this mean that connections over the proxy will be SPDY enabled?
5
votes
1answer
4k views

Apache Solr Admin on Tomcat Deployed in WebApps Directory

I am trying to get Apache Solr to work on Redhat6 and Tomcat6 (using these instructions), but get this error when browsing to the admin section, http://localhost:8080/solr-example/admin: HTTP ...
0
votes
0answers
23 views

tomcat6 on centos 6.2 fail to start

i just installed tomcat6 through yum, but service tomcat6 start = OK, but service tomcat6 status = fail i found this post ...
0
votes
1answer
43 views

Deployment with tomcat7 manager, change directory for uploaded war

I am fighting with .war deployments using tomcat manager, it is starting webapp twice because I have defined hosts under server.xml. So it deployes one app for example.com and other one for /example. ...
0
votes
1answer
30 views

Tomcat threads are increasing but never decreasing

We are using new relic to monitor tomcat threads. The graph shows increase of thread count,but it never decreased even the application is idle. We noticed that when it increase CPU also increased and ...
0
votes
0answers
58 views

mod_jk losing connection with tomcat

I'm running an Apache tomcat + mod_jk 1.2.40 behind an apache web server. Everything has been setup and works properly for some amount of time since a tomcat startup (measurable in days/weeks); then ...
4
votes
5answers
27k 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 ...