31.4. Creating JBoss EAP 6 Resources
31.4.1. Tracking the Child History

Figure 31.9. Child History
31.4.2. Creating Server Groups
- Click the Inventory tab in the top menu.
- Select Servers - Top Level Imports in the Resources menu table on the left.
- Right-click the domain controller entry.

- In the Create New menu, select the item for .
- Enter the name for the new server group.
- Enter the settings for the server group: the profile to use, the socket bindings group to use, and any system properties to set.

- Click .
31.4.3. Creating Managed Servers
Note
Note
- Click the Inventory tab in the top menu.
- Select Servers - Top Level Imports in the Resources menu table on the left.
- Right-click the domain controller entry.

- In the Create New menu, select the item for .
- Enter the name for the new server.
- Enter the settings for the server:
- The EAP 6 domain host to create the server on.
- The server group to add the server to.
- The socket binding group to use. This gives the base port numbers for the server instance to use.
- The port offset. This is the number to add to the socket bindings settings to determine the actual port numbers for the server instance. If the socket binding port is 1000, and the offset is 150, then the port number used for that interface on the managed server is 1150.
- Whether the server starts automatically when the EAP 6 host starts.
- Any system properties for the server.

- Click .
31.4.4. Changing JVM Definitions
31.4.4.1. JVM Definitions as Resources

Figure 31.10. JVM Definitions in the EAP 6 Console
31.4.4.2. Creating a JVM Definition
Important
- Click the Inventory tab in the top menu.
- Select Servers - Top Level Imports in the Resources menu table on the left.
- Right-click the entry to which to add the JVM definition.
- In the Create New menu, select the item for .
- Enter the name for the definition.

Note
The name of JVM definition can be anything for a host controller. For a managed server or server group, the name of the JVM definition must be the same as the host controller JVM definition which is the base of the definition. - Enter the settings for the JVM. Any settings which are left blank use the values defined in the parent JVM definition.
Most of the configuration for the JVM relates to memory and resource usage, along with options to pass environment variables or other settings to the JVM. The values of these settings can have a positive impact on both the resource performance and the overall system performance.The configuration settings are listed in Table 31.1, “JVM Definition Properties”. - Click .
Table 31.1. JVM Definition Properties
| Property | Description |
|---|---|
| JVM Options | Sets any other Java option. Many of these are documented with the Java provider, such as Sun's documentation at http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html. |
| Environment variables | Sets environments variables to use with the JVM. |
| Heap Size | Sets the initial heap size for the JVM. |
| Max Heap Size | Sets the maximum allowed heap size for the JVM. Setting this too low can cause out of memory errors. |
| Permgen Size | Sets the initial size of the permanent generation. |
| Max Permgen Size | Sets the maximum size of the permanent generation. |
| Type | The type of JVM. This can be Sun or IBM, the two supported Java types for JBoss ON. |
31.4.4.3. Editing a JVM Definition
- Click the Inventory tab in the top menu.
- Select Servers - Top Level Imports in the Resources menu table on the left.
- Select the EAP server and navigate to the appropriate JVM definition entry.
- Open the Configuration tab.

- Change any of the JVM settings. These are listed in Table 31.1, “JVM Definition Properties”.
- Click the button at the top of the page.
31.4.5. A Short List of Parent-Child Resources
Note
Table 31.2. A Short List of Parent-Child Resources
| Resource | Child Resource Types |
|---|---|
| Standalone server |
|
| Domain Controller |
|
| Host |
|
| Server Groups |
|
| Datasources (under Profiles) |
|
| Infinispan > Hibernate |
|
| Logging |
|
| Web |
|

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.