Note User-defined namespaces cannot be created when using Rhino configured in pool clustering mode.

To create a new namespace, use the following rhino-console command or related MBean operation.

Console command: createnamespace


createnamespace <name> [-replication-resource <resource-name>]
    Create a new deployment namespace. If the optional replication resource is not
    specified then the resource used for this namespace is the same as that used in
    the default namespace.


$ ./rhino-console createnamespace testnamespace
Namespace testnamespace created

MBean operation: createNamespace


Rhino extension

public void createNamespace(String name, NamespaceOptions options)
  throws NullPointerException, InvalidArgumentException,
    NamespaceAlreadyExistsException, ManagementException;
Previous page Next page
Rhino Version 3.2