3,744
questions
0
votes
0
answers
28
views
Spring application runs in IntelliJ IDE but not in webapps folder of tomcat
My code works when I run it normally on IntelliJ IDE with spring provided tomcat server on 8080. But when I change my pom.xml file to create a WAR file and upload it on my local tomcat server which I ...
0
votes
1
answer
13
views
Apache Karaf War deployment
I am trying to install web bundle in Apache Karaf 4.4.6
Every things woks fine excepts controller.
It's like seeing annotation and not register it. I tried my war in Jetty server and Tomcat and both ...
0
votes
0
answers
38
views
ojdbc driver not found when deploying webApp on Tomcat [duplicate]
I have a Java Webapp that is built with Maven, and deployed on a Tomcat 11 server, using HttpServlet and JSP thechnologies. It's function is to fetch some data from an oracle 19c database, create a ...
1
vote
1
answer
88
views
Running a Java application deployed as WAR on Tomcat server
I have a very simple Java application, all it does is write a file with the current date as the title and, a single line in the file which is also the current date. I just made this as a test:
...
1
vote
0
answers
35
views
Can I be sure which copy of a dependency is used in war containing an uberjar?
An application is deployed as a war file. It contains a dependency "a" as a jar file inside the war file. "a" has its own dependency "b", embedded inside it, so "a&...
2
votes
1
answer
72
views
Spring boot Tomcat session replication with Traefik
I'm trying to setup session replication using Spring boot with Traefik. I've found how it can be achieved with Tomcat and its server.xml file in the following link: Tomcat session replication in ...
0
votes
0
answers
53
views
Failing to deploy .war file on weblogic
While trying to deploy a simple .war file on weblogic, the weblogic stops with the below error. Before doing this I had followed the below steps:
Installed JDK
Installed generic Weblogic
started ...
0
votes
0
answers
39
views
spring boot gradle how to create war with single application.properties
I am using IntelliJ and I know how to use Profiles in Spring Boot to specify which application.properties file to use.
But when I create WAR file with Gradle all of these application.properties file ...
0
votes
1
answer
42
views
Grails 6: Unable to generate WAR after upgrade from v5
I just updated from Grails 5 to 6.1.2 and I can't figure out how to generate my war files anymore. I can't use the grailsw anymore since it doesn't seem to be supported. I used to run ./grailsw <...
0
votes
0
answers
28
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=...
0
votes
0
answers
63
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 ...
0
votes
0
answers
29
views
I have a spring backend and an Angular frontend in the same WildFly, why is my frontend URL mistaken with backend by Spring?
I'm making a web application that is supposed to run on a WildFly.
The backend and the frontend are put in the same .war package and this used to work fine before I implemented Angular's ...
-1
votes
1
answer
57
views
How to deploy a war file in tomcat10 without using tomcat10 manager
I have a war file and tomcat10 installed on a machine how to deploy that war without using the tomcat10 manager (select a file to upload). I am using ubuntu 24. I pretend to use jenkins to make the ...
0
votes
0
answers
50
views
Difrerent MANIFEST.MF used when executig SB app as jar and when deployed to Wildfly
I've run into a an issue with Spring Boot (3.3.0), and Wildfly (29.0.0, and 32.0.0).
I've found out that when deploying a SB WAR application in Wildfly server, the WEB-INF/classes/META-INF/MANIFEST.MF ...
0
votes
0
answers
49
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 ...