Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * JBoss, Home of Professional Open Source.
   * Copyright 2011, Red Hat, Inc., and individual contributors
   * as indicated by the @author tags. See the copyright.txt file in the
   * distribution for a full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
  * the License, or (at your option) any later version.
  *
  * This software is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this software; if not, write to the Free
  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  */
 
 package org.jboss.as.domain.controller;
 
 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.CONCURRENT_GROUPS;
 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.IN_SERIES;
 import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.SERVER_GROUP;
 
 import java.util.List;
 import java.util.Set;
 
This module is using message IDs in the range 10800-10899. This file is using the subset 10830-10899 for domain controller non-logger messages. See http://community.jboss.org/docs/DOC-16810 for the full list of currently reserved JBAS message id blocks.

Date: 05.11.2011

Author(s):
James R. Perkins
 
 @MessageBundle(projectCode = "JBAS")
 public interface DomainControllerMessages {

    
The messages.
 
Creates an exception message indicating this host is a slave and cannot accept registrations from other slaves.

Returns:
a message for the error.
 
     @Message(id = 10830, value = "Registration of remote hosts is not supported on slave host controllers")
Creates an exception message indicating this host is in admin mode and cannot accept registrations from other slaves.

Parameters:
runningMode the host controller's current running mode
Returns:
a message for the error.
 
     @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);

    
Creates an exception message indicating a host cannot register because another host of the same name is already registered.

Parameters:
slaveName the name of the slave
Returns:
a message for the error.
 
     @Message(id = 10832, value = "There is already a registered host named '%s'")
     String slaveAlreadyRegistered(String slaveName);

    
Creates an exception message indicating that a parent is missing a required child.

Parameters:
parent the name of the parent element
child the name of the missing child element
parentSpec the complete string representation of the parent element
Returns:
the error message
 
    @Message(id = 10833, value = "%s is missing %s: %s")
    String requiredChildIsMissing(String parentString childString parentSpec);

    
Creates an exception message indicating that a parent recognizes only the specified children.

Parameters:
parent the name of the parent element
children recognized children
parentSpec the complete string representation of the parent element
Returns:
the error message
    @Message(id = 10834, value = "%s recognizes only %s as children: %s")
    String unrecognizedChildren(String parentString childrenString parentSpec);

    
Creates an exception message indicating that in-series is missing groups.

Parameters:
rolloutPlan string representation of a rollout plan
Returns:
the error message
    @Message(id = 10835, value =  + " is missing groups: %s")
    String inSeriesIsMissingGroups(String rolloutPlan);

    
Creates an exception message indicating that server-group expects one and only one child.

Parameters:
rolloutPlan string representation of a rollout plan
Returns:
the error message
    @Message(id = 10836, value =  + " expects one and only one child: %s")
    String serverGroupExpectsSingleChild(String rolloutPlan);

    
Creates an exception message indicating that one of the groups in rollout plan does not define neither server-group nor concurrent-groups.

Parameters:
rolloutPlan string representation of a rollout plan
Returns:
the error message
    @Message(id = 10837, value = "One of the groups does not define neither " +  + " nor " +  + ": %s")
    String unexpectedInSeriesGroup(String rolloutPlan);

    
A message indicating an unexplained failure.

Returns:
the message.
    @Message(id = 10838, value = "Unexplained failure")
    String unexplainedFailure();

    
A message indicating the operation failed or was rolled back on all servers.

Returns:
the message.
    @Message(id = 10839, value = "Operation failed or was rolled back on all servers.")
A message indicating an interruption waiting for the result from the server.

Parameters:
server the server.
Returns:
the message.
    @Message(id = 10840, value = "Interrupted waiting for result from server %s")
A message indicating an exception occurred getting the result from the server.

Parameters:
server the server.
message the error message.
Returns:
the message.
    @Message(id = 10841, value = "Exception getting result from server %s: %s")
A message indicating an invalid rollout plan. The modelNode is not a valid child of the node represented by the nodeName parameter.

Parameters:
modelNode the model node.
nodeName the name of the node.
Returns:
the message.
    @Message(id = 10842, value = "Invalid rollout plan. %s is not a valid child of node %s")
    String invalidRolloutPlan(ModelNode modelNodeString nodeName);

    
A message indicating an invalid rollout plan. The plan operations affect server the server groups represented by the server groups parameter that are not reflected in the rollout plan.

Parameters:
groups the server groups that are not reflected in the rollout plan.
Returns:
the message.
    @Message(id = 10843, value = "Invalid rollout plan. Plan operations affect server groups %s that are not reflected in the rollout plan")
    String invalidRolloutPlan(Set<Stringgroups);

    
