JAXB not available on Tomcat 9 and Java 9/10

TLDR: On Java 9/10, a web app in Tomcat has no access to JAXB even though its reference implementation is present on the class path. Edit: No, this is not a duplicate of How to resolve java.lang….

How to setup multiple connection pools when multiple datasources are used in Spring Boot?

I have a Spring Boot application that connects to two separate databases. All works fine (I followed the steps in the docs and a tutorial), although in order to customize the Tomcat JDBC connection …

How to deploy a java jar file to remote server through maven

I want to deploy a jar file to a remote server and run it. Is there a plugin for maven can do this process? I know that tomcat for maven plugin can deploy the war file to remote server, but my project …

Tomcat 8 is not able to handle get request with ‘|’ in query parameters?

I am using Tomcat 8. In one case I need to handle external request coming from external source where the request has a parameters where it is separated by |. Request is looks like this: http://…

loadOnStartup SEVERE: Servlet [dispatcher] in web application [/Producer] threw load() exception java.lang.NoSuchMethodError

I have a problem with setting up spring context using Eclipse + tomcat 8. I have checked several “Hello world” spring manuals and do not understand what is going wrong. <?xml version=&…

Unable to local MySQL database with Spring app deployed through Tomcat

I’m trying to create a web application using Spring and Hibernate, deploying it through Tomcat 8. I’ve setup MySQL and Tomcat 8 locally on my machine, and am able to deploy the web application to it. …

creating spring rest services without using spring boot

I’ve followed the Getting Started tutorial on spring.io for building REEST services https://spring.io/guides/gs/rest-service/. The problem is that this tutorial only explain how to produce a …

Tomcat 8 embedded – ERROR {org.apache.catalina.core.ContainerBase} – A child container failed during start

I’m using tomcat embedded and when I try to star the server following error get occurred. I’m using tomcat 8.0.20 and jdk8 ERROR {org.apache.catalina.core.ContainerBase} – A child container failed …

Tomcat vs Vert.x

For the past few days I have been reading Vert.x documents. I know that Vert.x is polyglot, single threaded, non-blocking IO, modular architecture, high scalability. Is there any other major …

Tomcat 7.0.43 “INFO: Error parsing HTTP request header”

I use Tomcat 7.0.43 with a websocket application. My app works fine in Tomcat 7.0.42 but with 43 I get the following output when I try to access my server on websockets: Sep 16, 2013 3:08:34 AM org….