Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

- Previous: hadbm Command Fails: JAVA_HOME not defined
- Next: create Fails: path does not exist on a host

## `hadbm createdomain` fails, but two split domains are created

### Description

If running the HADB management agent on a host with multiple network interfaces, the `createdomain` command may fail if not all network interfaces are on the same subnet:

    hadbm:Error 22020: The management agents could not establish a domain,
    please check that the hosts can communicate with UDP multicast.

By default, the management agents use the “first” interface for UDP multicasts (“first” as returned by `java.net.NetworkInterface.getNetworkInterfaces()`).

### Solution

The best solution is to tell the management agent which subnet to use by setting `ma.server.mainternal.interfaces` in the configuration file; for example:

    ma.server.mainternal.interfaces=10.11.100.0

Alternatively, one may configure the router between the subnets to route multicast packets. By default, the management agent uses multicast address `228.8.8.8`.

- Previous: hadbm Command Fails: JAVA_HOME not defined
- Next: create Fails: path does not exist on a host

- © 2010, Oracle Corporation and/or its affiliates