Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

0
votes
0answers
23 views

Installing tomcat6 on centos 64

I've tried: # yum install tomcat6 The result is as below: Transaction Summary ===================================================================================================================== ...
1
vote
1answer
208 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
70 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
113 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
506 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
20 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
14 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
51 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
49 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
24 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
52 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
63 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
60 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
210 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
398 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
228 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
126 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
97 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
54 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
217 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
67 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
0answers
296 views

Apache Tomcat browser caching with expires module

I'm using Apache Tomcat with mod_jk for our sites on Ubuntu servers. I'm trying to cache all the images in the browser for faster reloading of web pages. I have few images from CDN and some are in ...
0
votes
1answer
137 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, ...
0
votes
1answer
308 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 ...
0
votes
0answers
211 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
93 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
294 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
867 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
88 views

need help for tomcat6 ubuntu12.04

starting Tomcat using the given script..any idea what went wrong ? I install the package using the instruction from the ubuntu doc ubuntu@ip-10-31-166-200:/usr/share/tomcat6/bin$ ./catalina.sh run ...
0
votes
2answers
50 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
294 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
104 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
58 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
238 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
67 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
143 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
171 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
278 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
138 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
41 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
63 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
696 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
133 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
414 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
2k 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
3answers
2k 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 ...
0
votes
3answers
517 views

Tomcat6 cannot find java enviroment variable

Here is a stupid noob question. I installed Tomcat6 and java-6-oracle. I set the /env/environment to contain JAVA_HOME and JRE_HOME (and both point to the correct directory). However when I try and ...
1
vote
2answers
3k 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 ...
1
vote
1answer
521 views

Tomcat behind Apache: redirect everything to maintenance except one

I need to redirect all requests to a maintenance page except a specific URL that could still give me the possibility to access the normal website. I googled but I did not find anything. Right now I ...
0
votes
2answers
77 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 ...