Skip to main content

All Questions

Tagged with
0 votes
0 answers
15 views

Error when trying to deploy a war-File on Openshift using tomcat 9

I have a java war-File which i want to deploy on Openshift using tomcat 9. I want to do this via the openshift console Log in to my Openshift: oc login --token=sha256~O_SDFSDFJp0sD3Q5vTmo --server=...
Josef's user avatar
  • 71
0 votes
1 answer
47 views

Why does linux deny permission to establish a Java Jsch session when the war file is deployed in a Tomcat server?

I have been trying to establish a Jsch session in a Java Spring Controller, so I can execute a shell script. The session is established and commands are run during local testing and manually testing ...
Sarath M's user avatar
0 votes
0 answers
32 views

spring boot deploy war on centos 9 problem

I have three machines: Windows, CentOS 7, and CentOS 9. I have deployed a WAR file successfully on Windows using XAMPP and on CentOS 7 using Tomcat with MariaDB. However, on CentOS 9, the application ...
Ibrahem Gamal's user avatar
0 votes
0 answers
13 views

How to enable the Undeployed button in Tomcat console when it is disabled

How to enable the Undeployed button in Tomcat console when it is disabled. When I deploy a .war file that cannot be undeployed from the tomcat manager. Tomcat version is 8.5.16 and JVM version is 1.8. ...
GaneshaS's user avatar
-1 votes
1 answer
63 views

Maven including multiple versions of spring dependencies

I have this project that I am trying to get to run. Tomcat is having a issues but I noticed that I have multiple versions of spring packages and I cannot figure out where the spring 3.2.2 jars are ...
Ricardo Saracino's user avatar
0 votes
0 answers
32 views

Tomcat 9 error on WAR deployment tries to read logging configuration from wrong location

I have a Spring Boot WAR application deployed into a Tomcat 9 installation in a server. It worked fine until another tool created a configuration file in the server. After this, every time Tomcat ...
Ulfnir's user avatar
  • 11
0 votes
0 answers
37 views

Maven War file issue at tomcat server | Ubuntu

I have a problem with my WAR file. I wrote application in Java using maven with Spring boot and Spring MVC. After packaging i pushed file to an ubuntu server at path /opt/tomcat/webapps. Currently I ...
Clipper's user avatar
0 votes
0 answers
219 views

Troubleshooting Deployment Issues with Spring Boot WAR on Tomcat 11 and JDK 21 on Windows vServer

I've recently updated my server to use OpenJDK 21 and Tomcat 11 (Apache Tomcat/11.0.0-M16). When I try to deploy my WAR file into the Tomcat webapps directory, I encounter the following exception: ...
FloraMolnar's user avatar
0 votes
1 answer
37 views

How to prevent MVN from changing file dates as it packages a WAR file?

I have a TomCat application with a lot of JSP files. I recently switched from Gradle to MVN for doing the build. One big difference is that the MVN build sets the timestamps on all the JSP files to ...
AgilePro's user avatar
  • 5,540
0 votes
0 answers
27 views

How can I Export an imported dynamic web project as a WAR file using Eclipse IDE?

maybe could sound like an obvious question but I'm stuck with this problem since long time ago. I have bunch of working dynamic web projects to import in Eclipse and I usually import them like File -&...
ric's user avatar
  • 89
0 votes
0 answers
37 views

Java/Tomcat. After some time there are exceptions of Class loading

Upon deployment my application works but after some time it happens that there are java.lang.NoClassDefFoundError at javax/imageio/impl/IIOInvalidTreeException at com.github.jaiimageio.impl.plugins....
Kåre Jonsson's user avatar
0 votes
0 answers
147 views

Gradle plugin for Tomcat 10 With Spring Boot 3 and Spring Security 6

I was earlier using Spring Boot 2.6.6 and Tomcat 8. Now I upgraded to Spring Boot 3.1.3 and Spring Security 6. The plugin used earlier was com.bmuschko:gradle-tomcat-plugin:2.7.0 but it has support ...
S Khandelwal's user avatar
0 votes
0 answers
17 views

Package individual files into WAR

Not sure Ant can do this. I have an existing WAR project that can be packaged with existing Ant script (not written by me). The WAR package works fine as it is on Tomcat. Now I want another separate ...
user2526586's user avatar
  • 1,152
0 votes
1 answer
281 views

Deployed war file not working in external tomcat 10: unable to start web server in deploying war file in webapps folder

Deployed war file not working in external tomcat 10 It's just a simple test with jsp page and spring boot Software: Eclispe IDE (ultima versione) Java 17 Tomcat 10 SpringBoot 3.1 Maven Details -0....
Andrea's user avatar
  • 1
0 votes
0 answers
73 views

Why do we need to reconfigure with SpringBootServletInitializer to build war for external Tomcat

1- I am adding below configurations in Spring Boot application to build war file to deploy on external tomcat server and I am able to build successfully. 2 - But my problem is I am unable to run ...
Waseem Khan's user avatar

15 30 50 per page
1
2 3 4 5
58