Questions tagged [tomcat7]

For questions specific to Apache Tomcat version 7.

242 questions
2
votes
2 answers

What is the correct way of running Tomcat under a different user (Centos 7)?

I run Tomcat 7 in my Centos 7 machine, with systemd, under a user webapp different from the default tomcat. I guess it should be easy to accomplish this but I'm having problems. From what I see there are three places where the user and group can be…
leonbloy
  • 2,118
  • 17
  • 23
2
votes
1 answer

Not able to stop tomcat7 by tomcat service

I am using Ubuntu 14.04 and Tomcat7. For some reason, I needed to upgrade java-7 to java-8. So I installed openjdk-8 and set it default using update-alternatives --config java command. To my surprise, tomcat was still using java7. To resolve the…
Bhushan
  • 93
  • 1
  • 11
2
votes
1 answer

Way to kill http nio connections in Tomcat

We have an application that sends messages to users to access our server (Apache tomcat) through an HTTPS connection with their devices. Problem is that this users applications is keeping the connection alive (or open) in our Tomcat Server. In an…
Jorge Campos
  • 108
  • 1
  • 8
2
votes
0 answers

How to configure Tomcat7 server.xml Environment to take as value Network path?

I am trying to configure Tomcat7 serer.xml the
Renat Gatin
  • 121
  • 1
  • 5
2
votes
2 answers

Tomcat refusing connections on port 443

I have a Tomcat7 installation on CentOS 6.7 that should only allow connections on port 443. The /etc/tomcat/server.xml file is configured as such:
Roy Hinkley
  • 527
  • 4
  • 13
  • 20
2
votes
2 answers

Configure HA Proxy between Apache and Tomcat servers

Want to configure HA Proxy with my existing structure. Currently I have Apache->Tomcat server. This I want to change to Apache->HA Proxy->Tomcat Server. HA I have configured for Http request. But my Apache works with AJP13. Do I need to change 1)…
Navnath
  • 135
  • 1
  • 5
2
votes
0 answers

Generation of Tomcat Stdout and Stderr log files

Is there a way to catch tomcat stdout and tomcat stderr log files it to log4j or any other way so that i can keep track daily basis.These files are only generated when we restart tomcat.And i want these files to be generated automatically even…
user292771
  • 21
  • 1
2
votes
1 answer

Tomcat multiple requests handling

I have my API running on a tomcat server and would like to know how multiple incoming requests are handled i.e., when the server receives multiple requests at the same time are they processed in parallel or one after the other?
Meher
  • 23
  • 4
2
votes
1 answer

"Unable to stat /usr/lib/jvm/java-7-oracle/bin/java" when trying to run Tomcat7 with Java8

I'm trying to upgrade my servers to Java8 from Java7 so that they will run my webapps under Java8. On one of my machines I'm getting the following error and I'm not sure what is still referring to java-7 $ sudo service tomcat7 start * Starting…
2
votes
1 answer

How to set Tomcat 8 to recompile JSP on page hit for development server

I have a developement server that was on Tomcat 6. I just installed Tomcat 8, and noticed that it no longer recompiles JSPs on page hit. What do I have to change in server.xml to get it to recompile them on page hit? Note: Someone pointed me to…
developerwjk
  • 263
  • 1
  • 3
  • 8
2
votes
2 answers

Configuring Tomcat 7 to use TLS only

I have a Tomcat 7 server on Ubuntu 14.04 (Java OpenJDK 1.7) which has been working fine for over a year, with no problems. A few months ago it stopped being accessible wtih Chrome, I dealt with that by switching to Firefox to access this…
user3120173
  • 123
  • 1
  • 1
  • 6
2
votes
1 answer

Permission issues with tomcat7 on EC2

I finally managed to deploy my web service on to ec2 with tomcat 7 installed. It works perfectly fine on localhost but is receiving errors on ec2. I think it is because my code generates an xml file which it then tries to parse. I think perhaps…
2
votes
0 answers

IIS Reverse Proxy to Tomcat uppercase path

We have an application being served by Tomcat 7 on port 8080. We want users to use SSL. So we are using IIS 8 as a Reverse Proxy to proxy connection from port 443 to port 8080. This is what we are trying to achieve: https://app.example.com ==>…
user265171
  • 121
  • 1
2
votes
1 answer

Tomcat: Log the equivalent of SSL_CLIENT_S_DN

In Apache HTTPD it is possible to create custom request logs which include the value of SSL_CLIENT_S_DN. Since the site requires mutual authentication (client certificates) this provides a good audit log of who is accessing the web server. The…
Kevin
  • 23
  • 4
2
votes
2 answers

Apache SSL Port Redirection (8443 to 443)

I've got a Tomcat server (JIRA) working behind an Apache reverse proxy server (took a while but I got there). I'm upgrading my old server and adding Apache to give me some extra functionality and security. The old server was accessed on…
Eddy555
  • 31
  • 1
  • 1
  • 3
1 2
3
16 17