Questions tagged [embedded-tomcat-8]

Embedded Apache Tomcat 8

Apache Tomcat 8 implements new versions of the Servlet, JSP and EL specifications as well as adding support for the new WebSocket specification.

It requires Java 7 or later.

Tomcat 8 supports the Java Servlet 3.1, JavaServer Pages 2.3, Java Unified Expression Language 3.0 and Java WebSocket 1.0 specifications

Tomcat 8 embeds a packaged renamed version of Commons DBCP 2.x.

Reference :

http://tomcat.apache.org/tomcat-8.0-doc/changelog.html

213 questions
5
votes
0 answers

Could not resolve repository metadata for rest

I want to make Spring Boot service in which I can get all table values, or values with appropriate id address from SQL server database, for this reason, I have used: CrudReposiotry application.properties with server…
5
votes
1 answer

How to configure AJP connector in the embedded tomcat?

I need to configure AJP connector in embedded tomcat https://tomcat.apache.org/tomcat-8.0-doc/config/ajp.html Equals to the following configuration: How to do it?
Michael
  • 10,063
  • 18
  • 65
  • 104
5
votes
1 answer

java.io.IOException: Broken pipe bringing down the embedded tomcat 8 app

I am familiar why the following exception is raised on the server side (client disconnecting from the server without reading the data). However, when this happens, the server becomes extrememly slow and unresponsive. I am looking at potential…
Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327
5
votes
2 answers

Spring Boot with Hazelcast and Tomcat

How do you use Hazelcast as a http session store with embedded Tomcat with Spring Boot and Spring Security? I see there is a EmbeddedServletContainerCustomizer and SpringAwareWebFilter but I don't understand how to use it.
gx0r
  • 4,682
  • 2
  • 23
  • 24
4
votes
0 answers

How can I change port for Camunda webapp (cockpit) on tomcat

I want to change "camunda-bpm-spring-boot-starter-webapp" port when I springframework application. My project is running on 8181 "application.properties server.port = 8181" and I did implement camunda-bpm-spring-boot-starter-webapp on my…
4
votes
1 answer

upgrade Spring Boot parent starter from 1.5 into 2.1.1.Release

Getting this below exception as i am trying to upgrade by Spring Boot parent starter from 1.5 into 2.1.1.Release, but not getting any compilation or any Exception in my Project. Is that i am missing anything here. Exception in thread "main"…
Thirukumaran
  • 357
  • 3
  • 5
  • 17
4
votes
0 answers

Embedded Tomcat with Spring throws IllegalAccessError: cannot access its superinterface

I have an application that works just fine as war in tomcat. Now I would like to start it from Embedded Tomcat using such code: public static void main(String[] args) throws Exception { Tomcat tomcat = new Tomcat(); …
Maciej Miklas
  • 3,305
  • 4
  • 27
  • 52
4
votes
2 answers

Spring boot application not starting embedded tomcat

Am newbie to Spring boot application. I have a task to create common crud repository which should be processed by rest controller. I just started with some example. But my application is not started the embedded tomcat. Also my rest controller URI…
Muthu vignesh k
  • 237
  • 1
  • 4
  • 19
4
votes
2 answers

How to set Hibernate bulk_id_strategy in spring boot application?

Hibernate is generating temporary tables for TABLE_PER_CLASS inheritance but the prod. oracle user does not have those create table priviledges and therefore that approach is not an option for our project. Hibernate Version 5.2.8 is said to resolve…
desperado06
  • 372
  • 3
  • 14
4
votes
1 answer

Read context.xml in Spring Boot Embedded Tomcat

While converting non spring application to Spring Boot want to use existing context.xml file in embedded tomcat. Using Spring Boot 1.5.1 and Tomcat 8.5.11 TomcatEmbeddedServletContainerFactory Configuration @Bean public…
Sheel
  • 1,010
  • 1
  • 17
  • 30
4
votes
1 answer

How to register the Spring MVC dispatcher servlet with an embedded tomcat without spring-boot?

My question is similar to this one Embedded Tomcat Integrated With Spring. I want to run a Spring MVC Dispatcher Servlet on an embedded Tomcat. But I always end up with an exception saying that the WebApplicationObjectSupport instance does not run…
Gregor
  • 2,917
  • 5
  • 28
  • 50
4
votes
1 answer

How to configure valve in embedded tomcat?

I need to configure valve in embedded tomcat http://tomcat.apache.org/tomcat-8.0-doc/config/valve.html#Remote_IP_Valve How to do it?
Michael
  • 10,063
  • 18
  • 65
  • 104
4
votes
2 answers

Spring Boot Embedded Tomcat 'allowLinking' property

I have been looking for a way to expose the property 'allowLinking' to allow an TomcatEmbeddedServletContainerFactory to follow symlinks to resources that are under its documentRoot. According to the Tomcat 8 Migration docs this functionality…
OmegaGame
  • 41
  • 2
4
votes
1 answer

Spring-boot Actuator SSL configuration

I'm developing a webapplication with Spring-boot using embedded tomcat. One of the requirements of this app is 2-way SSL (clientAuth). Enabling ClientAuth is easy enough however we also like to use spring-boot Actuator for management of the app on a…
pvgoddijn
  • 12,638
  • 15
  • 47
  • 56
4
votes
2 answers

Info: WebSocket connection closed, Code: 1006 while trying to run websocket samples

I've embedded tomcat 8.0.20 and using that in my server. I build the tomcat websocket example and when I'm trying to run it in my server for all 4 examples (Echo, chat, etc..) I'm getting Info: WebSocket connection closed, Code: 1006 In the…
1 2
3
14 15