Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

0
votes
0answers
8 views

tomcat 6.0 delays before dispatch to servlet

I have a Spring Java Servlet running under Tomcat 6.0 on three different Linux machines. Tomcat is acting as a webserver, handling the port 8080 requests. The .WAR file is identical for all three ...
0
votes
0answers
24 views

Tomcat failed to start - Port being used while nothing is really using that port

Currently i have an issue with my tomcat application where it always mentioned that port is being used. The thing is, this issue only happened sporadically and whenever this issue happened, i did run ...
0
votes
0answers
19 views

Starting a second tomcat instance with a user other than root on redhat linux

I am running RHEL Server 6.1 After intalling tomcat6 using yum install tomcat6, I needed a different tomcat instance on the same server. Following instructions on ...
1
vote
1answer
34 views

Tomcat: Log the equivalent of SSL_CLIENT_S_DN

In Apache HTTPD it is possible to create custom request logs which include the value of SSL_CLIENT_S_DN. Since the site requires mutual authentication (client certificates) this provides a good audit ...
1
vote
1answer
56 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 ...
2
votes
1answer
269 views

Apache mod_proxy: Multiple virtual hosts disable each other

I have an Ubuntu 12.04 server, which had Redmine already installed on a stand-alone apache (everything under /opt/redmine). I wanted to install an instance of Jenkins on the same system, without ...
0
votes
0answers
50 views

Installing tomcat6 on centos 64

I've tried: # yum install tomcat6 The result is as below: Transaction Summary ===================================================================================================================== ...
1
vote
1answer
591 views

How can I troubleshoot an Apache Server reverse proxy dropped connection?

We are suddenly seeing an intermittent, but very frequent, error while POSTing files to a Tomcat servlet over https via an Apache Server reverse proxy. The error only seems to occur while POSTing ...
0
votes
0answers
167 views

Apache django and tomcat

I have one app running on tomcat6 and a website running with django I would like that if the user write 127.0.0.1/manager/html --> redirect on tomcat otherwise redirect on django Here is my apache ...
2
votes
0answers
209 views

Tomcat 6 session replication does not work with HAProxy

I have HAProxy loadbalancer and two Tomcat backend servers. HAProxy is configured with cookie based persistence, Tomcat is configured with SimpleTcpCluster according to documentation. Multicast ...
0
votes
1answer
1k views

Starting tomcat causes “java.io.FileNotFoundException: ../logs/dc.log (No such file or directory)” in catalina.out

I have been seeing this for literally years as part of tomcat apps, and now that I have gone through the steps to investigate it, I can't find the cause. Here's what I see whenever I start tomcat on ...
0
votes
0answers
31 views

Error while Installing Tomcat6 on Linux Debian Squeeze

I install Tomcat6 and try to run the server but its not starting up. I checked the log and found out this error. Apr 29, 2014 3:29:13 PM org.apache.catalina.core.StandardContext resourcesStart ...
0
votes
0answers
19 views

Change tomcat security-roles by editing web.xml from PHP

When a user buys a product, I set up a new domain on the fly (by calling some API from PHP), and then I come to a point where I need to specify certain security roles in TomCat, preferably still from ...
1
vote
1answer
100 views

Tomcat resources not resolving correctly

I'm trying to deploy MITRE's OpenID Connect Java Spring Server using Tomcat. My server's FQDN is park.muller.io. I've compiled the MITRE server and placed the .war file into the Tomcat webapps ...
0
votes
0answers
67 views

Connections pending Apache + Tomcat Setup

I have a Web App deployed using Tomcat . I'm also using Apache to do the port forwarding from 80 to 8080. I have an API service passing from apache to tomcat which gets large number of hits per day ...
0
votes
0answers
27 views

performance issue in tomcat

