@MessageBundle(projectCode="JBAS")
public interface HostControllerMessages
Modifier and Type | Field and Description |
---|---|
static HostControllerMessages |
MESSAGES
The messages.
|
Modifier and Type | Method and Description |
---|---|
String |
argumentExpected(String option)
A message indicating an argument was expected for the option.
|
IllegalArgumentException |
attemptingToSet(String attributeToSet,
String attributeAlreadySet)
Creates an exception indicating an attempt was made to set the
attributeToSet when the attributeAlreadySet was already set. |
IllegalStateException |
authenticationFailureUnableToConnect(Throwable cause)
Creates an exception indicating an inability to connect due to authentication failures.
|
String |
cannotAccessJvmInputArgument(Exception cause) |
IllegalStateException |
cannotAccessRemoteFileRepository()
Creates an exception indicating the remote file repository cannot be accessed from the master domain controller.
|
IOException |
cannotCreateLocalDirectory(File path)
Creates an exception indicating the inability to create a local directory.
|
OperationFailedException |
cannotIgnoreTypeHost(String type) |
RuntimeException |
cannotObtainValidDefaultAddress(Throwable cause,
String defaultAddress,
String option)
Creates an exception indicating the default address cannot be obtained for communicating with the
ProcessController.
|
String |
cannotRestartServer(String serverName,
ServerStatus status)
A message indicating the server, represented by the
serverName parameter, cannot restart as it is not
currently started. |
String |
cannotStartServersInvalidMode(RunningMode mode)
A message indicating the servers cannot start when the host controller is running in the mode represented by the
mode parameter. |
UnsupportedOperationException |
closeShouldBeManagedByService()
Creates an exception indicating the close should be managed by the service.
|
IllegalStateException |
configDirectoryDoesNotExist(File f) |
IllegalStateException |
configurationPersisterAlreadyInitialized()
Creates an exception indicating the configuration persister for the domain model is already initialized.
|
IllegalStateException |
connectionToMasterInterrupted()
Creates an exception indicating an interruption while trying to connect to master.
|
IllegalStateException |
connectionToMasterTimeout(Throwable cause,
int retries,
long timeout)
Creates an exception indicating the connection to master could not be completed within the number of retries and
timeout.
|
IllegalStateException |
couldNotCreateDomainContentDirectory(File file) |
IllegalStateException |
couldNotCreateDomainDataDirectory(File file) |
IllegalStateException |
couldNotCreateDomainTempDirectory(File file) |
IllegalStateException |
couldNotCreateLogDirectory(File f) |
IllegalStateException |
couldNotCreateServersDirectory(File f) |
RuntimeException |
couldNotGetServerInventory(long time,
String timeUnit)
Creates an exception indicating the server inventory could bot bre retrieved in the time.
|
IOException |
didNotReadEntireFile(long missing)
Creates an exception indicating the entire file was not read.
|
IllegalStateException |
domainBaseDirectoryDoesNotExist(File f) |
IllegalStateException |
domainBaseDirectoryIsNotADirectory(File file) |
IllegalStateException |
domainContentDirectoryIsNotDirectory(File file) |
IllegalStateException |
domainDataDirectoryIsNotDirectory(File file) |
IllegalStateException |
domainTempDirectoryIsNotADirectory(File file) |
XMLStreamException |
duplicateIgnoredResourceType(String element,
String value,
Location location) |
RuntimeException |
errorClosingDownHost(Throwable cause)
Creates an exception indicating there was an error closing down the host.
|
String |
failedProfileOperationsRetrieval()
A message indicating a failure to retrieve the profile operations from the domain controller.
|
RuntimeException |
failedToGetFileFromRemoteRepository(Throwable cause)
Creates an exception indicating a failure to get the file from a remote repository.
|
String |
failedToGetServerStatus()
A message indicating a failure to get the server status.
|
String |
failedToReadAuthenticationKey(Throwable cause)
A message indicating a failure to read the authentication key.
|
IllegalStateException |
homeDirectoryDoesNotExist(File f) |
IllegalStateException |
hostAlreadyShutdown()
Creates an exception indication that the host controller was already shutdown.
|
UnsupportedOperationException |
hostControllerSystemPropertyUpdateNotSupported() |
IllegalArgumentException |
hostNameAlreadyConnected(String hostName)
Creates an exception indicating there is already a connection for the host.
|
SaslException |
insufficientInformationToGenerateHash()
Creates an exception indicating the information provided could be not used to generate a hash.
|
String |
invalidOption(String option)
A message indicating the option is invalid.
|
RequestProcessingException |
invalidRootId(int rootId)
Creates an exception indicating an invalid root id.
|
String |
invalidValue(String name,
String type,
Object value)
A message indicating the value is invalid.
|
String |
invocationNotAllowedAfterBoot(org.jboss.dmr.ModelNode operation)
Creates an exception indicating invocations of the operation after HostController boot are not allowed.
|
IllegalStateException |
invocationNotAllowedAfterBoot(String name)
Creates an exception indicating invocations of the operation, represented by the
name parameter, after
HostController boot are not allowed. |
IllegalStateException |
logDirectoryIsNotADirectory(File f) |
String |
malformedUrl(String option)
A message indicating the provided for the option is malformed.
|
IllegalStateException |
missingHomeDirConfiguration(String propertyName) |
IllegalStateException |
modulesDirectoryDoesNotExist(File f) |
IllegalStateException |
mustInvokeBeforeCheckingSlaveStatus(String methodName)
Creates an exception indicating the need to call the method, represented by the
methodName parameter,
before checking the slave status. |
IllegalStateException |
mustInvokeBeforePersisting(String methodName)
Creates an exception indicating the need to call the method, represented by the
methodName parameter,
before persisting the domain model. |
IllegalArgumentException |
noChannelForHost(String hostName)
Creates an exception indicating there is no channel for the host.
|
IllegalArgumentException |
noNameAttributeOnHost()
Creates an exception indicating a host connecting to a remove domain controller must have its name attribute
set.
|
OperationFailedException |
noServerGroupCalled(String groupName)
Creates an exception indicating no server group could be found with the given name
|
IllegalStateException |
noServerInventory()
Creates an exception indicating there is no server inventory.
|
OperationFailedException |
noSocketBindingGroupCalled(String groupName)
Creates an exception indicating no server group could be found with the given name
|
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable name is
null . |
IllegalArgumentException |
propertyAlreadyExists(String name)
Creates an exception indicating the property already exists.
|
IllegalArgumentException |
propertyNotFound(String name)
Creates an exception indicating the property does not exist.
|
IllegalStateException |
propertyValueHasNullValue(String name)
Creates an exception indicating the property has a
null value. |
IllegalArgumentException |
propertyValueNull(String name)
Creates an exception indicating the value for the property is
null . |
IllegalArgumentException |
serverNameAlreadyRegistered(String serverName)
Creates an exception indicating there is already a registered server with the name represented by the
serverName parameter. |
IllegalStateException |
serversDirectoryIsNotADirectory(File f) |
String |
serverStillRunning(String name)
A message indicating the server, represented by the
name parameter, is still running. |
IllegalStateException |
sslFailureUnableToConnect(Throwable cause)
Creates an exception indicating an inability to connect due to a SSL failure.
|
SaslException |
unableToGenerateHash(Throwable cause)
Creates an exception indicating the inability to generate the hash.
|
String |
unableToLoadProperties(URL url)
A message indicating the inability to load properties from the URL.
|
IllegalArgumentException |
undefinedSocketBinding(String serverName)
Creates an exception indicating the socket binding group for the server is undefined.
|
IllegalStateException |
undefinedSocketBindingGroup(String name)
Creates an exception indicating the socket binding group is undefined.
|
IllegalStateException |
unexpectedState(ServerState state)
Creates an exception indicating the service state was unexpected.
|
IllegalArgumentException |
unknown(String name,
Object value)
Creates an exception indicating the
value for the name is unknown. |
String |
unknownHostValue(String name,
Object value)
A message indicating the value is not a known host.
|
IOException |
unrecognizedType(byte type)
Creates an exception indicating the type is unrecognized.
|
static final HostControllerMessages MESSAGES
@Message(id=10940, value="Argument expected for option %s") String argumentExpected(String option)
option
- the option that expects the argument.@Message(id=10941, value="Attempting to set \'%s\' when \'%s\' was already set") IllegalArgumentException attemptingToSet(String attributeToSet, String attributeAlreadySet)
attributeToSet
when the attributeAlreadySet
was already set.attributeToSet
- the attribute to set.attributeAlreadySet
- the attribute was already set.IllegalArgumentException
for the error.@Message(id=10942, value="Unable to connect due to authentication failure.") IllegalStateException authenticationFailureUnableToConnect(@Cause Throwable cause)
cause
- the cause of the error.IllegalStateException
for the error.@Message(id=10943, value="Cannot access a remote file repository from the master domain controller") IllegalStateException cannotAccessRemoteFileRepository()
IllegalStateException
for the error.@Message(id=10944, value="Unable to create local directory: %s") IOException cannotCreateLocalDirectory(File path)
path
- the directory that failed to create.IOException
for the error.@Message(id=10945, value="Cannot obtain a valid default address for communicating with the ProcessController using either %s or InetAddress.getLocalHost(). Please check your system\'s network configuration or use the %s command line switch to configure a valid address") RuntimeException cannotObtainValidDefaultAddress(@Cause Throwable cause, String defaultAddress, String option)
cause
- the cause of the error.defaultAddress
- the default address.option
- the option.RuntimeException
for the error.@Message(id=10946, value="Cannot restart server %s as it is not currently started; it is %s") String cannotRestartServer(String serverName, ServerStatus status)
serverName
parameter, cannot restart as it is not
currently started.serverName
- the name of the server.status
- the status of the server.@Message(id=10947, value="Cannot start servers when the Host Controller running mode is %s") String cannotStartServersInvalidMode(RunningMode mode)
mode
parameter.mode
- the running mode.@Message(id=10948, value="Close should be managed by the service") UnsupportedOperationException closeShouldBeManagedByService()
UnsupportedOperationException
for the error.@Message(id=10949, value="Configuration persister for domain model is already initialized") IllegalStateException configurationPersisterAlreadyInitialized()
IllegalStateException
for the error.@Message(id=10950, value="Interrupted while trying to connect to master") IllegalStateException connectionToMasterInterrupted()
IllegalStateException
for the error.@Message(id=10951, value="Could not connect to master in %d attempts within %s ms") IllegalStateException connectionToMasterTimeout(@Cause Throwable cause, int retries, long timeout)
cause
- the cause of the error.retries
- the number of retries.timeout
- the timeout in milliseconds..IllegalStateException
for the error.@Message(id=10952, value="Could not get the server inventory in %d %s") RuntimeException couldNotGetServerInventory(long time, String timeUnit)
time
- the time.timeUnit
- the time unit.RuntimeException
for the error.@Message(id=10953, value="Did not read the entire file. Missing: %d") IOException didNotReadEntireFile(long missing)
missing
- the missing length.IOException
for the error.@Message(id=10954, value="Error closing down host") RuntimeException errorClosingDownHost(@Cause Throwable cause)
cause
- the cause of the host.RuntimeException
for the error.@Message(id=10955, value="Failed to retrieve profile operations from domain controller") String failedProfileOperationsRetrieval()
@Message(id=10956, value="Failed to get file from remote repository") RuntimeException failedToGetFileFromRemoteRepository(@Cause Throwable cause)
cause
- the cause of the error.RuntimeException
for the error.@Message(id=10957, value="Failed to get server status") String failedToGetServerStatus()
@Message(id=10958, value="Failed to read authentication key: %s") String failedToReadAuthenticationKey(Throwable cause)
cause
- the cause of the error.@Message(id=10959, value="Already have a connection for host %s") IllegalArgumentException hostNameAlreadyConnected(String hostName)
hostName
- the name of the host.IllegalArgumentException
for the error.@Message(id=10960, value="Insufficient information to generate hash.") SaslException insufficientInformationToGenerateHash()
SaslException
for the error.@Message(id=10961, value="Invalid option \'%s\'") String invalidOption(String option)
option
- the invalid option.@Message(id=10962, value="Invalid root id [%d]") RequestProcessingException invalidRootId(int rootId)
rootId
- the invalid root id.RequestProcessingException
for the error.@Message(id=10963, value="Value for %s is not an %s -- %s") String invalidValue(String name, String type, Object value)
name
- the name of the option.type
- the type for the value.value
- the value.@Message(id=10964, value="Invocations of %s after HostController boot are not allowed") IllegalStateException invocationNotAllowedAfterBoot(String name)
name
parameter, after
HostController boot are not allowed.name
- the name of the operation.IllegalStateException
for the error.String invocationNotAllowedAfterBoot(org.jboss.dmr.ModelNode operation)
operation
- the operation.IllegalStateException
for the error.@Message(id=10965, value="Malformed URL provided for option %s") String malformedUrl(String option)
option
- the option.@Message(id=10966, value="Must call %s before checking for slave status") IllegalStateException mustInvokeBeforeCheckingSlaveStatus(String methodName)
methodName
parameter,
before checking the slave status.methodName
- the name of the method to invoke.IllegalStateException
for the error.@Message(id=10967, value="Must call %s before persisting the domain model") IllegalStateException mustInvokeBeforePersisting(String methodName)
methodName
parameter,
before persisting the domain model.methodName
- the name of the method to invoke.IllegalStateException
for the error.@Message(id=10968, value="No channel for host %s") IllegalArgumentException noChannelForHost(String hostName)
hostName
- the name of the host.IllegalArgumentException
for the error.@Message(id=10969, value="A host connecting to a remote domain controller must have its name attribute set") IllegalArgumentException noNameAttributeOnHost()
IllegalArgumentException
for the error.@Message(id=10970, value="No server inventory") IllegalStateException noServerInventory()
IllegalStateException
for the error.@Message(id=10971, value="Property %s already exists") IllegalArgumentException propertyAlreadyExists(String name)
name
- the name of the property.IllegalArgumentException
for the error.@Message(id=10972, value="Property %s does not exist") IllegalArgumentException propertyNotFound(String name)
name
- the name of the property.IllegalArgumentException
for the error.@Message(id=10973, value="Value for property %s is null") IllegalArgumentException propertyValueNull(String name)
null
.name
- the name of the property.IllegalArgumentException
for the error.@Message(id=10974, value="Property %s has a null value") IllegalStateException propertyValueHasNullValue(String name)
null
value.name
- the name of the property.IllegalStateException
for the error.@Message(id=10975, value="%s is null") IllegalArgumentException nullVar(String name)
null
.name
- the name of the variable.IllegalArgumentException
for the error.@Message(id=10976, value="There is already a registered server named \'%s\'") IllegalArgumentException serverNameAlreadyRegistered(String serverName)
serverName
parameter.serverName
- the name of the server.IllegalArgumentException
for the error.@Message(id=10977, value="Server (%s) still running") String serverStillRunning(String name)
name
parameter, is still running.name
- the name of the server.@Message(id=10978, value="Unable to generate hash") SaslException unableToGenerateHash(@Cause Throwable cause)
cause
- the cause of the error.SaslException
for the error.@Message(id=10979, value="Unable to load properties from URL %s") String unableToLoadProperties(URL url)
url
- the URL.@Message(id=10980, value="Undefined socket binding group for server %s") IllegalArgumentException undefinedSocketBinding(String serverName)
serverName
- the name of the server.IllegalArgumentException
for the exception.@Message(id=10981, value="Included socket binding group %s is not defined") IllegalStateException undefinedSocketBindingGroup(String name)
name
- the name of the group.IllegalStateException
for the exception.@Message(id=10982, value="Unexpected state %s") IllegalStateException unexpectedState(ServerState state)
state
- the unexpected state.IllegalStateException
for the error.@Message(id=10983, value="Unknown %s %s") IllegalArgumentException unknown(String name, Object value)
value
for the name
is unknown.name
- the name.value
- the value.IllegalArgumentException
for the error.@Message(id=10984, value="Value for %s is not a known host -- %s") String unknownHostValue(String name, Object value)
name
- the name of the option.value
- the value.@Message(id=10985, value="unrecognized type %s") IOException unrecognizedType(byte type)
type
- the unrecognized type.IOException
for the error.@Message(id=10986, value="Host-Controller is already shutdown.") IllegalStateException hostAlreadyShutdown()
Exception
for the error@Message(id=10987, value="No server-group called: %s") OperationFailedException noServerGroupCalled(String groupName)
groupName
- the group nameOperationFailedException
for the error.@Message(id=10988, value="No socket-binding-group called: %s") OperationFailedException noSocketBindingGroupCalled(String groupName)
groupName
- the socket binding group nameOperationFailedException
for the error.@Message(id=10989, value="HostControllerEnvironment does not support system property updates") UnsupportedOperationException hostControllerSystemPropertyUpdateNotSupported()
@Message(id=10990, value="Resources of type %s cannot be ignored") OperationFailedException cannotIgnoreTypeHost(String type)
@Message(id=10991, value="An \'%s\' element whose \'%s\' attribute is has already been found") XMLStreamException duplicateIgnoredResourceType(String element, String value, @Param Location location)
@Message(id=10992, value="The JVM input arguments cannot be accessed so system properties passed directly to this Host Controller JVM will not be passed through to server processes. Cause of the problem: %s") String cannotAccessJvmInputArgument(Exception cause)
@Message(id=10993, value="Missing configuration value for: %s") IllegalStateException missingHomeDirConfiguration(String propertyName)
@Message(id=10994, value="Home directory does not exist: %s") IllegalStateException homeDirectoryDoesNotExist(File f)
@Message(id=15848, value="Determined modules directory does not exist: %s") IllegalStateException modulesDirectoryDoesNotExist(File f)
@Message(id=15849, value="Domain base directory does not exist: %s") IllegalStateException domainBaseDirectoryDoesNotExist(File f)
@Message(id=15850, value="Domain base directory is not a directory: %s") IllegalStateException domainBaseDirectoryIsNotADirectory(File file)
@Message(id=15851, value="Configuration directory does not exist: %s") IllegalStateException configDirectoryDoesNotExist(File f)
@Message(id=15852, value="Domain data directory is not a directory: %s") IllegalStateException domainDataDirectoryIsNotDirectory(File file)
@Message(id=15853, value="Could not create domain data directory: %s") IllegalStateException couldNotCreateDomainDataDirectory(File file)
@Message(id=15854, value="Domain content directory is not a directory: %s") IllegalStateException domainContentDirectoryIsNotDirectory(File file)
@Message(id=15855, value="Could not create domain content directory: %s") IllegalStateException couldNotCreateDomainContentDirectory(File file)
@Message(id=15856, value="Log directory is not a directory: %s") IllegalStateException logDirectoryIsNotADirectory(File f)
@Message(id=15857, value="Could not create log directory: %s") IllegalStateException couldNotCreateLogDirectory(File f)
@Message(id=15858, value="Servers directory is not a directory: %s") IllegalStateException serversDirectoryIsNotADirectory(File f)
@Message(id=15859, value="Could not create servers directory: %s") IllegalStateException couldNotCreateServersDirectory(File f)
@Message(id=15860, value="Domain temp directory does not exist: %s") IllegalStateException domainTempDirectoryIsNotADirectory(File file)
@Message(id=15861, value="Could not create domain temp directory: %s") IllegalStateException couldNotCreateDomainTempDirectory(File file)
@Message(id=15862, value="Unable to connect due to SSL failure.") IllegalStateException sslFailureUnableToConnect(@Cause Throwable cause)
cause
- the cause of the error.IllegalStateException
for the error.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.