How to configure JBoss to disable hot deployment ?

On JBoss AS 7 and WildFly the default rule is that archived applications use the auto­deploy mode while exploded archives require manual deploy mode.So you can either 1) Disable automatic deployment of zipped applications by executing the following CLI command (will require to include a .dodeploy marker file to trigger deployment) : /subsystem=deployment-scanner/scanner=default:write-attribute(name=auto-deploy-zipped,value=false) 2) Disable the … Read more

How to deploy an application remotely with JBoss AS ?

Let’s learn how to deploy an application remotely using the latest version of WildFly or JBoss EAP. We will also cover this process for older JBoss installations. Deploying an application remotely with WildFly If you are running WildFly there are several choices for deploying your application remotely.  You can opt for: Web Administration Console Command … Read more

Simple ways to change the default lib directory in an ear file

 An EAR file may contain a directory that contains libraries packaged in JAR files used by some of its components. By default, all JAR files included in the lib folder will be available to all applications packages in the EAR file. You can however override the location of the library directory by configuring the library-directory parameter … Read more

Simple way to configure JBoss / WildFly deployment order

You can configure JBoss EAP / WIldFly deployment order with a simple trick, here we will show how to do it! Configuring Deployment order within an EAR file If you want to deploy applications within an EAR file with a precise order, then you can use the element named initialize-in-order (available in application.xml 6.0 schema). … Read more

Managing exploded deployments in WildFly

An exploded deployment is an application which is not packaged in a .war, .ear or .jar file but it’s contained in a directory using these extensions (.ear, .war, etc.). Exploded deployments are not deployed by default by WildFly. If a directory with a standard extension (.ear, .war, etc.) is placed in the deployments directory, a … Read more

How to deploy applications on WildFly

This tutorial discusses how to deploy applications on WildFly application server. We can deploy applications on the top of WildFly in several ways: 1. File system copy (standalone mode only) 2. Using the Management Interfaces (Admin Console or CLI) 3. Using Maven to deploy WildFly applications Deploying applications on WildFly using File system deployment File … Read more

Examples of jboss-deployment-structure.xml

The file jboss-deployment-structure.xml can ne used to set application dependency against modules. The advantage of using this file (compared to the Manifest’s entry) is that you can define dependencies across top-level deployments and subdeployments. An example of jboss-deployment-structure.xml Here is an example which adds a deployed module to the application’s classpath: <jboss-deployment-structure> <deployment> <dependencies> <module … Read more

How to configure a custom JBoss deployment directory

Deploying applications to WildFly is can be achieved through management instruments or by deploying the artifacts in the deploy directory. See the following tutorial to learn more about about both approaches:  How to deploy applications on WildFly In this tutorial we are going to show how to provide a custom directory or URL for deploying … Read more

How to deploy temporarily an application on JBoss ?

The current version of WildFly / JBoss EAP does not provide a way to deploy temporarily your application, so that it is automatically removed when you shut down the server. As an alternative, you can use add a file named <application>.skipdeploy in the deployments folder. This marker file disables auto-deploy of an application while present. … Read more

Exit mobile version