I have a load balancer, under load balancer I have to apache webservers with Mod_jk. Sticky session enabled in both load balancer and webservers. I have two tomcat servers(both are clustered/session ...
0
votes
1answer
53 views

A botnet may be attacking our site right now, how should we respond? [duplicate]

Not sure if SO is the right forum, but we're in need of help and perhaps programmatic elements may comprise the final solution. Instead of downvoting, please recommend where to post this question, and ...
2
votes
2answers
84 views

http in the Location-header when the original request was made over https

I am currently implementing https on our production environment, but I am scratching my head over a little thing here. SSL is terminated in the load balancer and the flow in our stack is basically ...
0
votes
1answer
88 views

Change java version for tomcat on centOS

I need to run tomcat6 with Java 8 and keep Java 6 as the default JRE on CentOS. I have succeeded on unpacking a tar version of tomcat6 on centOS and doing so, but when I use the yum package, for ...
0
votes
0answers
288 views

Can't connect to Tomcat via JMX : java.lang.SecurityException

I've tried to follow the instructions given by numerous blogs to set up JMX on Tomcat6. Basically, what I've done is to add the following lines to tomcat6 in /etc/default: # To enable remote access ...
2
votes
1answer
565 views

Tomcat doesn't appear to work out of the box on a fresh CentOS 6.5. Am I missing something?

I install CentOS 6.5 with the "Web Server" package selection and everything else as defaults. I do a service tomcat6 start, then a ss -ntlp to confirm that Tomcat is listening on port 8080, as ...
0
votes
2answers
444 views

Why isn't tomcat serving the correct SSL certificate

I configured tomcat with SSL successfully and was using a self-signed certificate. Recently an issue arose where just having the client "Accept/trust" our certificate wasn't easy. We ended up ...
2
votes
1answer
189 views

Will Tomcat 6 cache across Webapps?

I have a Tomcat 6 server on an Ubuntu 12.04 server with 4GB and the following JAVA_OPTS JAVA_OPTS="-Djava.awt.headless=true -Xms512M -Xmx512M -XX:PermSize=1024M -XX:MaxPermSize=1024M ...
-3
votes
4answers
150 views

How to configure Tomcat6 to run Php5 [closed]

I am using Tomcat6 as a server and i want to run php5 application on tomcat . Is there anyway to configure tomcat6 to run php on it .? I am using Ubntu 13.10 to run tomcat6
0
votes
1answer
70 views

tomcat server starting error?

1. cd /home/mpatil/Downloads/ 2. tar zxvf apache-tomcat-6.0.37.tar.gz 3. cd apache-tomcat-6.0.37/bin 4. ./startup.sh 5. tail -f /home/mpatil/Downloads/apache-tomcat-6.0.37/logs/catalina.out The ...
-4
votes
1answer
292 views

how to start the tomcat server in linux? [closed]

i tried to install 1.yum install -zxvf apache-tomcat-6.0.47.tar.gz then 2. export TOMCAT_HOME=/home/mpatil/softwares/apache-tomcat-6.0.37 3. [root@localhost mpatil]# echo $TOMCAT_HOME ...
0
votes
1answer
82 views

How to write rules to for random sub domains in Apache?

Actually our website creating by using Java technologies so installed Tomcat,apache on VPS and deployed. we are creating sub domains for registered customers we have enabled the Wildcard by creating A ...
0
votes
1answer
194 views

Tomcat6 Decompressing GZip Request

Since Tomcat has the option to compress its response to GZip. Is there a way to configure Tomcat 6 to decompress gzipped requests without putting it behind an Apache server with mod_deflate enabled, ...
1
vote
1answer
388 views

Solr 4.4 with tomcat 6 throws 503 on tomcat manager

System Details: OS: Cent OS 5.5 x86_64 java - 1.7 (1.7.0_25) tomcat : 6.0.37 solr 4.4 (configured for multi-core) I had solr 4.4 multicore running perfectly on jetty (although running just one core ...
4
votes
0answers
331 views

IOException: Operation not permitted; No faulty members identified

I am running a tomcat cluster with three tomcat instances and one Apache server. I have all MAC server except one RHEL box, on RHEL server my tomcat-cluster is not starting properly which is causing ...
-1
votes
1answer
138 views

Apache Tomcat from 6.0.36 to 6.0.37 (windows server) [closed]

I have a Apache Tomcat 6.0.36 installed on a windows server and would like to upgrade to 6.0.37 How should I do this?
0
votes
1answer
517 views

How can I determine the optimal size of the maxThreads of my NIO/APR Connector for Tomcat?

I am using NIO/APR Connector for Tomcat7. E.g. <Connector port="8080" protocol="org.apache.coyote.http11.Http11AprProtocol" connectionTimeout="3000" redirectPort="8443" ...
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
2answers
53 views

How to change what a web address displays by server settings?

I'm not too familiar with server configuration especially CentOS or Redhat based server configuration. The problem that I am currently having is that I have Tomcat6 installed. When I go to my website ...
0
votes
1answer
372 views

Apache in front of JBoss 6 -> Some proxy errors

Here under my Apache configuration: <IfDefine TOMCAT> <IfModule mod_ssl.c> <IfModule mod_proxy_http.c> ProxyTimeout 300 SetEnv ...
0
votes
1answer
160 views

Tuning Garbage Collection in Apache Tomcat

I have the following parameters in tomcat6.conf JAVA_OPTS="-server -Xmx6144m -Xms3072m -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=999 -XX:ReservedCodeCacheSize=128m -XX:MaxPermSize=256m ...
1
vote
0answers
72 views

apache reverse proxy - make static content cachable

I have an apache web server (reverse proxy with mod_proxy) in a front of a tomcat java application. to improve performance, i would like to make static content (css, javascript and images) cachable ...
0
votes
0answers
353 views

Tomcat with SSL - java.io.IOException: Keystore was tampered with, or password was incorrect

I am trying to use tomcat setup over SSL. I generated the keystore using this command $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /home/user/.keystore Then I used the ...
0
votes
1answer
128 views

Tomcat Requested resource not found

I have a webapp, for which i have created a softlink in the webapp folder in tomcat6 directory /var/lib/tomcat6/webapp. Now, i have the webapp stored in /webapp/ when i pointed all my servers and ...
0
votes
1answer
274 views

Make tomcat use Oracle Java, instead of OpenJDK

I have a webapp from Atlassian, called as Crowd, in order for this app to function, i need to have tomcat, and OracleJDK. the app provides a tomcat container, but that is not what i want. I want to ...
1
vote
0answers
233 views

TOMCAT Disable org.apache.http.wire logging

I need to shut up the org.apache.http.wire logging level because its logging every single HTTP request and it produces Gigabytes of logging, I'm using the default logging of tomcat6 which I think it ...
1
vote
1answer
363 views

Passing Client IP across Multiple Proxies

I have a load balancer in front of an Apache httpd server, which in turn is in front of a server running Tomcat6. We're using Tomcat to running Shibboleth's IdP. The follow looks like this: Client ...
0
votes
2answers
180 views

Regular Error 500 with SOLR-Server

In the recent weeks the SOLR server system of our customers have the same error regularly, increasingly often. By now it's almost daily. In the client, the SOLR 3.6 throws this exception to the PHP ...
1
vote
0answers
46 views

Apache/Tomcat proxy configuration

I have a server that is running Apache and Tomcat. Apache functions as: reverse proxy for Tomcat serve static files Tomcat: serve dynamic content Apache is serving static files from: ...
0
votes
0answers
86 views

Consolidating Tomcat connectors in server.xml

I'm looking to see if there is a way to consolidate the follow two Tomcat (v6.0.x, on Windows 2008 Server) connectors below (in conf/server.xml): This one is used to get to the app directly, via ...
1
vote
1answer
826 views

Apache2 proxy Tomcat6 prevent 503 error while starting

While tomcat6 is starting up all my http requests are retained by the server and sends the response when the server is up. But when I use an apache2 as a proxy the apache2 responds inmediatly a 503 ...
0
votes
1answer
187 views

Unable to access Tomcat6 from outside the server

I've just installed Tomcat6 on my Debian Linux server (with OpenJDK), which also has an Apache server installed on the same machine. I haven't strayed from the default settings, so it would be setup ...
0
votes
1answer
523 views

NGINX as load balancer with tomcat6 gives bad gateway error only only HTTPS mode

I am using nginx as load balancer on tomcat6 webserver. Both NGINX and TOMCAT6 have been configured to use only HTTPS. NGINX configuration settings are mentioned in the following two files. ...
0
votes
3answers
3k views

Unable to start Tomcat6 with HTTPS enabled

I have the following server.xml settings for my tomcat6 server <!-- COMMENTED <Connector port="8080" maxThreads="150" enableLookups="false" acceptCount="100" ...
0
votes
4answers
3k views

how do I know tomcat is running on Windows

I'm on Windows, went to %CATALINA_HOME%\bin\ and ran startup. I did see another commandline window popup and tomcat was loading some webapps that were there before (I had run webapp inside my IDE ...