A message indicating an invalid rollout plan. The server group, represented by the group parameter, appears more than once in the plan.

Parameters:
group the server group that appears more than once.
Returns:
the message.
    @Message(id = 10844, value = "Invalid rollout plan. Server group %s appears more than once in the plan.")
A message indicating an invalid rollout plan. The server group, represented by the name parameter, has an invalid value and must be between 0 and 100.

Parameters:
name the name of the group.
propertyName the name of the property.
value the invalid value.
Returns:
the message.
    @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 nameString propertyNameint value);

    
A message indicating an invalid rollout plan. The server group, represented by the name parameter, has an invalid value and cannot be less than 0.

Parameters:
name the name of the group.
propertyName the name of the property.
value the invalid value.
Returns:
the message.
    @Message(id = 10846, value = "Invalid rollout plan. Server group %s has a %s value of %s; cannot be less than 0.")
    String invalidRolloutPlanLess(String nameString propertyNameint value);

    
A message indicating an interruption waiting for the result from host.

Parameters:
name the name of the host.
Returns:
the message.
    @Message(id = 10847, value = "Interrupted waiting for result from host %s")
A message indicating an exception occurred getting the result from the host.

Parameters:
name the name of the host.
message the error message.
Returns:
the message.
    @Message(id = 10848, value = "Exception getting result from host %s: %s")
    String exceptionAwaitingResultFromHost(String nameString message);

    
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.

Parameters:
operation the operation.
address the address the operation was to be executed on.
Returns:
the 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 operationPathAddress address);

    
A message indicating there is no handler for the operation at the address.

    @Deprecated
    @Message(id = 10850, value = "No handler for operation %s at address %s")
    String noHandlerForOperation(String operationNamePathAddress address);

    
An exception indicating the operation targets a host, but the host is not registered.

Parameters:
name the name of the host.
Returns:
the exception.
    @Message(id = 10851, value = "Operation targets host %s but that host is not registered")
An exception indicating an exception was caught storing the deployment content.

Parameters:
exceptionName the name of the caught exception.
exception the exception.
Returns:
the exception.
    @Message(id = 10852, value = "Caught %s storing deployment content -- %s")
Creates an exception indicating an unexpected initial path key.

Parameters:
key the unexpected key.
Returns:
an java.lang.IllegalStateException for the error.
    @Message(id = 10853, value = "Unexpected initial path key %s")
A message indicating the stream is null at the index.

Parameters:
index the index.
Returns:
the message.
    @Message(id = 10854, value = "Null stream at index %d")
    String nullStream(int index);

    
A message indicating the byte stream is invalid.

Returns:
the message.
    @Message(id = 10855, value = "Invalid byte stream.")
    String invalidByteStream();

    
A message indicating the url stream is invalid.

Returns:
the message.
    @Message(id = 10856, value = "Invalid url stream.")
    String invalidUrlStream();

    
A message indicating that only 1 piece of content is currently supported. See JBAS-9020.

Returns:
the message.
    @Message(id = 10857, value = "Only 1 piece of content is currently supported (AS7-431)")
    String as7431();

    
A message indicating no deployment content with the hash is available in the deployment content repository.

Parameters:
hash the hash.
Returns:
the message.
    @Message(id = 10858, value = "No deployment content with hash %s is available in the deployment content repository.")
A message indicating a slave domain controller cannot accept deployment content uploads.

Returns:
the message.
    @Message(id = 10859, value = "A slave domain controller cannot accept deployment content uploads")
A message indicating no deployment content with the name was found.

Parameters:
name the name of the deployment.
Returns:
the message.
    @Message(id = 10860, value = "No deployment with name %s found")
A message indicating the deployment cannot be removed from the domain as it is still used by the server groups.

Parameters:
name the name of the deployment.
groups the server groups using the deployment.
Returns:
the message.
    @Message(id = 10861, value = "Cannot remove deployment %s from the domain as it is still used by server groups %s")
    String cannotRemoveDeploymentInUse(String nameList<Stringgroups);

    
A message indicating the name has an invalid value.

Parameters:
name the name of the attribute.
value the invalid value.
maxIndex the maximum index.
Returns:
the message.
    @Message(id = 10862, value = "Invalid '%s' value: %d, the maximum index is %d")
    String invalidValue(String nameint valueint maxIndex);

    
A message indicating the url is not valid.

