Questions tagged [tomcat7]

For questions specific to Apache Tomcat version 7.

242 questions
2
votes
4 answers

The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program"

I have installed JDK 7 and tomcat 7 and set the following environment variables: PATH: ......C:\Progra~1\Java\jdk1.7.0_51;F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52\bin; CATALINA_HOME:…
Ashu
  • 23
  • 1
  • 1
  • 3
2
votes
1 answer

How can I check if a Tomcat7 user instance is running?

I started a Tomcat7 user instance with tomcat7-instance/bin/startup.sh, but how can I chek if that instance is running or not? Of course, an easier way than with ps | grep. I know that to check the service status you can use service tomcat7 status,…
Adrian Ber
  • 305
  • 2
  • 5
  • 16
2
votes
1 answer

Apache server : Reverse proxy and websockets via mod_proxy_wstunnel

I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel. The httpd.conf : ServerAdmin webmaster@localhost ServerName…
WhatsUp
  • 125
  • 2
  • 2
  • 5
2
votes
2 answers

Unable to configure tomcat 7 to use own JDK

I have the following problem configuring tomcat 7 to run as a service on windows. More specifically, tomcat is part of a web application which is installed on our customers' servers, and it must have all of its dependencies inside. In this case,…
Matteo Tassinari
  • 233
  • 5
  • 17
2
votes
6 answers

How to fix Solr - Server is shutting down issue?

I was having a running Solr 4.1 on Windows Server 2008 R2. The Solr is deployed on Tomcat. However, today it stops suddenly, and while accessing Solr it gives following error. HTTP Status 503 - Server is shutting down type Status report message…
2
votes
2 answers

X-Forwarded-For not showing up in tomcat7 access log

I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log. my elb configuartion is : 80 -> 8080 443 -> 8080 Running tomcat7 and my host configuration on…
Amnon
  • 121
  • 1
  • 3
1
vote
1 answer

How do I know what connection pool I'm using with Tomcat?

I'm running Tomcat 7 with Apache 2.4 on Postgres 9.3 on Ubuntu 16.04 to serve a webapp. The webapp was originally written for Tomcat 5 or earlier. I'm trying to understand a memory error using this ServerFault answer. It's filled with concepts and…
PiotrChernin
  • 113
  • 4
1
vote
1 answer

Online performance tuning apache tomcat

I'm relatively new to this field and not sure whether I'm posting the question in the correct forum. I'm trying to do online parameter tuning for the TPC-W benchmark. (It is a 3-tier web application and a standard benchmark used for performance.) I…
smb564
  • 113
  • 3
1
vote
2 answers

why tomcat7 is using so much RAM?

My Server has only .5GB free memory out of 65GB. total used free shared buffers cached Mem: 64375 63788 587 0 70 11503 -/+ buffers/cache: 52213 12161 Swap: …
Al-Alamin
  • 111
  • 1
  • 3
1
vote
1 answer

SELinux Blocks Tomcat 7 Service in RHEL 7 after Yum update

I performed a Yum update and Tomcat's ability to access file has been broken. SEVERE: Failed to load keystore type JKS with path /var/websvr/certs/keyfile.jks due to /var/websvr/certs/keyfile.jks (Permission denied) java.io.FileNotFoundException:…
Roy Hinkley
  • 527
  • 4
  • 13
  • 20
1
vote
1 answer

How to find limits of clustered Tomcat with Session Replication

I am working on a Tomcat cluster experimentally because of it may be need for us production environments. It must be scaleable, high available and support as much as multi concurrent users. Because of that i made a test environment like that: …
1
vote
0 answers

Installing wildcard SSL Certificate on Tomcat 6 and 7

I have followed the information given in the goDaddy web-site to get the SSL certificate and installing it but Not successful. I created the keystore: keytool -keysize 2048 -genkey -alias tomcat -keyalg RSA -keystore…
1
vote
1 answer

How to configure Tomcat connector to use both SSL and TLS protocols?

I have a Tomcat 7.0 server that I want to configure to listen on HTTPS port. I'm using Nio protocol and I want it to support both SSLv3 and TLS protocols (I know that SSLv3 is insecure, but I need to provide that ability). Here is how it looks…
username
  • 249
  • 1
  • 4
  • 18
1
vote
0 answers

apache 2.4.6 vhosts + mod_proxy get AH00872: APR_BUCKET_IS_EOS

I'm using VH and proxy to serve multiple backend tomcat instances. Currently chasing around this problem with a JSP file. The proxy is getting the correct URL to tomcat via ajp://localhost:8009/MYAPPTAG/. I see in the logs that the connection…
weq92f
  • 11
  • 3
1
vote
3 answers

Tomcat Redirecting behind an F5 load balancer

I have 2 servers running 2 instanced of Tomcat each (one Tomcat instance for RC, one for Production). These servers, let's call them server1 and server2, are set behind an F5 load balancer to maintain uptime, and to provide SSL support. When…
Eric W
  • 31
  • 2
  • 4