The JonasAdmin console allows the deployment of application modules installed in deployment directories.
By default, there is one deployment directory, which is
There are two ways to define additional deployment directories.
It is possible to define deployment directories by setting the directories property in the service configuration.
######### JOnAS Deployment Monitor ############# jonas.service.depmonitor.directories dir1,dir2
Application modules installed in these directories (deploy, dir1 and dir2) will be deployed at the server start-up.
If the depmonitor is configued in development mode, undeploying a module implies the removal of its file from the deployment directory. Otherwise, the module can be un-deployed and re-deployed with JonasAdmin as many times as necessary.
It is possible to specify deployment directories by defining them as URL repositories. This can be achieved in two ways:
Add directories as URL repositories in the
Create a repositories list in a XML file (Deployment plans repositories ).
This file has to be deployed at server start-up (put it
Example 1.1. Example of a repository file defining directories for JAR and RAR modules
<?xml version="1.0" encoding="UTF-8"?>
Application modules installed in these directories will not be deployed at the server start-up. They can be un-deployed and re-deployed with JonasAdmin as many times as necessary.