7.2.2. Creating Your Own Profile

When creating your own server profile, copy the profile that is closest to your needs and modify the contents.

Example 7.2. Example: Create a New Server Profile

The following procedure is an example of how you might create a new server profile that does not require the messaging service:

Procedure 7.1. 

  1. Copy a suitable profile directory (production, for instance).
  2. Rename the copied directory as desired (myconfig, for example).
  3. Remove the messaging subdirectory from the deploy folder.
  4. Start JBoss with the new profile using the command:
    run -c myconfig

Note

The default configuration is the one used if you do not specify another when starting up the server.