Questions tagged [war-filedeployment]

war deployment is related to deploying a web application bundle to any application server e.g. Tomcat, JBoss etc. The war deployment is a very common thing in terms of web applications

23 questions
69
votes
6 answers

Advantages/Disadvantages to exploded WAR files

An answer to a question I read today suggested deploying an application as an exploded (unzipped) WAR. It got me thinking. Every deployment I've ever done to a JBoss/Tomcat has been with a a WAR/EAR file. At least as far as I can remember. Have I…
Kevin D
  • 3,564
  • 1
  • 21
  • 38
33
votes
3 answers

How does class loading work when the same class exists in different applications on the same server?

I have multiple web-apps running on an app server and each web-app WAR file contains a copy of the same jar file. Does this mean that a class in that jar file will be loaded multiple times in the JVM, once for each WAR file it exists in? Following…
CodeClimber
  • 4,584
  • 8
  • 46
  • 55
3
votes
0 answers

tomcat fails to deploy when deployed from manager app

I'm trying to upload a war file, sized 100~mb to tomcat for deployment. I changed the max size in the manager app web xml,but still.. when I try to deploy it I get the usual chrome error of: This Site can't be reached. The connection was…
EliasHan
  • 45
  • 7
2
votes
2 answers

war file generated by Grails ignores dataSource URL

Grails version :1.1 Tomcat version: 5.5 The problem: The application doesn't use the URL data sources. It seems like - it is using some other data source- but it doesn't seem to be in memory DB- since I can see the data persisted between…
RN.
  • 997
  • 4
  • 14
  • 31
1
vote
0 answers

Title: Continuous Loading and Rendering Issue in React Application (Deployment)

Title: Continuous Loading and Rendering Issue in React Application Problem: I am facing a continuous loading and rendering issue in my React application. When accessing the /xcs route, two screens appear together, and the page keeps reloading…
1
vote
1 answer

Unable to reach tomcat, war file not deployed while integrating with docker

War file generated successfully using mvn clean install, Then tried with docker compose up --build in terminal.The logs in terminal shows that there is no tables created and unable to reach endpoints properly using postman, tomcat is in unreachable…
1
vote
0 answers

Tomcat in Docker deploying War file - HTTP Status 404 – Not Found

I have created a Spring Boot web API. With the help of Docker the web API is containerized. The Dockerfile you can find below. When I build the Dockerfile and run it with this command: docker container run -p 8080:8080 --name backend b7908762020,…
M Yil
  • 877
  • 1
  • 14
  • 35
1
vote
1 answer

How to deploy .war file to WebSphere 8.5 server?

I have used IBM MobileFirst platform for one of my projects. Using this, I have created an APK file(native Android) and a WAR file. The APK file calls the Webservice using HTTPURLConnection. The Worklight webservice in turn calls another externally…
1
vote
1 answer

Deploy Apache Solr 5.2.1 on tomcat

Just downloaded the latest solr-5.2.1.tgz release from here. According to this and this post, it should contain the warfile in the /dist subdirectory. But I can't find the warfile in the distribution. Did this change in version 5.x? Where can I…
ulrich
  • 1,431
  • 3
  • 17
  • 46
1
vote
1 answer

Creating Executable WAR file

I want to deploy my Java EE project to the client desktop (Not, to a domain). How may I able to achieve that without again installing Servlet containers like Tomcat. I want to make my war file as clickable file, to what ever system I deploy it…
Vamsee
  • 183
  • 1
  • 8
1
vote
1 answer

Creating a SOAP service which can be deployed as war on JBOSS

I am totally new to SOAP services. I wanted to know how to create a SOAP service using Axis/CXF (anything is fine), but the end-product should be a WAR file which i can deploy on JBOSS 7. I tried but was able to reach till WSDL using the following…
Rohit
  • 401
  • 2
  • 4
  • 11
1
vote
1 answer

How do I exclude files/directories from the target directory using the maven war plugin?

I followed the instructions here, and it worked but only if it was mapped to a directory other than the default. Here's a sample that I tried:
Keith Bentrup
  • 11,834
  • 7
  • 49
  • 56
1
vote
1 answer

Groovy: deploying a war file

I have a groovy application running locally on my desktop. Apparently it runs error free. At least all unit tests I wrote are fulfilled. I want to deploy the application using a war file. For this I use the command grails war in the home directory…
Luixv
  • 8,590
  • 21
  • 84
  • 121
0
votes
0 answers

WAF FILE could not EXPORT due to no WEB PROJECT option found

I was trying to create a war file on spring tool suite 4 (windows version). But as I was about to export the it to the local file system, I couldn't find the web project (wiseai-console) option of the project I want to export. There was another web…
0
votes
0 answers

how to solve HTTP error 404 not found jenkins

I installed tomcat 10.1.0 on ubuntu VM and in /opt/tomcat/webapps installed jenkins.war file but when I opened jenkins on host manager through public IP then it gives error as HTTP status 404 not fund jenkins and a I am unable to see status of…
1
2