1.1.2.2. Start the Server With Alternate Configuration

1.1.2.2. Start the Server With Alternate Configuration

Using run.sh without any arguments starts the server using the default server configuration file set. To start with an alternate configuration file set, pass the name of the server configuration file set [same as the name of the server configuration directory under /jboss-4.2.2.GA/server] that you want to use, as the value to the -c command line option. For example, to start with the minimal configuration file set you should specify:

[bin]$ ./run.sh -c minimal
...
...
...
15:05:40,301 INFO  [Server] JBoss (MX MicroKernel) [4.2.2 (build: SVNTag=JBoss_4_2_2 date=200801082100)] Started in 5s:75ms