@MessageBundle(projectCode="JBAS")
public interface DomainControllerMessages
Modifier and Type | Field and Description |
---|---|
static DomainControllerMessages |
MESSAGES
The messages.
|
Modifier and Type | Method and Description |
---|---|
String |
adminOnlyModeCannotAcceptSlaves(RunningMode runningMode)
Creates an exception message indicating this host is in admin mode and cannot accept registrations from other
slaves.
|
String |
as7431()
A message indicating that only 1 piece of content is currently supported.
|
String |
cannotRemoveDeploymentInUse(String name,
List<String> groups)
A message indicating the deployment cannot be removed from the domain as it is still used by the server groups.
|
String |
cannotUseSameValueForParameters(String opName,
String param1,
String param2,
String redeployOpName,
String replaceOpName)
A message indicating the operation, represented by the
opName parameter, cannot be used with the same
value for the parameters represented by param1 and param2 . |
OperationFailedException |
caughtExceptionStoringDeploymentContent(String exceptionName,
Throwable exception)
An exception indicating an exception was caught storing the deployment content.
|
String |
deploymentAlreadyStarted(String name)
A message indicating the deployment is already started.
|
IllegalStateException |
deploymentHashNotFoundInRepository(String hash)
Creates an exception indicating the hash does not refer to any deployment.
|
String |
errorObtainingUrlStream(String url,
String message)
A message indicating an error occurred obtaining the input stream from the URL.
|
String |
exceptionAwaitingResultFromHost(String name,
String message)
A message indicating an exception occurred getting the result from the host.
|
String |
exceptionAwaitingResultFromServer(ServerIdentity server,
String message)
A message indicating an exception occurred getting the result from the server.
|
IllegalStateException |
expectedOnlyOneDeployment(int i)
Creates an exception indicating an unexpected number of deployments.
|
String |
inSeriesIsMissingGroups(String rolloutPlan)
Creates an exception message indicating that in-series is missing groups.
|
String |
interruptedAwaitingResultFromHost(String name)
A message indicating an interruption waiting for the result from host.
|
String |
interruptedAwaitingResultFromServer(ServerIdentity server)
A message indicating an interruption waiting for the result from the server.
|
String |
invalidByteStream()
A message indicating the byte stream is invalid.
|
IllegalArgumentException |
invalidCode(int code)
Creates an exception indicating the code is invalid.
|
String |
invalidContentDeclaration()
A message indicating an invalid content declaration.
|
OperationFailedException |
invalidOperationTargetHost(String name)
An exception indicating the operation targets a host, but the host is not registered.
|
String |
invalidRolloutPlan(org.jboss.dmr.ModelNode modelNode,
String nodeName)
A message indicating an invalid rollout plan.
|
String |
invalidRolloutPlan(Set<String> groups)
A message indicating an invalid rollout plan.
|
String |
invalidRolloutPlanGroupAlreadyExists(String group)
A message indicating an invalid rollout plan.
|
String |
invalidRolloutPlanLess(String name,
String propertyName,
int value)
A message indicating an invalid rollout plan.
|
String |
invalidRolloutPlanRange(String name,
String propertyName,
int value)
A message indicating an invalid rollout plan.
|
String |
invalidUrl(String url,
String message)
A message indicating the url is not valid.
|
String |
invalidUrlStream()
A message indicating the url stream is invalid.
|
String |
invalidValue(String name,
int value,
int maxIndex)
A message indicating the
name has an invalid value. |
String |
masterDomainControllerOnlyOperation(String operation,
PathAddress address)
A message indicating the operation, represented by the
operation parameter, for the address can
only be handled by the master domain controller and this host is not the master domain controller. |
String |
noDeploymentContentWithHash(String hash)
A message indicating no deployment content with the hash is available in the deployment content repository.
|
String |
noDeploymentContentWithHashAtBoot(String contentHash,
String deploymentName)
Error message indicating the content for a configured deployment was unavailable at boot, which is a fatal error.
|
String |
noDeploymentContentWithName(String name)
A message indicating no deployment content with the name was found.
|
String |
noHandlerForOperation(String operationName,
PathAddress address)
A message indicating there is no handler for the operation at the address.
|
OperationFailedException |
noProfileCalled(String profile)
Creates an exception indicating no profile could be found with the given name
|
String |
nullStream(int index)
A message indicating the stream is
null at the index. |
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable is
null . |
String |
operationFailedOrRolledBack()
A message indicating the operation failed or was rolled back on all servers.
|
String |
requiredChildIsMissing(String parent,
String child,
String parentSpec)
Creates an exception message indicating that a parent is missing a required child.
|
String |
serverGroupExpectsSingleChild(String rolloutPlan)
Creates an exception message indicating that server-group expects one and only one child.
|
String |
slaveAlreadyRegistered(String slaveName)
Creates an exception message indicating a host cannot register because another host of the same name is already
registered.
|
String |
slaveCannotAcceptUploads()
A message indicating a slave domain controller cannot accept deployment content uploads.
|
String |
slaveControllerCannotAcceptOtherSlaves()
Creates an exception message indicating this host is a slave and cannot accept registrations from other slaves.
|
IllegalStateException |
unexpectedInitialPathKey(String key)
Creates an exception indicating an unexpected initial path key.
|
String |
unexpectedInSeriesGroup(String rolloutPlan)
Creates an exception message indicating that one of the groups in rollout plan does not define neither
server-group nor concurrent-groups.
|
String |
unexplainedFailure()
A message indicating an unexplained failure.
|
String |
unknown(String name,
String value)
A message indicating the
value for the name is unknown. |
IllegalStateException |
unknownServer(ServerIdentity server)
Creates an exception indicating the server is unknown.
|
IllegalStateException |
unknownServerGroup(String serverGroup)
Creates an exception indicating the server group is unknown.
|
String |
unrecognizedChildren(String parent,
String children,
String parentSpec)
Creates an exception message indicating that a parent recognizes only the specified children.
|
static final DomainControllerMessages MESSAGES
@Message(id=10830, value="Registration of remote hosts is not supported on slave host controllers") String slaveControllerCannotAcceptOtherSlaves()
@Message(id=10831, value="The master host controller cannot register slave host controllers as it\'s current running mode is \'%s\'") String adminOnlyModeCannotAcceptSlaves(RunningMode runningMode)
runningMode
- the host controller's current running mode@Message(id=10832, value="There is already a registered host named \'%s\'") String slaveAlreadyRegistered(String slaveName)
slaveName
- the name of the slave@Message(id=10833, value="%s is missing %s: %s") String requiredChildIsMissing(String parent, String child, String parentSpec)
parent
- the name of the parent elementchild
- the name of the missing child elementparentSpec
- the complete string representation of the parent element@Message(id=10834, value="%s recognizes only %s as children: %s") String unrecognizedChildren(String parent, String children, String parentSpec)
parent
- the name of the parent elementchildren
- recognized childrenparentSpec
- the complete string representation of the parent element@Message(id=10835, value="in-series is missing groups: %s") String inSeriesIsMissingGroups(String rolloutPlan)
rolloutPlan
- string representation of a rollout plan@Message(id=10836, value="server-group expects one and only one child: %s") String serverGroupExpectsSingleChild(String rolloutPlan)
rolloutPlan
- string representation of a rollout plan@Message(id=10837, value="One of the groups does not define neither server-group nor concurrent-groups: %s") String unexpectedInSeriesGroup(String rolloutPlan)
rolloutPlan
- string representation of a rollout plan@Message(id=10838, value="Unexplained failure") String unexplainedFailure()
@Message(id=10839, value="Operation failed or was rolled back on all servers.") String operationFailedOrRolledBack()
@Message(id=10840, value="Interrupted waiting for result from server %s") String interruptedAwaitingResultFromServer(ServerIdentity server)
server
- the server.@Message(id=10841, value="Exception getting result from server %s: %s") String exceptionAwaitingResultFromServer(ServerIdentity server, String message)
server
- the server.message
- the error message.@Message(id=10842, value="Invalid rollout plan. %s is not a valid child of node %s") String invalidRolloutPlan(org.jboss.dmr.ModelNode modelNode, String nodeName)
modelNode
is not a valid child of the node represented
by the nodeName
parameter.modelNode
- the model node.nodeName
- the name of the node.@Message(id=10843, value="Invalid rollout plan. Plan operations affect server groups %s that are not reflected in the rollout plan") String invalidRolloutPlan(Set<String> groups)
groups
parameter that are not reflected in the rollout plan.groups
- the server groups that are not reflected in the rollout plan.@Message(id=10844, value="Invalid rollout plan. Server group %s appears more than once in the plan.") String invalidRolloutPlanGroupAlreadyExists(String group)
group
parameter,
appears more than once in the plan.group
- the server group that appears more than once.@Message(id=10845, value="Invalid rollout plan. Server group %s has a %s value of %s; must be between 0 and 100.") String invalidRolloutPlanRange(String name, String propertyName, int value)
name
parameter, has an
invalid value and must be between 0 and 100.name
- the name of the group.propertyName
- the name of the property.value
- the invalid value.@Message(id=10846, value="Invalid rollout plan. Server group %s has a %s value of %s; cannot be less than 0.") String invalidRolloutPlanLess(String name, String propertyName, int value)
name
parameter, has an
invalid value and cannot be less than 0.name
- the name of the group.propertyName
- the name of the property.value
- the invalid value.@Message(id=10847, value="Interrupted waiting for result from host %s") String interruptedAwaitingResultFromHost(String name)
name
- the name of the host.@Message(id=10848, value="Exception getting result from host %s: %s") String exceptionAwaitingResultFromHost(String name, String message)
name
- the name of the host.message
- the error message.@Message(id=10849, value="Operation %s for address %s can only be handled by the master Domain Controller; this host is not the master Domain Controller") String masterDomainControllerOnlyOperation(String operation, PathAddress address)
operation
parameter, for the address
can
only be handled by the master domain controller and this host is not the master domain controller.operation
- the operation.address
- the address the operation was to be executed on.@Message(id=10850, value="No handler for operation %s at address %s") String noHandlerForOperation(String operationName, PathAddress address)
operationName
- the operation nameaddress
- the address the operation was to be executed on.@Message(id=10851, value="Operation targets host %s but that host is not registered") OperationFailedException invalidOperationTargetHost(String name)
name
- the name of the host.@Message(id=10852, value="Caught %s storing deployment content -- %s") OperationFailedException caughtExceptionStoringDeploymentContent(String exceptionName, Throwable exception)
exceptionName
- the name of the caught exception.exception
- the exception.@Message(id=10853, value="Unexpected initial path key %s") IllegalStateException unexpectedInitialPathKey(String key)
key
- the unexpected key.IllegalStateException
for the error.@Message(id=10854, value="Null stream at index %d") String nullStream(int index)
null
at the index.index
- the index.@Message(id=10855, value="Invalid byte stream.") String invalidByteStream()
@Message(id=10856, value="Invalid url stream.") String invalidUrlStream()
@Message(id=10857, value="Only 1 piece of content is currently supported (AS7-431)") String as7431()
@Message(id=10858, value="No deployment content with hash %s is available in the deployment content repository.") String noDeploymentContentWithHash(String hash)
hash
- the hash.@Message(id=10859, value="A slave domain controller cannot accept deployment content uploads") String slaveCannotAcceptUploads()
@Message(id=10860, value="No deployment with name %s found") String noDeploymentContentWithName(String name)
name
- the name of the deployment.@Message(id=10861, value="Cannot remove deployment %s from the domain as it is still used by server groups %s") String cannotRemoveDeploymentInUse(String name, List<String> groups)
name
- the name of the deployment.groups
- the server groups using the deployment.@Message(id=10862, value="Invalid \'%s\' value: %d, the maximum index is %d") String invalidValue(String name, int value, int maxIndex)
name
has an invalid value.name
- the name of the attribute.value
- the invalid value.maxIndex
- the maximum index.@Message(id=10863, value="%s is not a valid URL -- %s") String invalidUrl(String url, String message)
url
- the invalid url.message
- an error message.@Message(id=10864, value="Error obtaining input stream from URL %s -- %s") String errorObtainingUrlStream(String url, String message)
url
- the invalid url.message
- an error message.@Message(id=10865, value="Invalid content declaration") String invalidContentDeclaration()
@Message(id=10866, value="%s is null") IllegalArgumentException nullVar(String name)
null
.name
- the name of the variable.IllegalArgumentException
for the error.@Message(id=10867, value="Cannot use %s with the same value for parameters %s and %s. Use %s to redeploy the same content or %s to replace content with a new version with the same name.") String cannotUseSameValueForParameters(String opName, String param1, String param2, String redeployOpName, String replaceOpName)
opName
parameter, cannot be used with the same
value for the parameters represented by param1
and param2
.opName
- the operation name.param1
- the first parameter.param2
- the second parameter.redeployOpName
- the redeploy operation name.replaceOpName
- the replace operation name.@Message(id=10868, value="Deployment %s is already started") String deploymentAlreadyStarted(String name)
name
- the name of the deployment.@Message(id=10869, value="Unknown %s %s") String unknown(String name, String value)
value
for the name
is unknown.name
- the name.value
- the value.@Message(id=10870, value="Unknown server group %s") IllegalStateException unknownServerGroup(String serverGroup)
serverGroup
- the unknown server group.IllegalStateException
for the error.@Message(id=10871, value="Unknown server %s") IllegalStateException unknownServer(ServerIdentity server)
server
- the unknown serve.IllegalStateException
for the error.@Message(id=10872, value="Invalid code %d") IllegalArgumentException invalidCode(int code)
code
- the invalid code.IllegalArgumentException
for the error.@Message(id=15873, value="Repository does not contain any deployment with hash %s") IllegalStateException deploymentHashNotFoundInRepository(String hash)
hash
- the invalid hash.IllegalArgumentException
for the error.@Message(id=15874, value="Expected only one deployment, found %d") IllegalStateException expectedOnlyOneDeployment(int i)
i
- number of deployments foundIllegalStateException
for the error.@Message(id=10875, value="No profile called: %s") OperationFailedException noProfileCalled(String profile)
profile
- the profile nameOperationFailedException
for the error.@Message(id=10876, value="No deployment content with hash %s is available in the deployment content repository for deployment \'%s\'. This is a fatal boot error. To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it from the configuration, or remove the deployment from the xml configuraiton file and restart.") String noDeploymentContentWithHashAtBoot(String contentHash, String deploymentName)
contentHash
- the content hash that could not be found.deploymentName
- the deployment name.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.