Questions tagged [tomcat8]

The Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.

114 questions
0
votes
1 answer

Tomcat indicates "FAIL" even though it seems to be working

I installed Tomcat8 on Debian Jessie using apt-get in a Docker file. I then sudo service tomcat8 start. This results in this error: [FAIL] Starting Tomcat servlet engine: tomcat8 failed! However, it actually seems to be working, because I can…
0
votes
2 answers

Where to put certificates in Tomcat, when app acts as client?

For starters, i have my Tomcat8 configured for https with valid certificated linked in connector xml file. Something like this:
johnymachine
  • 190
  • 1
  • 2
  • 12
0
votes
1 answer

Effectively knowing if the service is up

In a typical Load Balancer + Tomcat app servers environment, how do you effectively determine if the service is up ? Currently the load balancer is making TCP checks on a /service endpoint for the app servers and if they get 200 that assumes the…
Novice User
  • 161
  • 1
  • 6
0
votes
0 answers

Why can't I get JMX to run with Tomcat8 through CATALINA_OPTS?

According to https://tomcat.apache.org/tomcat-8.0-doc/monitoring.html#Introduction I should be able to active JMX by setting some env variables on CATALINA_OPTS. I've done this: export CATALINA_OPTS="-Dcom.sun.management.jmxremote…
Kit Sunde
  • 946
  • 3
  • 12
  • 31
0
votes
1 answer

Nginx + Tomcat 8 + SSL reverse proxy

I'm following this example: https://devtidbits.com/2015/12/08/nginx-as-a-reverse-proxy-to-apache-tomcat/ my goal is to have Tomcat running and Nginx in front of it. I would like to have structure similar to this: test.com/ - static site from…
Vasil Koicev
  • 37
  • 1
  • 2
  • 6
0
votes
1 answer

nginx not redirecting to tomcat

I am using nginx server (nginx version: nginx/1.10.0 (Ubuntu)) created a Tomcat 8 configuration in /etc/nginx/conf.d/tomcat.conf server { listen 80; root /opt/tomcat/webapps/ROOT/; server_name mysite.com; …
xrcwrn
  • 153
  • 1
  • 2
  • 10
0
votes
1 answer

Tomcat dies suddenly, Duplicate

i know this question already ask before and i already read this question : Tomcat Dies debugging tomcat crash But i still not understand.. I am using Fedora 22 And Tomcat 8. My Tomcat dies suddenly without any error and i don't know why? there's…
Bobby
  • 101
  • 4
0
votes
1 answer

Tomcat 8 manager returns code 413 on deploy

I have a Tomcat 8 instance running behind a Nginx reverse proxy. It serves a regular J2EE app which we update via Maven 3 and the cargo-maven2-plugin. Usually that works fine but eventually, Tomcat Manager (or Nginx, hard to tell really) fails,…
method
  • 3
  • 3
0
votes
1 answer

Apache's ProxyPreserveHost before tomcat using AJP

I'm trying to put an Apache server in front of a Tomcat server. Apache's documentation states regarding the ProxyPreserveHost option: When enabled, this option will pass the Host: line from the incoming request to the proxied host, instead of the…
0
votes
0 answers

How to stop org.apache.jasper.servlet.TldScanner.scanJars via my war file's local context.xml in Tomcat 8?

I'm trying to prevent the... [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no…
dacracot
  • 469
  • 2
  • 12
  • 28
0
votes
0 answers

Nginx in front of tomcat

I have a java app which has login section for all users (http://192.168.0.101:8080/login) and admin section for admins(http://192.168.0.101:8080/admin). I want to run this app in two servers for different users. http://192.168.0.101:8080/ >> Normal…
0
votes
1 answer

Apache Tomcat Default App

I am using ubuntu-16.04 and have been trying to work with Tomcat. My version is: Apache Tomcat/8.0.36. I have an app in http://localhost:8080/mynewapp which i wanted to access as root app, that means i want to see my app when i access…
Fahad Ahammed
  • 113
  • 1
  • 7
0
votes
2 answers

How do I configure Apache to proxy Tomcat using AJP?

I have a fresh install of Fedora 23 (Workstation) with fresh installs of Apache 2.4 and Tomcat 8. I'm attempting a very simple setup: A single instance of Apache will proxy all traffic for a single instance of Tomcat. In Apache's httpd.conf I've set…
JonahHuron
  • 101
  • 1
  • 2
0
votes
1 answer

Tomcat startup script on RHEL not starting tomcat on reboot

My tomcat startup script is not starting tomcat on reboot of the Red Hat Enterprise Linux server. I have narrowed it down to the start function: 41 start() { 42 echo "instart $(date)" > /tmp/tomcatscript.out 43 pid=$(tomcat_pid) 44 if [ -n…
0
votes
2 answers

Unable to browse tomcat from web browser in EC2

I have configured Security Groups, my tomcat is running in 8080 port. But I am unable to browse from web browser. Please anyone there to help me ? Public IP is : 52.39.220.183 When I do curl http://localhost:8080 in EC2 instance then I can see the…
Prabhat Subedi
  • 121
  • 1
  • 7