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 Detail

      • ROOT_LOGGER

        static final TransactionLogger ROOT_LOGGER
        A logger with the category of the default transaction package.
    • Method Detail

      • 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 StartException initialized 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 StartException initialized 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 StartException initialized with the cause and error message.
      • serviceNotStarted

        @Message(id=7,
                 value="Service not started")
        IllegalStateException serviceNotStarted()
        Creates an exception indicating that a service was not started.
        Returns:
        a IllegalStateException initialized 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 StartException initialized with the cause.
      • unknownMetric

        @Message(id=9,
                 value="Unknown metric %s")
        String unknownMetric​(Object metric)
        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

        @Message(id=12,
                 value="Attributes %s and %s are alternatives; both cannot be set with conflicting values.")
        org.jboss.as.controller.OperationFailedException inconsistentStatisticsSettings​(String attrOne,
                                                                                        String attrTwo)
      • 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

        @Message(id=23,
                 value="%s must be undefined if %s is \'true\'.")
        org.jboss.as.controller.OperationFailedException mustBeUndefinedIfTrue​(String attrOne,
                                                                               String attrTwo)
      • mustBedefinedIfDefined

        @Message(id=24,
                 value="%s must be defined if %s is defined.")
        org.jboss.as.controller.OperationFailedException mustBedefinedIfDefined​(String attrOne,
                                                                                String attrTwo)
      • eitherTrueOrDefined

        @Message(id=25,
                 value="Either %s must be \'true\' or  %s must be defined.")
        org.jboss.as.controller.OperationFailedException eitherTrueOrDefined​(String attrOne,
                                                                             String attrTwo)
      • 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

        @Message(id=32,
                 value="%s must be defined if %s is \'true\'.")
        org.jboss.as.controller.OperationFailedException mustBeDefinedIfTrue​(String attrOne,
                                                                             String attrTwo)
      • onlyOneCanBeTrue

        @Message(id=33,
                 value="Only one of %s and %s can be \'true\'.")
        org.jboss.as.controller.OperationFailedException onlyOneCanBeTrue​(String attrOne,
                                                                          String attrTwo)
      • 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

        @Message(id=35,
                 value="Cannot find or import inflow transaction for xid %s and work %s")
        jakarta.resource.spi.work.WorkCompletedException cannotFindOrImportInflowTransaction​(Xid xid,
                                                                                             jakarta.resource.spi.work.Work work,
                                                                                             @Cause
                                                                                             Exception e)
      • importedInflowTransactionIsInactive

        @Message(id=36,
                 value="Imported Jakarta Connectors inflow transaction with xid %s of work %s is inactive")
        jakarta.resource.spi.work.WorkCompletedException importedInflowTransactionIsInactive​(Xid xid,
                                                                                             jakarta.resource.spi.work.Work work,
                                                                                             @Cause
                                                                                             Exception e)
      • 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)