Questions tagged [tomcat7]

For questions specific to Apache Tomcat version 7.

242 questions
1
vote
1 answer

X-forwarded-for NULL in Tomcat

We are injecting the x-forwarded-for header in the loadbalancer, which sends the request to apache web server, which inturn proxys (mod_proxy_balancer) the request to the backend tomcat server. we are seeing the client IP in 'x-forwarded-for' header…
akay
  • 53
  • 1
  • 5
1
vote
2 answers

Apache TomCat working only on localhost - Windows 2012

I have installed Apache Tomcat on windows server 2012 and can access it locally So far I have tried the following: - Opened port via firewall - Opended port via my cloud server host. - turned off windows firewall - made changes to the server.xml…
Hoube78
  • 31
  • 1
  • 3
1
vote
1 answer

Tomcat to hadle only JSP - Apache proxy not working as expected

I've been given some source code for a PHP project that includes a .jsp file. I am able to run it as-is on my XAMPP set up on my Mac at work but I'm struggling to achieve the same on my Ubuntu setup at home. What I need is be able to drop .jsp…
1
vote
1 answer

Tomcat 7 virtual hosts disappear after restart

Currently I am using tomcat 7 to host two websites. To do this, I simply create two virtual hosts using the host-manager (part of tomcat7-admin). But, when I restart the server, the hosts seem to disappear and not reload. The web apps for each…
TameHog
  • 113
  • 3
1
vote
0 answers

tomcat on aws shuts down automatically

We've installed Tomcat 7.0.64 on an ec2 without using the tomcat ami ie do it yourself. It runs fine however for no apparent reason, tomcat occasionally gracefully shuts down for no apparent reason. The instance continues running, just tomcat stops…
pstanton
  • 623
  • 3
  • 11
  • 23
1
vote
1 answer

Apache2 mod_proxy_ajp with Tomcat leads to 500 Internal Server Error

I am currently deploying a cloud server instance running Ubuntu 14.04. I have installed the LAMP Stack as well as Tomcat 7 Server. I want to run a Java Based App from this server and therefore any request that comes to my server, i.e…
1
vote
0 answers

Deploying Java application on Tomcat 7 with Context Versioning

I am working on an API that is built on top of the Spark mini-framework (http://sparkjava.com/) Whenever I build a package through Maven, which is then uploaded to the webapps/ folder under Tomcat 7. (The real name have been replaced with…
Anders Olsen
  • 111
  • 3
1
vote
1 answer

How to configure tomcat.conf file

After running an update via yum on my CentOS 6.7 server, my Tomcat7 instance has stopped functioning properly. message during update: warning: /etc/tomcat/server.xml created as /etc/tomcat/server.xml.rpmnew There are two logs that have exceptions…
Roy Hinkley
  • 527
  • 4
  • 13
  • 20
1
vote
1 answer

Tomcat7 fails to restart and log issue

I have a CentOS (CentOS release 6.7 (Final)) server running Tomcat7. I ran some updates using yum and now Tomcat will not restart. etc/rc.d/init.d/tomcat restart Stopping tomcat: [FAILED] Starting tomcat: …
Roy Hinkley
  • 527
  • 4
  • 13
  • 20
1
vote
1 answer

Preventing IP address from hitting Apache Tomcat by configuring Apache

We got Tomcat that needs to be restarted quite often on our production. Examining Apache access log file, I can see that certain IP addresses are hitting same logon page hundreds of times one after another: 123.45.6.789 - - [17/Feb/2016:12:17:05…
Angelina
  • 133
  • 6
1
vote
2 answers

Tomcat7 - slow startup

I have a problem with very long startup of Tomcat7. It started suddenly and logs don't reveal anything - when I type 'sudo service tomcat7 start' it says OK and logs are silent for 10-15 minutes. Then my app log says: INFO [2016-01-14 17:38:36,336]…
Blagus
  • 21
  • 5
1
vote
1 answer

Why is Tomcat setting two JSESSIONID cookies?

I have a tomcat 7 instance which was installed and configured by another person. I can see that it sets two JSESSIONID cookies for each request. One like JSESSIONID = {some hash}.{hostname_ajp port} Another one like JSESSIONID.some_chars =…
Bob Arctor
  • 13
  • 1
  • 4
1
vote
0 answers

Range requests time out after 10GB in apache or java servlet

There seems to be an issue with serving large 10+GB files with byte-range requests on our RHEL5 64-bit server. The issue that I am noticing is that range requests are timing out for ranges that are crossing the 10GB (ten gigabyte) mark, whereas…
Colin D
  • 111
  • 5
1
vote
0 answers

No progress inTomcat7 after Deploying web application directory in linux

Hi I am new to linux environment. Initially we had all the application working on a virtual machine. Due to some reasons we did not used it for a while. So after a long gap when we try to check that machine our tomcat was not running. There were…
Dinesh Kumar
  • 111
  • 1
1
vote
1 answer

How to link a tomcat application with ubuntu 14.04 server os on an azure server to dot tk domain?

how to link a tomcat application with ubuntu 14.04 server os on an azure server to dot tk domain? few doubts about azure vm: I can only find one DNS name e.g. abc.cloudapp.net, but dot tk DNS panel requires at least two DNS names to work. How to fix…
Tong Wo
  • 13
  • 3