Questions tagged [tomcat6]

Open source web server developed by the Apache Software Foundation

Tomcat 6, an open source web server developed by the Apache Software Foundation, was first released in 2006.

Version 6.0 implements the Servlet 2.5 and JavaServer Pages 2.1 specifications from the Java Community Process.

See also:

283 questions
1
vote
1 answer

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 record with *.mydomain name. after that we have…
1
vote
1 answer

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 at the moment). I need to run the same on tomcat 6…
anup
  • 657
  • 4
  • 8
  • 19
1
vote
1 answer

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, /company/tomcat7.0.39-port8083 and go on, how can I do…
Valter Silva
  • 155
  • 1
  • 4
  • 14
1
vote
2 answers

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.headless=true -Dcom.sun.management.jmxremote=true…
arashsami
  • 33
  • 1
  • 6
1
vote
0 answers

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 using mod_cache and mod_disk_cache. my question is…
Moam
  • 23
  • 4
1
vote
1 answer

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 -> Load Balancer -> Apache httpd server…
KM.
  • 1,746
  • 2
  • 18
  • 31
1
vote
1 answer

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.conf user www-data; worker_processes 4; pid…
ram
  • 113
  • 1
  • 5
1
vote
4 answers

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 start tomcat6 it says: no JDK found - please set…
user5013
  • 233
  • 4
  • 8
1
vote
2 answers

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 HTTP/1.1 400 Bad Request ... # curl -I…
Dean
  • 143
  • 1
  • 1
  • 6
1
vote
1 answer

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 am redirecting with: RewriteEngine on RewriteCond…
elect
  • 203
  • 3
  • 17
1
vote
2 answers

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 tomcat6-admin-webapps) as I can see the…
vowel-house-might
  • 259
  • 1
  • 3
  • 11
1
vote
0 answers

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: JAVA_OPTS="-Djava.awt.headless=true -D64 -server…
sahid
  • 111
  • 3
1
vote
1 answer

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 achieve that functionality?
Saar
  • 119
  • 1
1
vote
1 answer

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 resolving reference java.sql.SQLException: Io exception:…
blue-sky
  • 109
  • 5
1
vote
2 answers

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 so that I can run hudson job as my system…
Anil
  • 13
  • 2