Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

2
votes
2answers
3k 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
344 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 -XX:+...
-3
votes
4answers
603 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
296 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
585 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 /...
1
vote
1answer
258 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
715 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
844 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 ...
-1
votes
1answer
477 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?
2
votes
2answers
4k 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
3k 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
73 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
655 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 force-proxy-...
0
votes
1answer
975 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 -Djava.awt....
1
vote
0answers
103 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
1answer
918 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
907 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
611 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
903 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
422 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
59 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: /var/...
2
votes
1answer
2k 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
380 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 ...
1
vote
1answer
1k 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. nginx....
0
votes
3answers
6k 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" ...
1
vote
4answers
15k 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 ...
1
vote
4answers
2k 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
8k 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
1k 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
109 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 ...
0
votes
1answer
102 views

How to enable logging for virtual hosts on tomcat6?

I have established 2 domains on my tomcat 6 running on CentOS. But now my logging is broken. All logs except catalina.out are empty. I would like to have one log for each domain. I found a lot of ...
3
votes
1answer
4k views

SolrCore initialization failures

When I visit the dashboard it tells me: SolrCore initialization failures The only warning line in /var/log/tomcat6/catalina.out is: WARNING: New index directory detected: old=null new=/var/...
0
votes
1answer
191 views

How to find Apache memory utilization?

I want to measure memory utilization of my Apache Server. Can I use the pmap/ps command and pass all the process IDs of httpd and take that as total utilization? In most of the blog, they suggest ...
1
vote
2answers
251 views

Installing djatoka on tomcat 6 on RHEL 6.3

Can someone help me get djatoka image viewer running on my RHEL 6.3 machine (an EC2 instance hosted by Amazon Web Services)? Tomcat 6 installed nicely (using sudo yum install tomcat6 tomcat6-webapps ...
0
votes
2answers
802 views

Solr performance (tomcat) - High load

I'm relatively new to solr. I have a production site running on a VPS, but now I'm having serious load issues. I don't know where to start in order to get the load down... VPS specs (linode.com 512) ...
2
votes
2answers
984 views

HTTP through a proxy server is not allowed

When I try to connect to my Tomcat server on http://<servername>:8080 it works fine, but from another ISP provided it gives the following error: HTTP through a proxy server is not allowed. ...
2
votes
1answer
89 views

Can a working Tomcat 6 webapp be turned into a usable .war file?

Problem: I have a working webapp on a FreeBSD 8.1 Tomcat 6 test server that I need to move to a production system. The developer who last touched it (and had root on that server) has moved on and isn'...
1
vote
0answers
96 views

Committed memory on my tomcat server

I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server. Actually I have configured JVM like that: ...
0
votes
1answer
327 views

Tomcat vs. IIS - multiple worker processes

The Application Pool feature of IIS allows to run several applications each separated to each own isolated processes. Is there any equivalent in Tomcat? Or do I have to deploy Tomcat several times to ...
0
votes
1answer
792 views

Configure Plesk only for Tomcat-Java

I need to configure tomcat on Linux dedicate server only for Java project through Plesk . Following services is running on it. '1.Apache on port 80 ' '2.Tomcat on port 8080/9080' '3.Mysql on port ...
1
vote
1answer
156 views

Migrating from tomcat to tc server - receiving java.sql.SQLException on startup

I'm receiving below error when I start tcServer. I do not receive this error on standalone version of tomcat. Is there extra config I need to add for tcServer ? WARNING: Unexpected exception ...
1
vote
1answer
5k views

How to turn off Tomcat logging in Eclipse? [closed]

I develop a Vaadin project in Eclipse that I start through Tomcat 6 which gets started directly by Eclipse. Tomcat prints an enormous amount of log messages though on each start which makes it hard to ...
11
votes
2answers
4k 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
2answers
404 views

Can I save an Apache environment variable value with SetEnv?

I am running Apache 2.2 with Tomcat 6 and have several layers of URL rewriting going on in both Apache with RewriteRule and in Tomcat. I want to pass through the original REQUEST_URI that Apache sees ...
6
votes
4answers
19k 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 ...
1
vote
2answers
470 views

How to change the HUDSON owner on ubuntu:

I am working with tomcat6 and HUDSON, when I run the hudson job it is running as tomcat6 user, what I want to know is there any way to change the HUDSON user as my system login user instead of tomcat6 ...
1
vote
1answer
44 views

Tomcat looks different when installed using yum and apt-get

I just installed tomcat6 on Ubuntu using apt-get and on CentOs using yum. When I visit www.domain.com:8080, I get 2 different looking page. Not that it really matters if just the visuals, but did I ...
1
vote
1answer
1k views

Apache reverse proxy jumps back to insecure protocol after redirect

I installed a reverse proxy apache server which handles the SSL encryption for a tomcat. We have a struts web application, and everytime we use response.sendRedirect(), the application falls back into ...
-1
votes
1answer
331 views

Amazon EC2 - Free memory

We have an amazon ec2 small instance running and over the past few days we noticed that the memory is going down and down. On the small instance, we are running apache and tomcat6 Tomcat is started ...
1
vote
0answers
198 views

Difference between Admin and Manager role in Tomcat6

What are the roles admin and manager used for in Tomcat6? The manager role appears to give me access to http://domain.com:8080/manager/html. Which page does the admin role give me? In the file, the ...