Questions tagged [tomcat6]
Open source web server developed by the Apache Software Foundation
283
questions
0
votes
0
answers
777
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
0
answers
59
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
1
answer
93
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 ...
7
votes
3
answers
13k
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
1
answer
4k
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 ...
2
votes
1
answer
1k
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 ...
6
votes
2
answers
17k
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
1
answer
704
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
4
answers
948
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
1
answer
939
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
1
answer
1k
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
1
answer
938
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
1
answer
2k
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
1
answer
1k
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
1
answer
1k
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?
7
votes
2
answers
21k
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" ...
1
vote
1
answer
7k
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
2
answers
82
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
1
answer
1k
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-...
2
votes
2
answers
8k
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
0
answers
204
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
1
answer
2k
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
1
answer
2k
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 ...
2
votes
2
answers
5k
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
1
answer
2k
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
2
answers
2k
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 ...
2
votes
1
answer
3k
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
1
answer
413
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
1
answer
2k
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
3
answers
8k
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"
...
2
votes
6
answers
62k
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
4
answers
3k
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
2
answers
18k
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
1
answer
3k
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
2
answers
330
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
1
answer
221
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
1
answer
5k
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/solr/...
0
votes
1
answer
643
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
2
answers
295
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
2
answers
1k
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
2
answers
3k
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
1
answer
122
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
0
answers
327
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:
...
1
vote
1
answer
1k
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 ...
1
vote
1
answer
389
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 ...
2
votes
1
answer
9k
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 ...
13
votes
3
answers
10k
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
2
answers
874
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
4
answers
32k
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
2
answers
511
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 ...