Questions tagged [tomcat8.5]

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

Tomcat released on 2018-06-25:

The Apache Tomcat Project is proud to announce the release of version 8.5.32 of Apache Tomcat. Apache Tomcat 8.5.x is intended to replace 8.0.x and includes new features pulled forward from Tomcat 9.0.x.

Release Notes:

Tomcat 8.5 is designed to run on Java SE 7 and later.

EOL:

The Apache Tomcat team announces that support for Apache Tomcat 8.0.x will end on 30 June 2018. 8.5.x is not affected by this announcement.

173 questions
2
votes
0 answers

Is there a risk adding new (unused) jars to running tomcat

I'm using Tomcat8.5 in production and I have several applications in webapps Is there a risk before loading (and restarting) new application version, just adding new (which will currently be unused) dependency jars (as commons) to WEB-INF\lib…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
2
votes
0 answers

Unexpected behavior difference between Nio and Nio2 connectors in Tomcat 8.5

I've run across some peculiar behavior with the NIO2 connector in Tomcat 8.5.23 Here is how I am using it:
2
votes
1 answer

Silent installation of Apache Tomcat

I want to install Apache Tomcat 8.5.11 silently to a specific directory using a batch file. I have tried below command: apache-tomcat-8.5.11.exe /S /D="D:\softwares\Tomcat" The installation happens silently, but it is installed to C:\Program Files\…
vidita daga
  • 51
  • 1
  • 5
2
votes
1 answer
2
votes
2 answers

Tomcat 8.5 not showing up in Eclipse

I installed apache tomcat 8.5 but it didn't show up while creating dynamic web project in Eclipse Indigo. It showed up versions until 7.0 only. Finally, I had to install tomcat 7 to proceed. What could be the issue?
2
votes
0 answers

JNDI Context lookup not working though it's existing

Using spring-boot I want to access a resource that is used to be in the web.xml but due to the fact I'm using spring-boot I tried to add it this way: Application.java @Bean public TomcatEmbeddedServletContainerFactory tomcatFactory() { return…
Zumarta
  • 145
  • 3
  • 18
2
votes
0 answers

Failed to initialize connector

SEVERE: Failed to initialize component [Connector[org.apache.coyote.http11.Http11AprProtocol-8443]] org.apache.catalina.LifecycleException: The configured protocol [org.apache.coyote.http11.Http11AprProtocol] requires the APR/native library which is…
Himanshu Dave
  • 119
  • 1
  • 9
1
vote
1 answer

Can I prevent Tomcat from overwriting catalina.out on restart?

The default Tomcat 8.5 configuration outputs the contents of stdout & stderr to $CATALINA_HOME/logs/catalina.out (and catalina.err if specified in the startup parameters) when running as a daemon. In these files are low-level system messages,…
Adri C
  • 21
  • 6
1
vote
1 answer

Java post api 2-way-auth using certificate

I am trying to call a 2-way-auth thirdparty POST api using a certificate and its working in a basic java project, below is the code to create the socket factory instance before using that in the POST call. Now the problem is as soon as I move the…
A Paul
  • 8,113
  • 3
  • 31
  • 61
1
vote
0 answers

Tomcat 8 unable to download excel or image

Recently I have migrated one of my apps from Tomcat 7 (in Ubuntu 12.04.2) to 8.5 in Ubuntu 20.04.3 . In Tomcat 8.5, it is failing to download a binary file like excel/image by clicking the download button on the webpage which is linked to a url like…
1
vote
1 answer

How to get Java exception thrown when connection closed and using Tomcat?

I'm trying to get an exception thrown when the DB connection is closed so that a POST request can immediately return if the connection is closed. Right now Tomcat just keeps it open and gathering log data for around 25 minutes. The way I'm testing…
Anonymous1
  • 3,877
  • 3
  • 28
  • 42
1
vote
1 answer

Tomcat not starting : tomcat.service: Control process exited, code=exited status=1

This is the error message i am facing I had tomcat8 already installed. i removed that and then i tried installing tomcat8 again but facing this issue and i am not able to install tomcat again. List of Steps i followed before Installing - sudo…
1
vote
1 answer

Misssing ServerSocketFactory in tomcat 8.5

As per the below link https://github.com/spring-projects/spring-boot/issues/6164, the following features are removed from tomcat 8.5 a) Class org.apache.tomcat.util.net.ServerSocketFactory no longer exists b) Class…
George Thomas
  • 67
  • 1
  • 12
1
vote
0 answers

Tomcat 8.5 doesnt redirect to custom 400 error page

We have tomcat 8.5 web server in production. The problem we are facing is we want to show the custom error page for 400 error .I was updated server.xml as follows.
Marsha
  • 11
  • 1
1
vote
1 answer

Tomcat Websockets Across Multiple Servers

Current Solution I have a Java server (Tomcat) setup issue that I'm hoping someone can provide some guidance on. Currently my web application is a single-server that has a Java backend running on Tomcat 8.5. To handle Websocket connections, I keep…
bluedevil2k
  • 9,366
  • 8
  • 43
  • 57
1 2
3
11 12