Latest Questions tagged Tomcat

Browse all latest questions tagged Tomcat

22
Votes
Published 19 Sep, 2022
Java - Deploying my application at the root in Tomcat

I have the war file of my application. I need to deploy this at the root level. The current URL is http://localhost:8080/war_name/application_name.

96
Votes
Published 07 Sep, 2022
Java - Set environment variable values in persistence.xml from Eclipse

I'm using OpenShift, and I'm trying to deploy my application to a local Tomcat instance for faster development. I'm using EclipseLink for DB transactions, and I've provided the environment variables O...

120
Votes
Published 06 Sep, 2022
Java - How can I monitor/log Tomcat's thread pool?

I have a Tomcat installation where I suspect the thread pool may be decreasing over time due to threads not being properly released. I get an error in catalina.out when maxthreads is reached, but I wo...

90
Votes
Published 02 Sep, 2022
Java - Cannot create JDBC driver of class ' ' for connect URL 'null' : I do not understand this exception

Why does it say null URL and gives a empty ' ' class in the exception when I have provided the database URL? I am trying to connect to a derby database via a servlet while using Tomcat. When the servl...

71
Votes
Published 02 Sep, 2022
Java - Tomcat process killed by Linux kernel after running out of swap space; don't get any JVM OutOfMemory error

I was performing load testing against a tomcat server. The server has 10G physical memory and 2G swap space. The heap size (xms and xmx) was set to 3G before, and the server just worked fine. Since I...

68
Votes
Published 16 Sep, 2022
Java - Multipart file maximum size configuration in Tomcat 8

My application server is Tomcat and I need is to upload files (large size) to my application. The body size of POST requests is really long like 15 MB or more. Is there any type of configuration or...

51
Votes
Published 15 Sep, 2022
Java - Why tomcat wont start with Failed to start apache tomcat web server tomcat.service: Control process exited, code=exited status=203

What i wanted to do I installed fresh linux Ubuntu 16.04 to setup a test developing environment. I wanted to install java 8 tomcat 8 So i applied this tutorial and know that i dont have any...

22
Votes
Published 10 Sep, 2022
Java - Spring boot after https: The Tomcat connector configured to listen on port 8444 failed to start.

I followed a guide to enable https in Spring Boot. The application was beforehand working on https://localhost:8080 I've created a keystore.jks which is in the same directory as my application.proper...

76
Votes
Published 30 Sep, 2022
Java - Delete temporary files

I have developed a rest client using spring mvc which upload files and form data to a rest service using Jersey. I can able to see the files that i uploaded, in rest client's Tomcat home directory....

104
Votes
Published 08 Sep, 2022
Java - Tomcat 7 javax.el.ELException

I restarted the httpd and tomcat service today, and after doing so. I was greeted with the following message. I saw this thread http://www.coderanch.com/t/592922/Tomcat/enable-el-api-jar-ver And did...

87
Votes
Published 05 Sep, 2022
Java - RESTEASY003210: Could not find resource for full path : Tomcat

I am getting the following error: This is the stack trace: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://localhost:9050/scenarioplanner/api/models/...

62
Votes
Published 13 Sep, 2022
Java - Using Intellij to Build War and Deploy to Tomcat

My basic workflow is in terminal mvn clean install on my base directory. This creates a target directory with a WAR file. I copy that war file into the webapps directory of my Tomcat. If I make change...

33
Votes
Published 09 Aug, 2022
Java - Apache Tomcat 9 Not Showing in Eclipse Server Runtime Environments

I have tomcat 9.0.11 installed, but the tomcat 9 server name does not see it to configure it , a solution please enter image description here

86
Votes
Published 05 Sep, 2022
Java - Java and Tomcat - CodeCache is full. Compiler has been disabled

My Situation I have developed a web service for document analysis This web service reads txt and pdf documents For reading pdf files I am using a java library developed by my university advisor I am...

90
Votes
Published 03 Sep, 2022
Java - Deploy WAR file on Tomcat of a Spring Boot and Angular app

I created an Angular and Spring Boot application and I want to deploy it on Tomcat server. For that I copied an angular project in a Spring Boot project and also provide a pom.xml to create a WAR file...