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
0
votes
1 answer

Spring boot project with embedded Tomcat & multiple environments

I've a Spring boot(with embedded tomcat 8) project with multiple server components that get deployed in multiple env(dev/test/prod) How do you make one jar that can be deployed into multiple env in such a way that in each env the jar will pick up…
Sïd
  • 65
  • 2
  • 11
0
votes
1 answer

Packaged application is not working when command prompt is closed

I was using spring boot for my application. I deployed the jar file using the command java -jar ...jarname.jar. it's working only when the command prompt or putty is open. when I close the command prompt or putty and trying to access the service, I…
Prithivi Raj
  • 2,658
  • 1
  • 19
  • 34
0
votes
1 answer

Spring Boot on Embedded Tomcat with JSTL still throws java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config

I have an application which leverages PrimeFaces, elastic search,Spring boot. Following is it's pom.xml,
0
votes
1 answer

Port not redirected in embedded tomcat

I have a situation where i need to redirect requests from a non SSL port to an SSL port. I came up with the following code but it doesn't seem to redirect. baseConnector = tomcat.getConnector(); if (sslEnabled) { sslConnector = new…
0
votes
1 answer

Why does Spring-Boot application freeze on creating CXF SOAP service step?

I have a jar file which starts fine on local machine (Windows 7). But when i run it on the another (test server with Win Server 2008) the application freezes on the "Creating Service" step: C:\app_services>java -jar appservices-2.0.0.jar . …
May12
  • 2,420
  • 12
  • 63
  • 99
0
votes
3 answers

how to enable ssl on tomcat 8 embedded javascript/json/java webapp

I've tried may things to get this working. I have a web app I'm developing. javascript front-end that talks via json to a java back-end. the entire thing runs on an embedded tomcat 8 instance. it works fine until i try to enable ssl/tls encryption.…
700L
  • 86
  • 1
  • 4
0
votes
1 answer

Embedded Tomcat hangs when starting on deploying app

My embedded tomcat hangs when adding webapp on Linux only. It won't happen during the first time I start it, but from the second boot and beyond. This happened only after upgrading to Tomcat 8. When taking a thread dump I see that it's stuck when…
danieln
  • 4,795
  • 10
  • 42
  • 64
0
votes
1 answer

NameNotFound Exception - Spring Boot (LATEST), Embedded Tomcat, JNDI

My symptoms are similar to: How to create JNDI context in Spring Boot with Embedded Tomcat Container I've created a github repo recreating my issue: https://github.com/Rkiouak/spring-boot-embedded-tomcat-hibernate-jndi (Note you may need to manually…
Matt Rkiouak
  • 141
  • 7
0
votes
0 answers

Tools available to investigate Tomcat startup time

I am in reference to Tomcat's HowTo improve startup time. Can someone please provide informed advice as to how to determine where Tomcat spends time starting up? Should I use jvisualvm, jstack? Are thread dumps the only way to find out more…
balteo
  • 23,602
  • 63
  • 219
  • 412
0
votes
1 answer

Accessing CSS JS resources in JSP in Mavens (Not using Spring MVC)

I have a JSP/Servlet based web application that uses Maven and has not been implemented using Spring MVC. I'm trying to deploy that to an embedded tomcat container using webapp-runner. The problem is that the css/js and other asset references from…
markgarg
  • 152
  • 7
0
votes
1 answer

Configuring Transaction Manager in spring boot embedded tomcat

I am using Spring boot 1.2.3 with embedded tomcat 8.0.20. In regular tomcat we can configure transaction manager in context. Example: Is there any way that I can register T/X…
0
votes
1 answer

Restrict ciphers in embedded Tomcat

How can I programmatically restrict the available ciphers in embedded Tomcat? In other words what is the programmatic equivalent of
Axel Fontaine
  • 34,542
  • 16
  • 106
  • 137
0
votes
1 answer

Use custom paths to store config files in Tomcat

In embedded-tomcat can we use our custom web.xml, server.xmlandcontext.xml files? If it is possible, can we use a custom location to store them and point that location? It would be great if someone can point an example I'm using Tomcat version…
0
votes
2 answers

SpringBoot Embedded Tomcat JSPServlet Options

What is the preferred way to set the configuration options for JSPServlet like checkInterval, keepgenerated, modificationTestInterval etc? The reason I am trying to alter it is because of some strange issues with JSP Compilations. We are using…
0
votes
1 answer

Embedded Tomcat JNDI Map with Spring Boot

we are using Glassfish, where we set JNDI resource of type Map, we define some Bean factory and after that we are able to access(JNDI lookup) this map in our code. I would like to do the same for embedded Tomcat testing with Spring Boot, but I don'n…
Zveratko
  • 2,663
  • 6
  • 35
  • 64
1 2 3
14
15