Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WAR file deployment in JBoss Fuse



This is regarding the WAR file deployment in JBoss Fuse ESB.
I have a project which produces a WAR file (which contains a web application consists of some JSPs, HTMLs, and a web.inf file) together with some other bundles.
Once I deployed them in to the FUSE, those are working properly and the WAR file is converted in to a respective bundle as well.
I can see all the bundles correctly by using a ‘list’ command in the karaf shell.

The problem I am having is I want to know the location of extracted (exploded) WAR files.
Typically when we deploy a WAR file into a web container such as tomcat, it will extract the WAR file.
Is it same for the JBossFuse ? or it is not extracting the WAR bundles at all ?

Thanks.

like image 921
gbids Avatar asked Dec 09 '25 00:12

gbids


1 Answers

In Apache Karaf WAB files are never extracted, but you can deploy an exploded WAB/WAR in the deploy folder. Just make sure the folder has the name of the war and an extension like:

/my-super.war/
             /index.html
             /WEB-INF/
             /WEB-INF/web.xml
like image 79
Achim Nierbeck Avatar answered Dec 12 '25 01:12

Achim Nierbeck



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!