You can also use the autodeploy feature of JRun 4. Simply, start your JRun Server and place your expanded directory on the autodeploy directory. JRun automatically deploys a module when it detects a module archive file or an expanded module directory in a deploy directory.
By default, this functionality is combined with hot deploy, which automatically deploys a module copied to a deploy directory of a running JRun server.
The default deploy directory is jrun_root/servers/jrun_server, but you can create additional deploy directories, and modify or remove existing ones through the JMC or by manually adding or removing deployDirectory attributes to the DeployerService section of the JRun server's jrun_root/servers/server_name/SERVER-INF/jrun.xml file. For example, to configure the directory c:/my_deployments as a deploy directory, you would add the following entry to the jrun.xml file:
<attribute name="deployDirectory">c:/my_deployments</attribute>.
You may want to refer to
Dynamic module deployment of the JRun 4.0 Documentation for details.
[ July 09, 2002: Message edited by: Owee Nicolas ]