Category "tomcat"

Copying a Java Dynamic Web Project and renaming it to new one causes the error in Tomcat

In eclipse whenever we copying a java dynamic web project into new one by renaming it and trying to run the new copied project in tomcat server it causes below

Multiple issues in Log4J Upgrade for old Java Servlet ( Struts ) based application

Current Situation Java Application development version: a Struts based GUI application developed in Java 1.5 JDK used for Compilation: 1.7 Tomcat Server: Applic

How to prevent sending cookies from UI using react to backend for selective apis

In our application , there are certain cookies related to analytics etc which are being sent as part of every request api from frontend, we are not explicity se

IM getting "HTTP Status 500 - Servlet.init() for servlet dispatcher threw exception" error,new to spring-mvc and java

I'm new to java ,self-learning through video's and stackoverflow , I cannot find where I committed error in this code. this is my web.xml : <?xml version="1.

IM getting "HTTP Status 500 - Servlet.init() for servlet dispatcher threw exception" error,new to spring-mvc and java

I'm new to java ,self-learning through video's and stackoverflow , I cannot find where I committed error in this code. this is my web.xml : <?xml version="1.

Build step 'Deploy war/ear to a container' marked build as failure Finished: FAILURE (Or) ERROR: Build step failed with exception org.codehaus.cargo.c

I was trying to solve this myself, but I haven't been able to solve this issue for three days. I have added user in tomcat-user.xml and tomcat port number is ev

When FileUploadBase.SizeException (FileUploadException) is thrown, it seems the request is repeated (using Commons FileUpload)

I have an Ajax POST call that uploads one or more files to a servlet. In my servlet, I use Commons FileUpload library to manage the uploading file process: priv

Tomcat 9 Server not starting in Eclipse 4

After adding Tomcat Server 9.0 to Eclipse 4.23 on Windows 11 the server will not start. The following warning is written to the console: 'WARNING: Problem with

Autoflush on System.out of my develope environment

In my develope environment I have tomcat (9.0) with the System.out.autoflush off. How can I set it to on? EDIT: I tried to put thoose lines: private static bool

Enable ssl on tomcat service

I have wanted to make my tomcat service connection as secure. So I’ve generated the CSR and got a sign-in from my originations. While generating the CSR,

Force Tomcat a JSON response of BadRequest error: Invalid character found in the request target

I have this spring boot (v2.2.8) app for REST-full service, and I want all responses and errors to be only in JSON. Almost every error works with @ExceptionHand

java.lang.NoSuchMethodException error in Spring-boot web-application when deploying on tomcat

I am deploying a Spring-boot web-application on 'tomcat 9' and I faced a NoSuchMethodException. I compile and run this code in localhost, successfully; but when

Rest Api SSL on tomcat server

Setup: I have setup a front-end(Next.js) and backend kotlin-api. I use Cloudflare with SSL turned full on. I have setup SSL using certbot on both of these. This

jsp encoding display issue

I am finding a issue where the data is encoded properly in the controller and compiled jsp, but is not displaying properly within an alert statement (or on the

How to add Google Cloud MySQL libs to Tomcat 8.5

We want to deploy our Applications (.war-Files) via Tomcat 8.5 into a k8s-infrastructure, having the depending Database on Google Cloud SQL (MySQL). Google offe

java.lang.ClassNotFoundException: org.apache.logging.log4j.Logger after updating log4j 1.2.17 to 2.13.0

I am running Tomcat v9.0 server on a Java Eclipse project. Each time I run my application on the server I get this Problem Occured message: Server Tomcat v

AbstractMethodError: org.jboss.resteasy.specimpl.ResponseBuilderImpl misses 'javax.ws.rs.core.Response$ResponseBuilder status(int, java.lang.String)'

I was trying to deploy Okapi Longhorn on Tomcat when I got this error: FATAL [http-nio-8080-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet

Tomcat war file deployment fails

When I am deploying my web app in tomcat by going to webapps it is being deployed and status is also showing true but when I am deploying same app by creating w

JasperReports Server 8.0.0 Deployed on Tomcat CORS Errors

When calling any of the REST web services from my Angular front-end application (or via cURL), I receive a CORS error in the console window. Access to XMLHttpRe

RELIABLE way of starting and stoping xampp (Mysql, Apache, Tomcat) from a batch file without crashing mysql databases

THE ENVIRONMENT: I am using Xampp (Mysql, Apache, Tomcat) for writing Java applications in Windows 11. THE PROBLEM: Everytime i forget to close xampp, and resta