Parameters:
url the invalid url.
message an error message.
Returns:
the message.
    @Message(id = 10863, value = "%s is not a valid URL -- %s")
    String invalidUrl(String urlString message);

    
A message indicating an error occurred obtaining the input stream from the URL.

Parameters:
url the invalid url.
message an error message.
Returns:
the message.
    @Message(id = 10864, value = "Error obtaining input stream from URL %s -- %s")
    String errorObtainingUrlStream(String urlString message);

    
A message indicating an invalid content declaration.

Returns:
the message.
    @Message(id = 10865, value = "Invalid content declaration")
Creates an exception indicating the variable is null.

Parameters:
name the name of the variable.
Returns:
an java.lang.IllegalArgumentException for the error.
    @Message(id = 10866, value = "%s is null")
    IllegalArgumentException nullVar(String name);

    
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.

Parameters:
opName the operation name.
param1 the first parameter.
param2 the second parameter.
redeployOpName the redeploy operation name.
replaceOpName the replace operation name.
Returns:
the message.
    @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 opNameString param1String param2String redeployOpNameString replaceOpName);

    
A message indicating the deployment is already started.

Parameters:
name the name of the deployment.
Returns:
the message.
    @Message(id = 10868, value = "Deployment %s is already started")
    String deploymentAlreadyStarted(String name);

    
A message indicating the value for the name is unknown.

Parameters:
name the name.
value the value.
Returns:
the message.
    @Message(id = 10869, value = "Unknown %s %s")
    String unknown(String nameString value);

    
Creates an exception indicating the server group is unknown.

Parameters:
serverGroup the unknown server group.
Returns:
an java.lang.IllegalStateException for the error.
    @Message(id = 10870, value = "Unknown server group %s")
    IllegalStateException unknownServerGroup(String serverGroup);

    
Creates an exception indicating the server is unknown.

Parameters:
server the unknown serve.
Returns:
an java.lang.IllegalStateException for the error.
    @Message(id = 10871, value = "Unknown server %s")
Creates an exception indicating the code is invalid.

Parameters:
code the invalid code.
Returns:
an java.lang.IllegalArgumentException for the error.
    @Message(id = 10872, value = "Invalid code %d")
    IllegalArgumentException invalidCode(int code);

    
Creates an exception indicating the hash does not refer to any deployment.

Parameters:
hash the invalid hash.
Returns:
an java.lang.IllegalArgumentException for the error.
    @Message(id = 10873, value = "Repository does not contain any deployment with hash %s")
Creates an exception indicating an unexpected number of deployments.

Parameters:
i number of deployments found
Returns:
an java.lang.IllegalStateException for the error.
    @Message(id = 10874, value = "Expected only one deployment, found %d")
Creates an exception indicating no profile could be found with the given name

Parameters:
profile the profile name
Returns:
an org.jboss.as.controller.OperationFailedException for the error.
    @Message(id = 10875, value = "No profile called: %s")
Error message indicating the content for a configured deployment was unavailable at boot, which is a fatal error.

Parameters:
contentHash the content hash that could not be found.
deploymentName the deployment name.
Returns:
the error message
    @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 contentHashString deploymentName);
    @Message(id = 10877, value = "Failed to load module '%s'.")
Warning messages when a transformer detects that the JSF subsystem uses a non-default value to setup on a legacy host controller.

Parameters:
slot the non-default value of the slot attribute
Returns:
the message
    @Message(id = 10878, value = "Invalid JSF slot value: '%s'. The host controller is not able to use a JSF slot value different from its default. This resource will be ignored on that host")
    String invalidJSFSlotValue(String slot);

    
Warning messages when a transformer detects that an operation defines unknown attributes for a legacy subsystem.

Parameters:
attributes the name of the attributes unknown from the legacy version
Returns:
the message
    @Message(id = 10879, value = "Operation '%s' fails because the attributes are not known from the subsytem '%s' model version '%s': %s")
    String unknownAttributesFromSubsystemVersion(String operationNameString subsystemNameModelVersion versionCollection<Stringattributes);
    @Message(id = 10880, value = "No socket-binding-group named: %s")
    @Message(id = 10881, value = "There is already a deployment called %s with the same runtime name %s on server group %s")
    OperationFailedException runtimeNameMustBeUnique(String existingDeploymentString runtimeNameString serverGroup);
    @Message(id = 10882, value = "Cannot remove server-group '%s' since it's still in use by servers %s")
    @Message(id = 10883, value = "Wildcard operations are not supported as part of composite operations")
New to GrepCode? Check out our FAQ X