@MessageLogger(projectCode="JBAS")
public interface HostControllerLogger
extends org.jboss.logging.BasicLogger
| Modifier and Type | Field and Description |
|---|---|
static HostControllerLogger |
AS_ROOT_LOGGER
A logger with a category of
org.jboss.as |
static HostControllerLogger |
CONTROLLER_MANAGEMENT_LOGGER
A logger with a category of
org.jboss.as.domain.controller.mgmt. |
static HostControllerLogger |
DOMAIN_LOGGER
A logger with a category of
org.jboss.as.domain |
static HostControllerLogger |
ROOT_LOGGER
A logger with a category of the package name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cannotConnect(URI uri,
Exception cause)
Logs a warning message indicating the remote domain controller could not connect.
|
void |
cannotConnectToMaster(Exception e)
Logs an error message indicating this host is a slave and cannot connect to the master host controller.
|
void |
cannotRemoveS3File(Exception e)
Logs an error message indicating that the master host controller could not remove
the S3 file.
|
void |
cannotWriteDomainControllerData(Exception e)
Logs an error message indicating that the master host controller could not write its
data to the S3 file.
|
void |
caughtExceptionDuringBoot(Exception e) |
void |
connectedToMaster(URI uri)
Logs a message indicating that the slave host controller connected with the master HC.
|
void |
creatingHttpManagementService(String interfaceName,
int port,
int securePort)
Logs an informational message indicating the creation of HTTP management server using the network interface.
|
void |
errorRetrievingDomainModel(String hostName,
int port,
String errorMessage)
Logs a warning message indicating an error retrieving domain model from the remote domain controller.
|
void |
existingServerWithState(String serverName,
ServerStatus state)
Logs a warning message indicating the existing server is already defined with a different state.
|
void |
failedDiscoveringMaster(DiscoveryOption option,
Exception e)
Logs a warning message indicating that the slave host controller could not
discover the remote domain controller using the given
DiscoveryOption. |
void |
failedToApplyDomainConfig(Exception e) |
void |
failedToApplyDomainConfig(String outcome,
org.jboss.dmr.ModelNode failureDescription) |
void |
failedToCreateServerProcess(Throwable cause,
String serverName)
Logs an error message indicating a failure to create a server process.
|
void |
failedToSendReconnect(Throwable cause,
String serverName)
Logs an error message indicating a failure to send a reconnect message to the server.
|
void |
failedToStartServer(Throwable cause,
String serverName)
Logs an error message indicating a failure to start the server, represented by the
serverName parameter. |
void |
failedToStopServer(Throwable cause,
String serverName)
Logs an error message indicating a failure to stop the server, represented by the
serverName parameter. |
void |
fetchConfigFromDomainMasterFailed(RunningMode currentRunningMode,
String policyAttribute,
AdminOnlyDomainConfigPolicy policy,
String cachedDcCmdLineArg) |
void |
gracefulManagementChannelHandlerShutdownTimedOut(int timeout)
Logs a warning message indicating graceful shutdown of management request handling of slave HC to master HC
communication did not complete within the given timeout period.
|
void |
gracefulShutdownNotSupported(String serverName)
Logs a warning message indicating graceful shutdown of servers is not supported.
|
void |
ignoringPermGen(JvmType type,
String jvm)
Logs a warning message indicating <permgen> is being ignored.
|
void |
invalidCachedPersisterState() |
void |
invalidRemoteBackupPersisterState() |
void |
lostConnectionToRemoteHost(String hostId) |
void |
lostRemoteDomainConnection()
Logs an error message indicating the connection to the remote host controller closed.
|
void |
masterHostControllerChanged() |
void |
masterHostControllerUnreachable(long timeout) |
void |
noAccessControlConfigurationAvailable(RunningMode currentRunningMode,
String policyAttribute,
AdminOnlyDomainConfigPolicy policy,
String cachedDcCmdLineArg,
RunningMode desiredRunningMode) |
void |
noDiscoveryOptionsLeft()
Logs a warning message indicating that there are no discovery options left.
|
void |
noDomainControllerConfigurationProvided(RunningMode currentRunningMode,
String adminOnlyCmdLineArg,
RunningMode validRunningMode)
Logs an error message indicating this host had no domain controller configuration and cannot start if not in
RunningMode.ADMIN_ONLY mode. |
void |
noSecurityRealmDefined()
Logs a warning message indicating no security realm was defined for the HTTP management service.
|
void |
noServerAvailable(String serverName)
Logs an error message indicating no server with the server name is available.
|
void |
optionAlreadySet(String option,
String jvm,
String element)
Logs a warning message indicating the option for the jvm was already set and is being ignored.
|
void |
reconnectingServer(String serverName)
Logs an informational message indicating the server is being reconnected.
|
void |
reconnectingToMaster() |
void |
registeredAtRemoteHostController()
Informal log message indicating the local host registered at the remote domain controller.
|
void |
registeredRemoteSlaveHost(String hostName,
String productName)
Logs an informational message indicating the host has been registered as a remote slave.
|
void |
registeringServer(String name)
Logs an informational message indicating the server, represented by the
name parameter, is being
registered. |
void |
reportAdminOnlyDomainXmlFailure() |
void |
serverConnected(String name,
org.jboss.remoting3.Channel channel)
Logs an informational message indicating the server, represented by the
name parameter, was registered
using the connection represented by the channel parameter. |
void |
serviceShutdownIncomplete(Throwable cause)
Logs a warning message indicating graceful shutdown of management request handling of slave HC to master HC
communication did not complete.
|
void |
slaveHostControllerChanged(String hostName) |
void |
slaveHostControllerUnreachable(String hostName,
long timeout) |
void |
startingServer(String serverName)
Logs an informational message indicating the server is starting.
|
void |
stoppingServer(String serverName)
Logs an informational message indicating the server is stopping.
|
void |
unexpectedServerState(String serverName,
ServerState expected,
ServerState current)
Logs a warning message indicating the server is not in the expected state.
|
void |
unregisteredAtRemoteHostController()
Informal log message indicating the local host unregistered at the remote domain controller.
|
void |
unregisteredRemoteSlaveHost(String host)
Logs an informational message indicating the host has been unregistered as a remote slave.
|
void |
unregisteringServer(String name)
Logs an informational message indicating the server, represented by the
name parameter, is being
unregistered. |
void |
unsuccessfulBoot() |
void |
usingCachedDC(String configOption,
String cachedXmlFile) |
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnvstatic final HostControllerLogger ROOT_LOGGER
static final HostControllerLogger AS_ROOT_LOGGER
org.jboss.asstatic final HostControllerLogger CONTROLLER_MANAGEMENT_LOGGER
org.jboss.as.domain.controller.mgmt.static final HostControllerLogger DOMAIN_LOGGER
org.jboss.as.domain@LogMessage(level=WARN)
@Message(id=10900,
value="Could not connect to remote domain controller at %s -- %s")
void cannotConnect(URI uri,
Exception cause)
uri - the URI to which the connection attempt was madecause - the cause@LogMessage(level=ERROR)
@Message(id=10901,
value="Could not connect to master. Aborting. Error was: %s")
void cannotConnectToMaster(Exception e)
e - the cause of the error.@LogMessage(level=INFO)
@Message(id=10902,
value="Creating http management service using network interface (%s) port (%d) securePort (%d)")
void creatingHttpManagementService(String interfaceName,
int port,
int securePort)
interfaceName - the interface name.port - the port number.securePort - the secure port number.@LogMessage(level=WARN)
@Message(id=10903,
value="Error retrieving domain model from remote domain controller %s:%d: %s")
void errorRetrievingDomainModel(String hostName,
int port,
String errorMessage)
hostName - the name of the host.port - the port number.errorMessage - the error message.@LogMessage(level=WARN)
@Message(id=10904,
value="Existing server [%s] with status: %s")
void existingServerWithState(String serverName,
ServerStatus state)
serverName - the name of the server.state - the current state.@LogMessage(level=ERROR)
@Message(id=10905,
value="Failed to create server process %s")
void failedToCreateServerProcess(@Cause
Throwable cause,
String serverName)
cause - the cause of the error.serverName - the server name that failed.@LogMessage(level=ERROR)
@Message(id=10906,
value="Failed to send reconnect message to server %s")
void failedToSendReconnect(@Cause
Throwable cause,
String serverName)
cause - the cause of the error.serverName - the server name.@LogMessage(level=ERROR)
@Message(id=10907,
value="Failed to start server (%s)")
void failedToStartServer(@Cause
Throwable cause,
String serverName)
serverName parameter.cause - the cause of the error.serverName - the name of the server.@LogMessage(level=ERROR)
@Message(id=10908,
value="Failed to stop server (%s)")
void failedToStopServer(@Cause
Throwable cause,
String serverName)
serverName parameter.cause - the cause of the error.serverName - the name of the server.@LogMessage(level=WARN)
@Message(id=10909,
value="Graceful shutdown of server %s was requested but is not presently supported. Falling back to rapid shutdown.")
void gracefulShutdownNotSupported(String serverName)
serverName - the name fo the server.@LogMessage(level=WARN)
@Message(id=10910,
value="Ignoring <permgen> for jvm \'%s\' type jvm: %s")
void ignoringPermGen(JvmType type,
String jvm)
type - the jvm type.jvm - the jvm.@LogMessage(level=ERROR)
@Message(id=10911,
value="No <domain-controller> configuration was provided and the current running mode (\'%s\') requires access to the Domain Controller host. Startup will be aborted. Use the %s command line argument to start in %s mode if you need to start without a domain controller connection and then use the management tools to configure one.")
void noDomainControllerConfigurationProvided(RunningMode currentRunningMode,
String adminOnlyCmdLineArg,
RunningMode validRunningMode)
RunningMode.ADMIN_ONLY mode.@LogMessage(level=WARN)
@Message(id=10912,
value="No security realm defined for http management service, all access will be unrestricted.")
void noSecurityRealmDefined()
@LogMessage(level=ERROR)
@Message(id=10913,
value="No server called %s available")
void noServerAvailable(String serverName)
serverName - the name of the server.@LogMessage(level=WARN)
@Message(id=10914,
value="Connection to remote host-controller closed.")
void lostRemoteDomainConnection()
@LogMessage(level=WARN)
@Message(id=10915,
value="Ignoring <option value=\"%s\" for jvm \'%s\' since \'%s\' was set")
void optionAlreadySet(String option,
String jvm,
String element)
option - the option.jvm - the jvm.element - the schema element.@LogMessage(level=INFO)
@Message(id=10917,
value="Reconnecting server %s")
void reconnectingServer(String serverName)
serverName - the name of the server.@LogMessage(level=INFO)
@Message(id=10918,
value="Registered remote slave host \"%s\", %s")
void registeredRemoteSlaveHost(String hostName,
String productName)
hostName - the host nameproductName - the product name@LogMessage(level=INFO)
@Message(id=10919,
value="Registering server %s")
void registeringServer(String name)
name parameter, is being
registered.name - the name of the server.@LogMessage(level=INFO)
@Message(id=10920,
value="Server [%s] connected using connection [%s]")
void serverConnected(String name,
org.jboss.remoting3.Channel channel)
name parameter, was registered
using the connection represented by the channel parameter.name - the name of the server.channel - the channel used to register the connection.@LogMessage(level=WARN)
@Message(id=10921,
value="Graceful shutdown of the handler used for messages from other Host Controllers did not cleanly complete but shutdown of the underlying communication channel is proceeding")
void serviceShutdownIncomplete(@Cause
Throwable cause)
cause - the cause of the error.@LogMessage(level=INFO)
@Message(id=10922,
value="Starting server %s")
void startingServer(String serverName)
serverName - the name of the server that is starting.@LogMessage(level=INFO)
@Message(id=10923,
value="Stopping server %s")
void stoppingServer(String serverName)
serverName - the name of the server.@LogMessage(level=WARN)
@Message(id=10924,
value="Server %s is not in the expected %s state: %s")
void unexpectedServerState(String serverName,
ServerState expected,
ServerState current)
serverName - the name of the server.expected - the expected state.current - the current state.@LogMessage(level=INFO)
@Message(id=10925,
value="Unregistered remote slave host \"%s\"")
void unregisteredRemoteSlaveHost(String host)
host - the host.@LogMessage(level=INFO)
@Message(id=10926,
value="Unregistering server %s")
void unregisteringServer(String name)
name parameter, is being
unregistered.name - the name of the server.@LogMessage(level=INFO)
@Message(id=10927,
value="Registered at domain controller")
void registeredAtRemoteHostController()
@LogMessage(level=INFO)
@Message(id=10928,
value="Unregistered at domain controller")
void unregisteredAtRemoteHostController()
@LogMessage(level=WARN)
@Message(id=10929,
value="Connection to remote host \"%s\" closed unexpectedly")
void lostConnectionToRemoteHost(String hostId)
@LogMessage(level=WARN)
@Message(id=10930,
value="Cannot load the domain model using using --backup")
void invalidRemoteBackupPersisterState()
@LogMessage(level=WARN)
@Message(id=10931,
value="Cannot store the domain model using using --cached-dc")
void invalidCachedPersisterState()
@LogMessage(level=ERROR)
@Message(id=10932,
value="Caught exception during boot")
void caughtExceptionDuringBoot(@Cause
Exception e)
@LogMessage(level=FATAL)
@Message(id=10933,
value="Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.")
void unsuccessfulBoot()
@LogMessage(level=ERROR)
@Message(id=10934,
value="Installation of the domain-wide configuration has failed. Because the running mode of this Host Controller is ADMIN_ONLY boot has been allowed to proceed. If ADMIN_ONLY mode were not in effect the process would be terminated due to a critical boot failure.")
void reportAdminOnlyDomainXmlFailure()
@LogMessage(level=WARN)
@Message(id=10935,
value="Graceful shutdown of the handler used for messages from other Host Controllers did not complete within [%d] ms but shutdown of the underlying communication channel is proceeding")
void gracefulManagementChannelHandlerShutdownTimedOut(int timeout)
timeout - the timeout, in ms.@LogMessage(level=INFO)
@Message(id=10936,
value="The master host controller has been restarted. Re-registering this slave host controller with the new master.")
void masterHostControllerChanged()
@LogMessage(level=WARN)
@Message(id=10937,
value="The master host controller could not be reached in the last [%d] milliseconds. Re-connecting.")
void masterHostControllerUnreachable(long timeout)
@LogMessage(level=INFO)
@Message(id=10938,
value="The slave host controller \"%s\" has been restarted or is attempting to reconnect. Unregistering the current connection to this slave.")
void slaveHostControllerChanged(String hostName)
@LogMessage(level=WARN)
@Message(id=10939,
value="The slave host controller \"%s\" could not be reached in the last [%d] milliseconds. Unregistering.")
void slaveHostControllerUnreachable(String hostName,
long timeout)
@LogMessage(level=ERROR)
@Message(id=16536,
value="Could not write domain controller data to S3 file. Error was: %s")
void cannotWriteDomainControllerData(Exception e)
e - the cause of the error.@LogMessage(level=ERROR)
@Message(id=16537,
value="Could not remove S3 file. Error was: %s")
void cannotRemoveS3File(Exception e)
e - the cause of the error.@LogMessage(level=ERROR)
@Message(id=16576,
value="Failed to apply domain-wide configuration from master host controller")
void failedToApplyDomainConfig(@Cause
Exception e)
@LogMessage(level=ERROR)
@Message(id=16577,
value="Failed to apply domain-wide configuration from master host controller. Operation outcome: %s. Failure description %s")
void failedToApplyDomainConfig(String outcome,
org.jboss.dmr.ModelNode failureDescription)
@LogMessage(level=ERROR)
@Message(id=16578,
value="The host cannot start because it was started in running mode \'%s\' with no access to a local copy of the domain wide configuration policy, the \'%s\' attribute was set to \'%s\' and the domain wide configuration policy could not be obtained from the Domain Controller host. Startup will be aborted. Use the \'%s\' command line argument to start if you need to start without connecting to a domain controller connection.")
void fetchConfigFromDomainMasterFailed(RunningMode currentRunningMode,
String policyAttribute,
AdminOnlyDomainConfigPolicy policy,
String cachedDcCmdLineArg)
@LogMessage(level=ERROR)
@Message(id=16579,
value="The host cannot start because it was started in running mode \'%s\' with no access to a local copy of the domain wide configuration policy, and the \'%s\' attribute was set to \'%s\'. Startup will be aborted. Use the \'%s\' command line argument to start in running mode \'%s\'.")
void noAccessControlConfigurationAvailable(RunningMode currentRunningMode,
String policyAttribute,
AdminOnlyDomainConfigPolicy policy,
String cachedDcCmdLineArg,
RunningMode desiredRunningMode)
@LogMessage(level=WARN)
@Message(id=16580,
value="Could not discover master using discovery option %s. Error was: %s")
void failedDiscoveringMaster(DiscoveryOption option,
Exception e)
DiscoveryOption.e - the cause of the error.@LogMessage(level=WARN)
@Message(id=16581,
value="No domain controller discovery options remain.")
void noDiscoveryOptionsLeft()
@LogMessage(level=INFO)
@Message(id=16582,
value="Connected to master host controller at %s")
void connectedToMaster(URI uri)
uri - the URI at which the master was reached@LogMessage(level=INFO)
@Message(id=16583,
value="Option %s was set; obtaining domain-wide configuration from %s")
void usingCachedDC(String configOption,
String cachedXmlFile)
@LogMessage(level=INFO)
@Message(id=16584,
value="Trying to reconnect to master host controller.")
void reconnectingToMaster()
Copyright © 2014 JBoss by Red Hat. All rights reserved.