Package org.jboss.as.txn.logging
Interface TransactionLogger
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
TransactionLogger_$logger
@MessageLogger(projectCode="WFLYTX",
length=4)
public interface TransactionLogger
extends org.jboss.logging.BasicLogger
- Author:
- James R. Perkins
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransactionLoggerA logger with the category of the default transaction package. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.resource.spi.work.WorkCompletedExceptioncannotFindOrImportInflowTransaction(Xid xid, jakarta.resource.spi.work.Work work, Exception e) jakarta.resource.spi.work.WorkCompletedExceptioncannotResumeInflowTransactionUnexpectedError(jakarta.transaction.Transaction txn, jakarta.resource.spi.work.Work work, Exception e) cannotSuspendInflowTransactionUnexpectedError(jakarta.resource.spi.work.Work txn, Exception e) org.jboss.msc.service.StartExceptioncreateFailed(Throwable cause) Creates an exception indicating a create failed.org.jboss.as.controller.OperationFailedExceptioneitherTrueOrDefined(String attrOne, String attrTwo) jakarta.resource.spi.work.WorkCompletedExceptionimportedInflowTransactionIsInactive(Xid xid, jakarta.resource.spi.work.Work work, Exception e) org.jboss.as.controller.OperationFailedExceptioninconsistentStatisticsSettings(String attrOne, String attrTwo) indexedChildResourceRegistrationNotAvailable(org.jboss.as.controller.PathElement address) voidjcaSyncAfterCompletionFailed(jakarta.transaction.Synchronization jcaSync, jakarta.transaction.Transaction tx, Exception e) org.jboss.as.controller.OperationFailedExceptionA message indicating that jndi-name has an invalid formatorg.jboss.msc.service.StartExceptionmanagerStartFailure(Throwable cause, String managerName) Creates an exception indicating the start of a manager failed.org.jboss.as.controller.OperationFailedExceptionmustBedefinedIfDefined(String attrOne, String attrTwo) org.jboss.as.controller.OperationFailedExceptionmustBeDefinedIfTrue(String attrOne, String attrTwo) org.jboss.as.controller.OperationFailedExceptionmustBeUndefinedIfTrue(String attrOne, String attrTwo) noActiveTransactionToRegisterSynchronization(jakarta.transaction.Synchronization sync) voidnodeIdentifierIsSetToDefault(String attributeName, String subsystemAddress) If the user has set node identifier to the default valuevoidorg.jboss.msc.service.StartExceptionobjectStoreStartFailure(Throwable cause) Creates an exception indicating the failure of the object store browser.org.jboss.as.controller.OperationFailedExceptiononlyOneCanBeTrue(String attrOne, String attrTwo) voidpreJcaSyncAfterCompletionFailed(jakarta.transaction.Synchronization preJcaSync, jakarta.transaction.Transaction tx, Exception e) Creates an exception indicating that a service was not started.org.jboss.msc.service.StartExceptionstartFailure(Throwable cause) Creates an exception indicating the start failed.syncsnotallowed(int status) voidtimeoutValueIsSetToMaximum(int maximum_timeout) voidtransactionNotFound(jakarta.transaction.Transaction tx) voidtransactionStillOpen(int status) If the user left a transaction openvoidIf the current transaction status could not be determinedvoidunableToRollBack(Throwable cause) If a transaction could not be rolled backunknownMetric(Object metric) A message indicating the metric is unknown.unsupportedAttribute(String attribute, Location location) Methods inherited from interface org.jboss.logging.BasicLogger
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
-
Field Details
-
ROOT_LOGGER
A logger with the category of the default transaction package.
-
-
Method Details
-
unableToRollBack
@LogMessage(level=ERROR) @Message(id=1, value="Unable to roll back active transaction") void unableToRollBack(@Cause Throwable cause) If a transaction could not be rolled back -
unableToGetTransactionStatus
@LogMessage(level=ERROR) @Message(id=2, value="Unable to get transaction state") void unableToGetTransactionStatus(@Cause Throwable cause) If the current transaction status could not be determined -
transactionStillOpen
@LogMessage(level=ERROR) @Message(id=3, value="APPLICATION ERROR: transaction still active in request with status %s") void transactionStillOpen(int status) If the user left a transaction open -
createFailed
@Message(id=4, value="Create failed") org.jboss.msc.service.StartException createFailed(@Cause Throwable cause) Creates an exception indicating a create failed.- Parameters:
cause- the reason the creation failed.- Returns:
- a
StartExceptioninitialized with the cause.
-
managerStartFailure
@Message(id=5, value="%s manager create failed") org.jboss.msc.service.StartException managerStartFailure(@Cause Throwable cause, String managerName) Creates an exception indicating the start of a manager failed.- Parameters:
cause- the reason the start failed.managerName- the name of the manager that didn't start.- Returns:
- a
StartExceptioninitialized with the cause and error message.
-
objectStoreStartFailure
@Message(id=6, value="Failed to configure object store browser bean") org.jboss.msc.service.StartException objectStoreStartFailure(@Cause Throwable cause) Creates an exception indicating the failure of the object store browser.- Parameters:
cause- the reason the start failed.- Returns:
- a
StartExceptioninitialized with the cause and error message.
-
serviceNotStarted
Creates an exception indicating that a service was not started.- Returns:
- a
IllegalStateExceptioninitialized with the cause and error message.
-
startFailure
@Message(id=8, value="Start failed") org.jboss.msc.service.StartException startFailure(@Cause Throwable cause) Creates an exception indicating the start failed.- Parameters:
cause- the reason the start failed.- Returns:
- a
StartExceptioninitialized with the cause.
-
unknownMetric
A message indicating the metric is unknown.- Parameters:
metric- the unknown metric.- Returns:
- the message.
-
jmxSubsystemNotInstalled
@Message(id=10, value="MBean Server service not installed, this functionality is not available if the JMX subsystem has not been installed.") RuntimeException jmxSubsystemNotInstalled() -
inconsistentStatisticsSettings
-
nodeIdentifierIsSetToDefault
@LogMessage(level=WARN) @Message(id=13, value="The %s attribute on the %s is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.") void nodeIdentifierIsSetToDefault(String attributeName, String subsystemAddress) If the user has set node identifier to the default value -
jndiNameInvalidFormat
@Message(id=15, value="Jndi names have to start with java:/ or java:jboss/") org.jboss.as.controller.OperationFailedException jndiNameInvalidFormat()A message indicating that jndi-name has an invalid format- Returns:
- the message.
-
mustBeUndefinedIfTrue
-
mustBedefinedIfDefined
-
eitherTrueOrDefined
-
transactionNotFound
@LogMessage(level=WARN) @Message(id=26, value="The transaction %s could not be removed from the cache during cleanup.") void transactionNotFound(jakarta.transaction.Transaction tx) -
preJcaSyncAfterCompletionFailed
@LogMessage(level=WARN) @Message(id=27, value="The pre-Jakarta Connectors synchronization %s associated with tx %s failed during after completion") void preJcaSyncAfterCompletionFailed(jakarta.transaction.Synchronization preJcaSync, jakarta.transaction.Transaction tx, @Cause Exception e) -
jcaSyncAfterCompletionFailed
@LogMessage(level=WARN) @Message(id=28, value="The Jakarta Connectors synchronization %s associated with tx %s failed during after completion") void jcaSyncAfterCompletionFailed(jakarta.transaction.Synchronization jcaSync, jakarta.transaction.Transaction tx, @Cause Exception e) -
syncsnotallowed
@Message(id=29, value="Syncs are not allowed to be registered when the tx is in state %s") IllegalStateException syncsnotallowed(int status) -
indexedChildResourceRegistrationNotAvailable
@Message(id=30, value="Indexed child resources can only be registered if the parent resource supports ordered children. The parent of \'%s\' is not indexed") IllegalStateException indexedChildResourceRegistrationNotAvailable(org.jboss.as.controller.PathElement address) -
unsupportedAttribute
@Message(id=31, value="The attribute \'%s\' is no longer supported") XMLStreamException unsupportedAttribute(String attribute, @Param Location location) -
mustBeDefinedIfTrue
-
onlyOneCanBeTrue
-
objectStoreRelativeToIsSetToDefault
@LogMessage(level=DEBUG) @Message(id=34, value="relative_to property of the object-store is set to the default value with jboss.server.data.dir") void objectStoreRelativeToIsSetToDefault() -
cannotFindOrImportInflowTransaction
-
importedInflowTransactionIsInactive
-
cannotResumeInflowTransactionUnexpectedError
@Message(id=37, value="Unexpected error on resuming transaction %s for work %s") jakarta.resource.spi.work.WorkCompletedException cannotResumeInflowTransactionUnexpectedError(jakarta.transaction.Transaction txn, jakarta.resource.spi.work.Work work, @Cause Exception e) -
cannotSuspendInflowTransactionUnexpectedError
@Message(id=38, value="Unexpected error on suspending transaction for work %s") RuntimeException cannotSuspendInflowTransactionUnexpectedError(jakarta.resource.spi.work.Work txn, @Cause Exception e) -
timeoutValueIsSetToMaximum
@LogMessage(level=WARN) @Message(id=39, value="A value of zero is not permitted for the maximum timeout, as such the timeout has been set to %s") void timeoutValueIsSetToMaximum(int maximum_timeout) -
noActiveTransactionToRegisterSynchronization
@Message(id=40, value="There is no active transaction at the current context to register synchronization \'%s\'") IllegalStateException noActiveTransactionToRegisterSynchronization(jakarta.transaction.Synchronization sync)
-