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

How To Work Around Apache Bind Port 80 Error

I believe my problem is related to the order in which windows services start. I have been searching this error before posting here. We are running Windows Server 2003. Both Apache (port 80) and IIS ...
0
votes
1answer
7 views

504 error crash on openshift

I have deployed a java application in openshift. I am using bronze plan. My application is a scaled application and also uses 4GB of memeory. I got an 504 error crash two or more times in a day. ...
0
votes
2answers
749 views

Starting Automatically Tomcat 7 Monitor Windows 7 / Vista

Anybody knows how is possible to start automatically Tomcat's Monitor? Tomcatw.exe with the service's Tomcat? I tried but, it does not start. I was trying to install like windows Services manually, ...
-1
votes
1answer
12 views

org.apache.catalina.session.ManagerBase- Start expire sessions StandardManager and End expire sessions StandardManager

I am just a beginner with tomcat and got stuck with following error while deploying a third party application. I have certainly start getting in tomcat (tomcat version is 7 on windows 2008 r2) logs ...
0
votes
1answer
4k views

Why - Could not find worker with name 'jk-manager' in uri map post processing?

I am using apache2 + mod_jk(ajp protocol) + tomcat7. but I always get the error below: [Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized ...
1
vote
1answer
24 views

Log warnings and errors only in Tomcat

I'm running an instance of Apache Solr with Tomcat 6. The scripts I used for installing configured Tomcat to log "everything" which means that it generates huge logfiles because every query etc. is ...
1
vote
1answer
1k views

Can't connect to localhost on port 8443 for tomcat https

I've installed tomcat and it is running perfectly fine. However, I can't access it via https layer. Port 8080 works fine: curl -IL http://localhost:8080 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 ...
1
vote
1answer
714 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 ...
2
votes
2answers
2k views

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

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

Tomcat aplication status shows AJP threads busy for long time

We are running a JEE application inside a Tomcat 7 container on a machine with Windows SO. Sometimes, the application response time become really bad and a little after that app freezes and a tomcat ...
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 ...
-1
votes
0answers
16 views

Java: very slow tomcat and too big war file

I created some sort of RESTful API backend for a mobile app. It's written completely in Java using Jersey as Framework. At the moment no database is used, it's all in the memory, but this is no ...
0
votes
1answer
77 views

Tomcat and IIS 7 both on different ip's and different ports

I have Tomcat and IIS 7 installed together on a Windows 2008 server. The machine has two IPs (134.133.1.1 and 134.133.2.2). I want Tomcat to handle 134.133.1.1, on port 80, and IIS to handle both ...
1
vote
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
0answers
9 views

Handle compression on Apache without propagating the Accept-Encoding to back-end Tomcat server

I have Tomcat fronted by Apache. I want to handle compression on Apache only, without Tomcat being aware. I disabled compression on Tomcat already, but due to a problem with the application running on ...
0
votes
0answers
17 views

Permission Issue for mounted Folder

We are using Jboss5.1.0 installed in Oracle Linux Server. We have mounted the Virtual Folder Directroy from Windows 2008 R2 Server which servers images and css files. we have mounted the virual ...
1
vote
1answer
11 views

Tomcat SFL4j error

I am getting this error when trying to start a new application using Tomcat: Could not find necessary SLF4j logging jars. If using Jetty, the SLF4j logging jars need to go in the jetty lib/ext ...
7
votes
1answer
1k views

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to ...
0
votes
1answer
2k views

Setting up AJP with JBoss 7

I have two different versions of JBoss on a server, JBoss 6.0 Final and JBoss 7.0.2. I can one run or the other by switching a couple of sym links and issuing a "service jboss start" command. I am, by ...
0
votes
1answer
766 views

Starting Tomcat 7 as a user - init.d script can't write pid

I want to run Tomcat 7 as a user on CentOS 6. I've created a user tomcat:tomcat and changed the ownership under /var/lib/apache-tomcat* etc... There are lots of docs online on how to do that but I ...
0
votes
1answer
706 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 ...
1
vote
1answer
692 views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
0
votes
1answer
726 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 ...
1
vote
2answers
2k views

How to make Tomcat 7 log debugging info?

Tomcat 7 takes more than 21 minutes to start: ene 09, 2013 10:01:39 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1290787 ms When it finishes it says that it's scanning JARs ...
0
votes
1answer
2k views

Simple setup for load-balanced and fail-over tomcat?

Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each ...
3
votes
3answers
7k 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 ...
1
vote
1answer
36 views

starting tomcat remotely fails to start

When I run my start command via ssh it tells me that its started but it is in fact not the case. Catalina logs does not seem to capture any events either. However stop and status works. ssh -t ...
1
vote
1answer
924 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 ...
0
votes
1answer
2k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
0
votes
1answer
22 views

Where should I apply the SSL certificate?

I just bought a positive SSL for my company's staging server. We Apache web server and tomcat installed on the server. I'm not an expert but I saw some settings in httpd.conf file that has url like ...
0
votes
1answer
760 views

Keytool ServerAlternateName

I'm trying to get the certificates just right for our Jira/Confluence deployments in house. People access them differently, either from the hostname or the FQDN. I'm using Java 7's keytool so I have ...
2
votes
4answers
6k views

tomcat6 on CentOS 6: cannot stop/restart service

I have this problem with stopping and starting tomcat6 (package from the repos). I've seen with several CentOS 6 and RHEL 6 boxes. The symptoms are that when I want to restart or stop tomcat6 it just ...
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 ...
4
votes
1answer
1k views

using wildcards in host-aliases for Tomcat's virtual hosts

I want to do the following with Tomcat 5.5: *.mydomain.com should go to my webapp, located at the virtual host mydomain.com. So I have a virtual host mydomain.com, and I want all *.mydomain.com also ...
1
vote
1answer
57 views

Apache: Proxy based on URL suffixes

My team has written an internal BI server, which generates HTML reports at links such as /users/daily or /updates/questions. The server is written in Grails, and it works perfectly with a classic ...
2
votes
1answer
264 views

Issue with solr memory usage

I'm having memory problems with a Solr slave instance. The problem is that every time the slave replicates new changes from the master, the slave starts a new searcher, and apparently the old one ...
1
vote
1answer
55 views

Session lost in tomcat uing nginx as proxy

I have several applications in a tomcar server. I am using nginx for proxy so i can achieve acceding the application from a subdomain tomat:8080/app1 > app1.mydomain.com tomat:8080/app2 > ...
0
votes
2answers
838 views

Apache reverse proxy with VirtualHost not serving a page

I have an Apache reverse proxy set to move requests to a Tomcat Applet. The config is similar to: <VirtualHost 100.100.100.100:80> ProxyPass /AppName/App http://1.1.1.1/AppName/App ...
1
vote
1answer
20 views

1and1 host 2 domains to same tomcat instance in the same server

I am having some problem hosting a second website in the same server. I have 2 1and1 domains now. When i had the first one, i set the DNS setting to point to my server's ip address and i had the port ...
1
vote
2answers
730 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
861 views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
0
votes
1answer
702 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
742 views

How to use mod_proxy to let my index of Apache go to Tomcat ROOT and be able to browse my other Apache sites

I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder. I used sth like this in httpd.conf: ...
0
votes
1answer
23 views

Nginx: index mapping

I'm trying to install Nging as a frontend server for HTTP requests but the welcome page does not work: server { listen 8081; server_name localhost; root ...
0
votes
2answers
18 views

OpenNMS installation failure

I am willing to use OpenNMS to monitor my network. Monitoring it fully from the router to the nodes from a computer will be connecting the network as node not as administrator and that computer using ...
1
vote
1answer
509 views

Setting Manager path in Tomcat6

I want to switch context path to Manager app in Tomcat6 http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html I change $CATALINA_BASE/conf/[enginename]/[hostname]/manager.xml to: <Context ...
0
votes
2answers
795 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
1answer
47 views

Multiple Domains Single Tomcat 7 - Apache Mod_proxy

I have been struggling with this for a day and more now. As i am new to server setup stuff. Been following many tutorial and docs on net regarding the same, many hit and run, But got no luck. Here is ...
0
votes
1answer
673 views

Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables?

I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect ...
0
votes
2answers
3k views

Set up HTTP Proxy for Tomcat Web server

Basically, I'm trying to make SOAP calls from a Tomcat server via a corporate proxy/ firewall (which I have no direct control over), I've tried to add info to the catalina.properties file as shown: ...