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

unable to connect mysql with tomcat

I am using Google cloud. I am using docker. Inside docker, I have to pull tomcat and mysql image. I have successfully imported the database in mysql running inside docker. I have copied the war file in the webapps folder using docker. When start…
0
votes
1 answer

How can I open my web application in localhost:8080 directly instead of tomcat home page

How can I open my web application in localhost:8080 instead of the tomcat home page For example I want mysite.com:8080/mywebapp to open in mysite.com:8080 Without using any reverse proxy
0
votes
1 answer

Remote SQL Server is not reachable for web service deployed on tomcat

I have a tomcat server installed in a Centos 7 OS, and also I have deployed a web service on it. The web service must be connected to a SQL Server which is located in a windows server. The Centos has ping from windows server. the telnet return…
M-E
  • 168
  • 4
  • 19
0
votes
1 answer

Application not writing logs on when log file rotates

My app is using spring log4j2 and uses slf4j api to write log to separate log file "application.log". This app gets deployed to tomcat v8 along with other apps. All app share common log4j2 configuration and writes to common logfile…
krrish0690
  • 51
  • 2
  • 11
0
votes
2 answers

Can't get file loggin to work with Log4j2 Slf4j in a Java 8 Spring app

I have a java spring 5 application that I deploy to Tomcat 8.5.15. I am now trying to upgrade the logging framework to Log4J2, I also use Slf4J. The problem right now is that I can't seem to log to a file (although it creates a file). It just logs…
Jojje
  • 1,749
  • 3
  • 25
  • 44
0
votes
1 answer

javamelody - storage files always in relative path to temp folder of tomcat

I am using javamelody to monitor my application in a tomcat8. The context.xml is defined like:
Pwnstar
  • 2,333
  • 2
  • 29
  • 52
0
votes
1 answer

selecting spring profile maven commands

Am having spring profiles configured in my application like DEV, TEST, QA. how can i select those profiles using maven commands. As of now, am selecting those profiles using. clean package -P DEV But also i have other configuration like, clean…
Karthikeyan
  • 1,927
  • 6
  • 44
  • 109
0
votes
1 answer

getting an java/tomcat exception only on 1 or 4 servers

i have this java web application running on 4 servers. The newest server ( just setting up ) is failing with the error "java.lang.NoSuchMethodError: org.htmlparser.lexer.Lexer.parseCDATA()Lorg/htmlparser/Node" when running the code below. I have 1…
randy
  • 1,685
  • 3
  • 34
  • 74
0
votes
0 answers

Spring boot JNDI datasource lookup failure

I'm trying to deploy an existing (Angular+Spring Boot)app on Centos 7 using tomcat 8.5 which use JNDI but I'm getting those errors in the catalina.out log : 25-Apr-2020 14:50:25.294 WARNING [main] org.apache.tomcat.util.digester.Digester.endElement…
Ayoub Beltarchi
  • 47
  • 2
  • 11
0
votes
1 answer

IE Edge Browser converting URL parameter from & to &

In my application which is using JSTL tag library version 1.1 when using url tag in JSP as shown below. In old version of…
0
votes
1 answer

How to Forward HTTP methods from apache2 using proxy_ajp to tomcat

I have configured and web server with apache2 then proxy request to tomcat with ajp protocol like this: ProxyRequests On ProxyPreserveHost On Order allow,deny Allow from all …
Orvie SE
  • 47
  • 5
0
votes
1 answer

Maven + Tomcat in eclipse. Tomcat return error 405

When I try deploy war app on tomcat using clean install tomcat7:deploy, it returns me 405 error from tomcat. My pom xml looks like:
Petr Kostroun
  • 456
  • 9
  • 27
0
votes
0 answers

Tomcat can't start with SpringBoot war. Missing Class exception LocalizableMessageFactory$ResourceBundleSupplier

I have a SpringBoot2.2.5 That runs perfectly when running standalone. It is a REST app that serves both json and XML. Once we deploy it to one of our tomcat servers (Tomcat 8.5.38) it fails (see error below). I searched all over to try and find the…
pcroadkill
  • 75
  • 2
  • 14
0
votes
2 answers

CDI doesn't work with Tomcat8 + JSF Mojarra 2.3.8 + Primefaces 8.0 + WELD

I'm trying to create a project with Mojarra 2.3.8 and PrimeFaces 8.0 for Tomcat 8 Application server. I used IntelliJ for building and testing my web application. Following WELD installation instruction I installed all dependencies using maven, my…
N3tMaster
  • 398
  • 3
  • 13
0
votes
1 answer

Setup a nonce on tomcat server

Before I begin, please excuse my illiteracy on security. I have googled a solution, but I do not quite know which or how the solutions can be applied. I have an application that makes a call to my tomcat server (it serves JasperReport reports). The…
user2924127
  • 6,034
  • 16
  • 78
  • 136
1 2 3
99
100