@MessageLogger(projectCode="WFLYDS",
length=4)
public interface DeploymentScannerLogger
extends org.jboss.logging.BasicLogger
Modifier and Type | Field and Description |
---|---|
static DeploymentScannerLogger |
ROOT_LOGGER
A logger with the category of the package name.
|
Modifier and Type | Method and Description |
---|---|
void |
cannotDeleteDeploymentProgressMarker(File file)
Logs a warning message indicating the extraneous deployment marker file could not be removed.
|
RuntimeException |
cannotListDirectoryFiles(File directory) |
void |
cannotRemoveDeploymentMarker(File file)
Logs a warning message indicating the extraneous deployment marker file could not be removed.
|
void |
cannotRemoveDeploymentMarker(String fileName)
Logs a warning message indicating the extraneous deployment marker file could not be removed.
|
String |
cannotRemoveSubsystem()
A message indicating the subsystem cannot be removed while there are still scanners configured.
|
String |
deploymentContentIncomplete(File file,
String suffix)
A message indicating the deployment content, represented by the
file parameter, appears to be incomplete
and is not progressing toward completion. |
void |
deploymentNotFound(String deploymentName)
Logs a warning message indicating the deployment, represented by the
deploymentName parameter, requested
is not present. |
IllegalStateException |
deploymentScannerNotForDomainMode() |
String |
deploymentTimeout(long timeout)
A message indicating the deployment operation was not received with the timeout period.
|
void |
deploymentTriggered(String fileName,
String marker)
Logs a warning message indicating a deployment was triggered.
|
RuntimeException |
deployModelOperationFailed(String msg)
A message indicating DefaultDeploymentOperations.getDeploymentsStatus did not get a usable result
|
IllegalArgumentException |
directoryDoesNotExist(String path)
Creates an exception indicating the directory, represented by the
path parameter, does not exist. |
IllegalArgumentException |
directoryNotWritable(String path)
Creates an exception indicating the directory, represented by the
path parameter, is not writable. |
void |
errorWritingDeploymentMarker(Throwable cause,
String markerFile)
Logs an error message indicating an exception was caught writing a deployment marker file.
|
void |
explodedAutoDeploymentContentWarning(String marker,
String elementName)
Logs a warning message indicating the behaviour is not possible when auto-deployment of exploded content is
enabled.
|
void |
explodedDeploymentContentDeleted(String fileName,
String marker)
Logs a warning message indicating the deployment scanner found that content for an exploded deployment,
represented by the
fileName parameter, has been deleted, but marked for auto-deploy/undeploy for
exploded deployments is not enabled. |
void |
failedCheckingXMLFile(Throwable cause,
String fileName)
Logs an error message indicating a failure checking whether the xml file, represented by the
fileName
parameter, was a complete xml file. |
void |
failedCheckingZipFile(Throwable cause,
String fileName)
Logs an error message indicating a failure checking whether the zip file, represented by the
fileName
parameter, was a complete zip. |
void |
failedStatusSynchronization(Throwable cause,
String deploymentName) |
void |
fileSystemDeploymentFailed(Throwable cause)
Logs an error message indicating the file system deployment service failed.
|
void |
incompleteContent(String name)
Logs an informational message indicating scan found incompletely copied file content for deployment.
|
void |
initialScanFailed(Throwable t) |
void |
invalidExplodedDeploymentDirectory(String fileName,
String deploymentDir)
Logs a warning message indicating the deployment scanner found a directory, represented by the
fileName
parameter, that was not inside a directory with a proper ending name. |
String |
invalidXmlFileFound(String name,
int lineNumber,
int columnNumber)
Logs an informational message indicating scan found an invalid XML file which means either is incompletly copied or just wrong.
|
String |
invalidZip64FileFormat(String fileName)
A message indicating the file, represented by the
fileName parameter, cannot be scanned because it uses
the currently unsupported ZIP64 format. |
String |
invalidZipFileFormat(String fileName)
A message indicating the file, represented by the
fileName parameter, cannot be scanned because it does
not begin with a ZIP file format local file header signature. |
IllegalArgumentException |
notADirectory(String path)
Creates an exception indicating the
path is not a directory. |
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable, represented by the
name parameter, is null . |
String |
previousContentDeployed()
A message indicating a previous version of this content was deployed and remains deployed.
|
void |
reattemptingFailedDeployment(String deploymentName)
Logs an info level message indicating that a failed deployment
deploymentName is being re-attempted. |
void |
scanException(Throwable cause,
String fileName)
Logs an error message indicating the scan of the file, represented by the
fileName parameter, threw an
exception. |
void |
scannerDeploymentRedeployedButNotByScanner(String deploymentName,
File marker) |
void |
scannerDeploymentRemovedButNotByScanner(String deploymentName,
File marker) |
void |
scannerDeploymentUndeployedButNotByScanner(String deploymentName,
File marker) |
String |
scannerNotConfigured()
A message indicating the scanner has not been configured.
|
void |
started(String className,
String deploymentPath)
Logs an informational message indicating the
className started for deploymentPath . |
void |
unsafeAutoDeploy(String marker1,
String marker2,
Set<String> problems)
Logs a warning message indicating a scan found content configured for auto-deployed that could not be safely
auto-deployed.
|
String |
unsafeAutoDeploy2(String errorMsg,
String fileName,
String marker)
A message indicating the file was configured for auto-deploy but could not be safely auto-deployed.
|
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, 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, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, 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, warnv
static final DeploymentScannerLogger ROOT_LOGGER
@LogMessage(level=WARN) @Message(id=1, value="Cannot delete deployment progress marker file %s") void cannotDeleteDeploymentProgressMarker(File file)
file
- the file that could not be removed.@LogMessage(level=WARN) @Message(id=2, value="Cannot remove extraneous deployment marker file %s") void cannotRemoveDeploymentMarker(String fileName)
fileName
- the file that could not be removed.@LogMessage(level=WARN) void cannotRemoveDeploymentMarker(File file)
file
- the file that could not be removed.@LogMessage(level=WARN) @Message(id=3, value="Deployment of \'%s\' requested, but the deployment is not present") void deploymentNotFound(String deploymentName)
deploymentName
parameter, requested
is not present.deploymentName
- the name of the deployment.@LogMessage(level=INFO) @Message(id=4, value="Found %1$s in deployment directory. To trigger deployment create a file called %1$s%2$s") void deploymentTriggered(String fileName, String marker)
fileName
- the file name.marker
- the marker.@LogMessage(level=ERROR) @Message(id=5, value="Caught exception writing deployment marker file %s") void errorWritingDeploymentMarker(@Cause Throwable cause, String markerFile)
cause
- the cause of the error.markerFile
- the marker file.@LogMessage(level=WARN) @Message(id=6, value="Reliable deployment behaviour is not possible when auto-deployment of exploded content is enabled (i.e. deployment without use of \"%s\"\' marker files). Configuration of auto-deployment of exploded content is not recommended in any situation where reliability is desired. Configuring the deployment scanner\'s %s setting to \"false\" is recommended.") void explodedAutoDeploymentContentWarning(String marker, String elementName)
marker
- the marker.elementName
- the element name.@LogMessage(level=WARN) @Message(id=7, value="The deployment scanner found that the content for exploded deployment %1$s has been deleted, but auto-deploy/undeploy for exploded deployments is not enabled and the %1$s%2$s marker file for this deployment has not been removed. As a result, the deployment is not being undeployed, but resources needed by the deployment may have been deleted and application errors may occur. Deleting the %1$s%2$s marker file to trigger undeploy is recommended.") void explodedDeploymentContentDeleted(String fileName, String marker)
fileName
parameter, has been deleted, but marked for auto-deploy/undeploy for
exploded deployments is not enabled.fileName
- the file name of the deployment.marker
- the marker.@LogMessage(level=ERROR) @Message(id=8, value="Failed checking whether %s was a complete zip") void failedCheckingZipFile(@Cause Throwable cause, String fileName)
fileName
parameter, was a complete zip.cause
- the cause of the error.fileName
- the file name.@LogMessage(level=ERROR) @Message(id=9, value="File system deployment service failed") void fileSystemDeploymentFailed(@Cause Throwable cause)
cause
- the cause of the error.@LogMessage(level=INFO) @Message(id=10, value="Scan found incompletely copied file content for deployment %s. Deployment changes will not be processed until all content is complete.") void incompleteContent(String name)
name
- the name of the deployment.@LogMessage(level=ERROR) @Message(id=11, value="The deployment scanner found a directory named %1$s that was not inside a directory whose name ends with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside the %2$s directory, which is a user error. The %1$s directory will not be scanned for deployments, but it is possible that the scanner may find other files from the unzipped archive and attempt to deploy them, leading to errors.") void invalidExplodedDeploymentDirectory(String fileName, String deploymentDir)
fileName
parameter, that was not inside a directory with a proper ending name.fileName
- the invalid deployment file name.deploymentDir
- the deployment directory.@LogMessage(level=ERROR) @Message(id=12, value="Scan of %s threw Exception") void scanException(@Cause Throwable cause, String fileName)
fileName
parameter, threw an
exception.cause
- the cause of the error.fileName
- the name of the file scanned that threw an exception.@LogMessage(level=INFO) @Message(id=13, value="Started %s for directory %s") void started(String className, String deploymentPath)
className
started for deploymentPath
.className
- the class name.deploymentPath
- the deployment path.@LogMessage(level=WARN) @Message(id=14, value="Scan found content configured for auto-deploy that could not be safely auto-deployed. See details above. Deployment changes will not be processed until all problematic content is either removed or whether to deploy the content or not is indicated via a %s or %s marker file. Problematic deployments are %s") void unsafeAutoDeploy(String marker1, String marker2, Set<String> problems)
marker1
- the first marker option.marker2
- the second marker option.problems
- the problems.@LogMessage(level=INFO) @Message(id=15, value="Re-attempting failed deployment %s") void reattemptingFailedDeployment(String deploymentName)
deploymentName
is being re-attempted.deploymentName
- The name of the failed deployment.@LogMessage(level=ERROR) @Message(id=16, value="Failed checking whether %s was a complete XML") void failedCheckingXMLFile(@Cause Throwable cause, String fileName)
fileName
parameter, was a complete xml file.cause
- the cause of the error.fileName
- the file name.@LogMessage(level=ERROR) @Message(id=17, value="Initial deployment scan failed") void initialScanFailed(@Cause Throwable t)
@LogMessage(level=INFO) @Message(id=18, value="Deployment %s was previously deployed by this scanner but has been undeployed by another management tool. Marker file %s is being added to record this fact.") void scannerDeploymentUndeployedButNotByScanner(String deploymentName, File marker)
@LogMessage(level=INFO) @Message(id=19, value="Deployment %s was previously deployed by this scanner but has been removed from the server deployment list by another management tool. Marker file %s is being added to record this fact.") void scannerDeploymentRemovedButNotByScanner(String deploymentName, File marker)
@Message(id=20, value="Cannot remove subsystem while it still has scanners configured. Remove all scanners first.") String cannotRemoveSubsystem()
@Message(id=21, value="Deployment content %s appears to be incomplete and is not progressing toward completion. This content cannot be auto-deployed.%s") String deploymentContentIncomplete(File file, String suffix)
file
parameter, appears to be incomplete
and is not progressing toward completion.file
- the content.suffix
- the suffix.@Message(id=22, value="Did not receive a response to the deployment operation within the allowed timeout period [%d seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.") String deploymentTimeout(long timeout)
timeout
- the timeout period.@Message(id=23, value="%s does not exist") IllegalArgumentException directoryDoesNotExist(String path)
path
parameter, does not exist.path
- the path of the directory.IllegalArgumentException
for the error.@Message(id=24, value="%s is not writable") IllegalArgumentException directoryNotWritable(String path)
path
parameter, is not writable.path
- the path of the directory.IllegalArgumentException
for the error.@Message(id=25, value="File %s cannot be scanned because it does not begin with a ZIP file format local file header signature") String invalidZipFileFormat(String fileName)
fileName
parameter, cannot be scanned because it does
not begin with a ZIP file format local file header signature.fileName
- the name of the invalid file.@Message(id=26, value="File %s cannot be scanned because it uses the currently unsupported ZIP64 format") String invalidZip64FileFormat(String fileName)
fileName
parameter, cannot be scanned because it uses
the currently unsupported ZIP64 format.fileName
- the name of the invalid file.@Message(id=27, value="%s is not a directory") IllegalArgumentException notADirectory(String path)
path
is not a directory.path
- the path name.IllegalArgumentException
for the error.@Message(id=28, value="%s is null") IllegalArgumentException nullVar(String name)
name
parameter, is null
.name
- the name of the null
variable.IllegalArgumentException
for the error.@Message(id=0, value=" A previous version of this content was deployed and remains deployed.") String previousContentDeployed()
@Message(id=29, value="scanner not configured") String scannerNotConfigured()
@Message(id=30, value="File %2$s was configured for auto-deploy but could not be safely auto-deployed. The reason the file could not be auto-deployed was: %1$s. To enable deployment of this file create a file called %2$s%3$s") String unsafeAutoDeploy2(String errorMsg, String fileName, String marker)
errorMsg
- the error message.fileName
- the file name.marker
- the marker.@Message(id=31, value="Extension with module \'org.jboss.as.deployment-scanner\' cannot be installed in a managed domain. Please remove it and any subsystem referencing it") IllegalStateException deploymentScannerNotForDomainMode()
@Message(id=32, value="Failed to list files in directory %s. Check that the contents of the directory are readable.") RuntimeException cannotListDirectoryFiles(File directory)
@LogMessage(level=INFO) @Message(id=33, value="Deployment %s was previously undeployed by this scanner but has been redeployed by another management tool. Marker file %s is being removed to record this fact.") void scannerDeploymentRedeployedButNotByScanner(String deploymentName, File marker)
@LogMessage(level=ERROR) @Message(id=34, value="Failed synchronizing status of deployment %s.") void failedStatusSynchronization(@Cause Throwable cause, String deploymentName)
@Message(id=35, value="Scan found %s which is not well-formed at lineNumber: %s, columnNumber: %s. Either the file was incompletely copied at the time of the scanning or it is just wrong.") String invalidXmlFileFound(String name, int lineNumber, int columnNumber)
name
- the name of the file.lineNumber
- columnNumber
- @Message(id=36, value="Deployment model operation failed. %s") RuntimeException deployModelOperationFailed(String msg)
msg
- the failure description.Copyright © 2023 JBoss by Red Hat. All rights reserved.