Questions tagged [tomcat8]

Version 8.x (August 2013 onwards) of the Apache Tomcat servlet container. Use only if your question is specifically related to features of this version.

Version 8.x (August 2013 onwards) of the Apache Tomcat servlet container.

Apache Tomcat is an open source servlet container developed by the Apache Software Foundation (ASF). It supports the 3.1, 2.3, 3.0, and 1.0 specifications1. Questions here should relate only to Tomcat Version 8.x.

Use only if your question is specifically related to features of this version. Just because you are using this version, doesn't mean you need this tag. Use in addition to or instead of this tag.

See for more information.

2687 questions
16
votes
3 answers

Tomcat 8 URL Rewrite

I have an AngularJS webapp and Jersey backend. I need to setup URL rewriting, so everything except given exceptions will be rewritten to Angular's index.html. Eg.: http://my.domain.com/about will be rewritten http://my.domain.com/photos/photo1.jpg…
kamelot
  • 491
  • 1
  • 7
  • 19
16
votes
2 answers

Where is CATALINA_BASE/webapps folder for Tomcat 8 on Mac?

I ran brew install tomcat to install tomcat 8. Now I need to put my .war file in CATALINA_BASE/webapps I cannot find that directory anywhere on my computer. How can I locate this folder so I can put my .war in there?
user1104092
15
votes
4 answers

Performance - Spring Boot - Server Response Time

I have a strange behaviour on our spring boot application: Frontend/Client - angular 6 Backend - spring boot - spring MVC - embedded tomcat - Linux After restarting the backend the first calls to a controller needs about 5 seconds, the following…
tomas
  • 830
  • 3
  • 8
  • 25
14
votes
1 answer

java.lang.ClassNotFoundException sun.misc.GC

Version Java: 10.0.1 Tomcat: 8.0.36 Ubuntu: 18.04 (64 bit) Eclipse: Photon (64 bit) Error: When I run the Tomcat server, I found below error. Please don't tell me to decrease the version if possible, because I love to use latest technology. …
user9373603
14
votes
3 answers

Docker Tomcat users configuration not working

Update: cleanup and directly indicate the problem and the solution. PROBLEM: Docker-tomcat was properly installed and running, except for the 403 Access error in the Manager App. It also seems that my docker tomcat cannot find my tomcat-users.xml…
Borgy Manotoy
  • 1,960
  • 5
  • 27
  • 42
14
votes
2 answers

Tomcat 8, Spring Boot, @Configurable LoadTimeWeaving without -javaagent?

I'm trying to setup a @Configurable domain object(not managed by the spring container). I've got this working by adding the -javaagent:path/to/spring-instrument.jar as a JVM argument but it's not 100% clear to me whether or not this -javaagent MUST…
mjj1409
  • 3,075
  • 6
  • 28
  • 28
14
votes
4 answers

Tomcat 8 enable debug logging to list unneeded jars

When starting Tomcat 8 on Arch Linux ARM I get the following warning: INFO: 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 TLDs were found…
Pascal Schulz
  • 141
  • 1
  • 1
  • 3
13
votes
3 answers

"Unknow type constant pool at position X" in tomcat logs since java 8

I have a Java JSF2 web based application deployed on a Tomcat server, and since we moved to Java 8 / Tomcat 8 this error appears a lot in the tomcat output: déc. 05, 2016 10:51:07 AM…
gfyhser
  • 164
  • 1
  • 1
  • 11
13
votes
2 answers

Why Tomcat returns different headers for HEAD and GET requests to my RESTful API?

My initial purpose was to verify the HTTP chunked transfer. But accidentally found this inconsistency. The API is designed to return a file to client. I use HEAD and GET methods against it. Different headers are returned. For GET, I get these…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
13
votes
4 answers

How do I configure this property with Spring Boot and an embedded Tomcat?

Do I configure properties like the connectionTimeout in the application.properties file or is the somewhere else to do it? I can't figure this out from Google. Tomcat properties list I found this Spring-Boot example, but it does not include a…
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
13
votes
2 answers

What is best approach for implementing Jersey 2.x on Tomcat 8?

I have Knowledge of the Web container and Tomcat and can deploy static and dynamic web sites. But I am new to REST and Jersey. I have read the 2.6 user's guide, reviewed many sites and youtube videos. There seems to be a lot of info on 1.x Jersey…
rss181919
  • 427
  • 1
  • 5
  • 16
12
votes
3 answers

Tomcat-8.0.44: Why a SEVERE log "One or more Filters failed to start"

I installed Tomcat-8.0.44 and put a war file named bimserver.war in webapps folder. But when I ran the startup.bat routine, I got two Severe Log info: 24-May-2017 01:15:53.065 SEVERE [localhost-startStop-1]…
KyrinWoo
  • 327
  • 1
  • 3
  • 9
12
votes
2 answers

Spring Boot Embedded Tomcat Performance

I am developing Microservices API for my application. I started with Spring Boot application. I created two artifacts - "business code with embedded tomcat" and "business code without embedded tomcat". When I compare the performance results, I can…
Peter Jerald
  • 723
  • 2
  • 8
  • 24
12
votes
1 answer

APR error: -730054

We are getting this error related to AXIS2 1.7.3. We are running Tomcat8 with the latest Java8. java.io.IOException: APR error: -730054 org.apache.axis2.AxisFault: java.io.IOException: APR error: -730054 at…
serge
  • 1,590
  • 2
  • 26
  • 49
12
votes
1 answer

Java JMX client with SSL

I configured Apache Tomcat 8 using this tutorial https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html and I generated SSL certificate. JMXServiceURL url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://10.16.70.161:9999/jmxrmi"); …
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808