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
22
votes
7 answers

Can't access Tomcat 8 Manager App

I've just set up Tomcat 8 on an Ubuntu 14.04 VM and I'm not able to access the Manager App at http://[hostname]:8080/manager/html from my browser. I get a "403 Access Denied" error as soon as I click on it. I am running Tomcat as a service defined…
Ecliptica
  • 760
  • 2
  • 8
  • 21
22
votes
9 answers

How to install Tomcat in Amazon Web Services EC2

I have created an instance in Amazon web services, and I have connected to the server using putty through ssh. But I do not know how to install tomcat 8 in amazon ec2. Please help me with this.
21
votes
3 answers

AbstractMethodError with jTDS JDBC Driver on Tomcat 8

I am deploying a web app (WAR) to a Tomcat 8 web container. The WAR includes in the '/WEB-INF/lib' directory the following jTDS JDBC driver: (file is: jtds-1.3.1.jar). This is how…
Marcus Junius Brutus
  • 26,087
  • 41
  • 189
  • 331
20
votes
4 answers

set umask for tomcat8 via tomcat.service

I am trying to set a custom umask for a tomcat 8 instance, tried to make it the good way by using the UMask directive in systemd tomcat unit as seen here without luck. I'd like to set a 022 umask cause the company dev needs to access tomcat /…
Pier
  • 618
  • 2
  • 8
  • 23
20
votes
7 answers

The web application appears to have started a thread named [HikariPool-1 housekeeper] but has failed to stop it

I am trying use HikariCP JNDI DataSource Factory within Tomcat 8.5 but when it shutdown I'm getting these warning: o.a.c.loader.WebappClassLoaderBase : The web application [ROOT] appears to have started a thread named [HikariPool-1…
Lucas Oliveira
  • 833
  • 1
  • 10
  • 24
20
votes
6 answers

java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name

I have a Spring MVC application running on Tomcat8. Once in a day or two I get an exception in my log file 15-Jun-2016 10:43:39.832 INFO [http-nio-8080-exec-50] org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request…
Vadim Dissa
  • 961
  • 3
  • 13
  • 32
19
votes
2 answers

Implementing 2 way SSL using spring boot

I'm creating some restful web services and am using Spring-Boot to create an embedded tomcat container. One of the requirements is that this implements 2 way SSL. I've been looking at the HttpSecurity object and can get it to only run the…
Andrew Mc
  • 193
  • 1
  • 1
  • 7
19
votes
3 answers

How does Server-Sent-Events work

I tried an SSE (Server-Sent-Events) using java on tomcat 8.0. Here are few things I noticed. I click a button that automatically makes a request to the servlet. Servlet's GET method gets executed which returns an event stream. Once the full stream…
John Eipe
  • 10,922
  • 24
  • 72
  • 114
19
votes
4 answers

HTTP/2 support in Tomcat 8

After some research, I was surprised that I did not not find any resource on HTTP/2 support in Tomcat. Changelogs of 8.0 indicate an experimental support of SPDY and wiki refers to HTTP/2 as a supported spec…
Guillaume D.
  • 3,284
  • 3
  • 20
  • 26
19
votes
2 answers

HTTP Status 405 - JSPs only permit GET POST or HEAD

Since JSP 2.3 (Tomcat 8) only supported method for JSP is GET POST or…
Grigory Kislin
  • 16,647
  • 10
  • 125
  • 197
18
votes
2 answers

How to Allow ^ character in URLs for tomcat 8.5

I have a request URL of below format http://hostname:port/path¶m1={"vars":[{"a":"val1","b":"^"},{"c":"val2","d":"^"}]}¶m2=Value3|95|3%20-%206%20Months I changed catalina.properties as per this stackoverflow question . But as per tomcat…
Sachin Kumar
  • 808
  • 3
  • 11
  • 29
18
votes
5 answers

Spring boot embedded tomcat logs

i'm using spring boot embedded tomcat with spring boot 1.5.9 , im also using Log4j2. recently i exerience problems during load, so i want to understand better the tomcat logs [Not the access Logs] , i tried (in application.properties) :…
Robocide
  • 6,353
  • 4
  • 37
  • 41
17
votes
1 answer

Tomcat 8 - LDAP: NameNotFoundException error code 32, remaining name empty string

Trying to migrate an application from WebLogic 12.2.1 to Tomcat 8.5.4, what under Weblogic was an entry as Foreign JNDI Providers for an LDAP connection has been migrated to a new Resource under Tomcat. Following this advice on Stack Overflow, a…
A_Di-Matteo
  • 26,902
  • 7
  • 94
  • 128
17
votes
2 answers

symlinking tomcat 8 directory resources

I would like to symlink JSP directories under Tomcat 8. It worked as well in Tomcat 7 on this way: but seems the Tomcat 8 dropped this feature, and it started to use the Resources (…
user2948919
  • 201
  • 1
  • 2
  • 5
16
votes
1 answer

JasperListener? Upgrading from Tomcat 8 to Tomcat 9

Since Tomcat 8.0 has reached end of life, I want to upgrade my application directly to Tomcat 9. When I deploy my Java based App from local to my server, I have a script which overrides the server.xml. I upgraded the server to a tomcat 9 and tried…
MoonLight
  • 161
  • 1
  • 1
  • 3