Interface Logs

  • All Superinterfaces:
    org.jboss.logging.BasicLogger
    All Known Implementing Classes:
    Logs_$logger

    @MessageLogger(projectCode="EJBCLIENT")
    public interface Logs
    extends org.jboss.logging.BasicLogger
    Primary logging for the main Enterprise Beans client API.
    Author:
    David M. Lloyd
    • Field Detail

      • MAIN

        static final Logs MAIN
      • REMOTING

        static final Logs REMOTING
      • TXN

        static final Logs TXN
      • INVOCATION

        static final Logs INVOCATION
    • Method Detail

      • greeting

        @LogMessage(level=INFO)
        @Message("JBoss EJB Client version %s")
        void greeting​(String version)
      • emptyModuleName

        @Message(id=0,
                 value="Module name cannot be null or empty")
        IllegalArgumentException emptyModuleName()
      • incorrectMaxAllowedConnectedNodesValueForCluster

        @LogMessage(level=INFO)
        @Message(id=3,
                 value="Incorrect max-allowed-connected-nodes value %s specified for cluster named %s. Defaulting to %s")
        void incorrectMaxAllowedConnectedNodesValueForCluster​(String value,
                                                              String clusterName,
                                                              String fallbackDefaultValue)
      • incorrectConnectionTimeoutValueForCluster

        @LogMessage(level=INFO)
        @Message(id=4,
                 value="Incorrect connection timeout value %s specified for cluster named %s. Defaulting to %s")
        void incorrectConnectionTimeoutValueForCluster​(String value,
                                                       String clusterName,
                                                       String fallbackDefaultValue)
      • incorrectConnectionTimeoutValueForNodeInCluster

        @LogMessage(level=INFO)
        @Message(id=5,
                 value="Incorrect connection timeout value %s specified for node %s in cluster named %s. Defaulting to %s")
        void incorrectConnectionTimeoutValueForNodeInCluster​(String value,
                                                             String nodeName,
                                                             String clusterName,
                                                             String fallbackDefaultValue)
      • skippingConnectionCreationDueToMissingHostOrPort

        @LogMessage(level=INFO)
        @Message(id=6,
                 value="No host/port configured for connection named %s. Skipping connection creation")
        void skippingConnectionCreationDueToMissingHostOrPort​(String connectionName)
      • skippingConnectionCreationDueToInvalidPortNumber

        @LogMessage(level=INFO)
        @Message(id=7,
                 value="Incorrect port value %s specified for connection named %s. Skipping connection creation")
        void skippingConnectionCreationDueToInvalidPortNumber​(String port,
                                                              String connectionName)
      • incorrectConnectionTimeoutValueForConnection

        @LogMessage(level=INFO)
        @Message(id=8,
                 value="Incorrect connection timeout value %s specified for connection named %s. Defaulting to %s")
        void incorrectConnectionTimeoutValueForConnection​(String value,
                                                          String connectionName,
                                                          String fallbackDefaultValue)
      • incorrectInvocationTimeoutValue

        @LogMessage(level=INFO)
        @Message(id=9,
                 value="Incorrect invocation timeout value %s specified. Defaulting to %s")
        void incorrectInvocationTimeoutValue​(String value,
                                             String fallbackDefaultValue)
      • incorrectReconnectTasksTimeoutValue

        @LogMessage(level=INFO)
        @Message(id=10,
                 value="Incorrect reconnect tasks timeout value %s specified. Defaulting to %s")
        void incorrectReconnectTasksTimeoutValue​(String value,
                                                 String fallbackDefaultValue)
      • discardingInvocationResult

        @LogMessage(level=INFO)
        @Message(id=11,
                 value="Discarding result for invocation id %s since no waiting context found")
        void discardingInvocationResult​(short invocationId)
      • cannotCreateEJBReceiverDueToUnknownTarget

        @LogMessage(level=INFO)
        @Message(id=12,
                 value="Cannot create a EJB receiver for %s since there was no match for a target destination")
        void cannotCreateEJBReceiverDueToUnknownTarget​(String clusterNode)
      • initialModuleAvailabilityReportNotReceived

        @LogMessage(level=INFO)
        @Message(id=15,
                 value="Initial module availability report for %s wasn\'t received during the receiver context association")
        void initialModuleAvailabilityReportNotReceived​(EJBReceiver ejbReceiver)
      • channelCanNoLongerProcessMessages

        @LogMessage(level=INFO)
        @Message(id=16,
                 value="Channel %s can no longer process messages")
        void channelCanNoLongerProcessMessages​(org.jboss.remoting3.Channel channel)
      • receivedServerVersionAndMarshallingStrategies

        @LogMessage(level=INFO)
        @Message(id=17,
                 value="Received server version %d and marshalling strategies %s")
        void receivedServerVersionAndMarshallingStrategies​(int version,
                                                           Set<String> marshallingStrategies)
      • noEJBClientContextAvailable

        @Message(id=22,
                 value="No EJB client context is available")
        IllegalStateException noEJBClientContextAvailable()
      • noEJBReceiverAvailable

        @Message(id=24,
                 value="No EJB receiver available for handling destination \"%s\"")
        javax.ejb.NoSuchEJBException noEJBReceiverAvailable​(URI locator)
      • noEJBReceiverForNode

        @Message(id=27,
                 value="No EJBReceiver available for node name %s")
        IllegalStateException noEJBReceiverForNode​(String nodeName)
      • noReceiverContextsInCluster

        @Message(id=28,
                 value="No EJB receiver contexts available in cluster %s")
        IllegalStateException noReceiverContextsInCluster​(String clusterName)
      • noClusterContextAvailable

        @Message(id=29,
                 value="No cluster context available for cluster named %s")
        IllegalStateException noClusterContextAvailable​(String clusterName)
      • sendRequestCalledDuringWrongPhase

        @Message(id=30,
                 value="sendRequest() called during wrong phase")
        IllegalStateException sendRequestCalledDuringWrongPhase()
      • noReceiverAssociatedWithInvocation

        @Message(id=31,
                 value="No receiver associated with invocation")
        IllegalStateException noReceiverAssociatedWithInvocation()
      • cannotRetryRequest

        @Message(id=32,
                 value="Cannot retry a request which hasn\'t previously been completed")
        IllegalStateException cannotRetryRequest()
      • getResultCalledDuringWrongPhase

        @Message(id=33,
                 value="getResult() called during wrong phase")
        IllegalStateException getResultCalledDuringWrongPhase()
      • discardResultCalledDuringWrongPhase

        @Message(id=34,
                 value="discardResult() called during wrong phase")
        IllegalStateException discardResultCalledDuringWrongPhase()
      • unsupportedNamingOperation

        @Message(id=35,
                 value="Not supported")
        NamingException unsupportedNamingOperation()
      • unsupportedNamingOperationForReadOnlyContext

        @Message(id=36,
                 value="Read only naming context, operation not supported")
        NamingException unsupportedNamingOperationForReadOnlyContext()
      • couldNotLoadProxyClass

        @Message(id=37,
                 value="Could not load ejb proxy class %s")
        NamingException couldNotLoadProxyClass​(String viewClassName)
      • txEnlistmentDidNotYieldTxId

        @Message(id=38,
                 value="Transaction enlistment did not yield a transaction ID")
        IllegalStateException txEnlistmentDidNotYieldTxId()
      • cannotEnlistTx

        @Message(id=39,
                 value="Cannot enlist transaction")
        IllegalStateException cannotEnlistTx()
      • primaryKeyNotRelevantForSessionBeans

        @Message(id=41,
                 value="A session bean does not have a primary key class")
        RuntimeException primaryKeyNotRelevantForSessionBeans()
      • failedToFindEjbClientConfigFileSpecifiedBySysProp

        @LogMessage(level=WARN)
        @Message(id=42,
                 value="Failed to load EJB client configuration file specified in %s system property: %s")
        void failedToFindEjbClientConfigFileSpecifiedBySysProp​(String sysPropName,
                                                               Exception e)
      • failedToReadEjbClientConfigFile

        @Message(id=43,
                 value="Error reading EJB client properties file %s")
        RuntimeException failedToReadEjbClientConfigFile​(@Cause
                                                         Exception e,
                                                         String file)
      • noTxContextAvailable

        @Message(id=44,
                 value="No transaction context available")
        IllegalStateException noTxContextAvailable()
      • userTxNotSupportedByTxContext

        @Message(id=45,
                 value="User transactions not supported by this context")
        IllegalStateException userTxNotSupportedByTxContext()
      • txAlreadyAssociatedWithThread

        @Message(id=46,
                 value="A transaction is already associated with this thread")
        NotSupportedException txAlreadyAssociatedWithThread()
      • noTxAssociatedWithThread

        @Message(id=47,
                 value="A transaction is not associated with this thread")
        IllegalStateException noTxAssociatedWithThread()
      • txNotActiveForThread

        @Message(id=48,
                 value="Transaction for this thread is not active")
        IllegalStateException txNotActiveForThread()
      • txNodeIsExcludedForInvocation

        @Message(id=49,
                 value="Cannot proceed with invocation since transaction is pinned to node %s which has been excluded from handling invocation for the current invocation context %s")
        IllegalStateException txNodeIsExcludedForInvocation​(String nodeName,
                                                            EJBClientInvocationContext invocationContext)
      • nodeDoesNotAcceptLocator

        @Message(id=50,
                 value="Node of the current transaction %s does not accept %s")
        IllegalStateException nodeDoesNotAcceptLocator​(String nodeName,
                                                       EJBLocator<?> locator)
      • requiredNodeExcludedFromInvocation

        @Message(id=51,
                 value="Cannot proceed with invocation since the locator %s has an affinity on node %s which has been excluded from current invocation context %s")
        IllegalStateException requiredNodeExcludedFromInvocation​(EJBLocator<?> locator,
                                                                 String nodeName,
                                                                 EJBClientInvocationContext invocationContext)
      • unexpectedClusterNodeSelectorClassType

        @Message(id=52,
                 value="%s for cluster %s is not of type org.jboss.ejb.client.ClusterNodeSelector")
        RuntimeException unexpectedClusterNodeSelectorClassType​(Class<?> nodeSelectorClass,
                                                                String clusterName)
      • couldNotCreateClusterNodeSelector

        @Message(id=53,
                 value="Could not create the cluster node selector for cluster %s")
        RuntimeException couldNotCreateClusterNodeSelector​(@Cause
                                                           Exception e,
                                                           String clusterName)
      • cannotSpecifyBothCallbackHandlerAndUserPass

        @Message(id=54,
                 value="Cannot specify both a callback handler and a username/password")
        IllegalStateException cannotSpecifyBothCallbackHandlerAndUserPass()
      • couldNotDecodeBase64Password

        @Message(id=55,
                 value="Could not decode base64 encoded password")
        RuntimeException couldNotDecodeBase64Password​(@Cause
                                                      Exception e)
      • cannotSpecifyBothPlainTextAndEncodedPassword

        @Message(id=56,
                 value="Cannot specify both a plain text and base64 encoded password")
        IllegalStateException cannotSpecifyBothPlainTextAndEncodedPassword()
      • failedToSendInvocationCancellationMessage

        @LogMessage(level=WARN)
        @Message(id=59,
                 value="Could not send a message over remoting channel, to cancel invocation for invocation id %s")
        void failedToSendInvocationCancellationMessage​(short invocationId,
                                                       @Cause
                                                       Exception e)
      • failedToCreateScopedEjbClientContext

        @Message(id=60,
                 value="Failed to create scoped EJB client context")
        RuntimeException failedToCreateScopedEjbClientContext​(@Cause
                                                              Exception e)
      • transactionRecoveryMessageNotSupported

        @LogMessage(level=WARN)
        @Message(id=61,
                 value="Cannot send a transaction recovery message to the server since the protocol version of EJBReceiver %s doesn\'t support it")
        void transactionRecoveryMessageNotSupported​(EJBReceiver receiver)
      • ejbIsAlreadyStateful

        @Message(id=63,
                 value="EJB proxy is already stateful")
        IllegalArgumentException ejbIsAlreadyStateful()
      • ejbURLContextFactoryDeprecated

        @LogMessage(level=INFO)
        @Message(id=64,
                 value="org.jboss.ejb.client.naming.ejb.ejbURLContextFactory is deprecated; new applications should use org.wildfly.naming.client.WildFlyInitialContextFactory instead")
        void ejbURLContextFactoryDeprecated()
      • operationInterrupted

        @Message(id=66,
                 value="Operation interrupted")
        javax.ejb.EJBException operationInterrupted()
      • legacyEJBPropertiesSecurityConfigurationInUse

        @Once
        @LogMessage
        @Message(id=69,
                 value="Using legacy jboss-ejb-client.properties security configuration")
        void legacyEJBPropertiesSecurityConfigurationInUse()
      • legacyEJBPropertiesRemotingConfigurationInUse

        @Once
        @LogMessage
        @Message(id=70,
                 value="Using legacy jboss-ejb-client.properties Remoting configuration")
        void legacyEJBPropertiesRemotingConfigurationInUse()
      • legacyEJBPropertiesDiscoveryConfigurationInUse

        @Once
        @LogMessage
        @Message(id=71,
                 value="Using legacy jboss-ejb-client.properties discovery configuration")
        void legacyEJBPropertiesDiscoveryConfigurationInUse()
      • legacyEJBPropertiesEJBConfigurationInUse

        @Once
        @LogMessage
        @Message(id=72,
                 value="Using legacy jboss-ejb-client.properties EJB client configuration")
        void legacyEJBPropertiesEJBConfigurationInUse()
      • failedToConstructEndpoint

        @Message(id=73,
                 value="Failed to construct Remoting endpoint")
        IllegalStateException failedToConstructEndpoint​(@Cause
                                                        IOException e)
      • selectorReturnedNull

        @Message(id=74,
                 value="Configured selector \"%s\" returned null")
        IllegalStateException selectorReturnedNull​(Object selector)
      • noTransportProvider

        @Message(id=75,
                 value="No transport provider available for URI scheme %2$s for locator %1$s")
        javax.ejb.NoSuchEJBException noTransportProvider​(EJBLocator<?> locator,
                                                         String scheme)
      • selectorReturnedUnknownNode

        @Message(id=76,
                 value="Configured selector \"%s\" returned unknown node \"%s\"")
        IllegalStateException selectorReturnedUnknownNode​(Object selector,
                                                          String nodeName)
      • viewTypeMismatch

        @Message(id=78,
                 value="EJB receiver \"%s\" returned a stateful locator with the wrong view type (expected %s, but actual was %s)")
        IllegalArgumentException viewTypeMismatch​(EJBReceiver receiver,
                                                  Class<?> expectedType,
                                                  Class<?> actualType)
      • noDestinationEstablished

        @Message(id=79,
                 value="Unable to discover destination for request for EJB %s")
        javax.ejb.NoSuchEJBException noDestinationEstablished​(EJBLocator<?> locator)
      • outflowTransactionTimeoutElapsed

        @Message(id=82,
                 value="Cannot outflow the remote transaction \"%s\" as its timeout elapsed")
        SystemException outflowTransactionTimeoutElapsed​(Transaction transaction)
      • noAsyncInProgress

        @Message(id=102,
                 value="No asynchronous operation in progress")
        IllegalStateException noAsyncInProgress()
      • noJBossModules

        @Message(id=200,
                 value="Cannot load from a module when jboss-modules is not available")
        org.wildfly.client.config.ConfigXMLParseException noJBossModules​(@Param
                                                                         org.wildfly.client.config.ConfigurationXMLStreamReader streamReader)
      • noInterceptorConstructor

        @Message(id=300,
                 value="No valid no-argument constructor on interceptor %s")
        IllegalArgumentException noInterceptorConstructor​(Class<?> type)
      • interceptorConstructorNotAccessible

        @Message(id=301,
                 value="Constructor is not accessible on interceptor %s")
        IllegalArgumentException interceptorConstructorNotAccessible​(Class<?> type)
      • interceptorConstructorFailed

        @Message(id=302,
                 value="Construction of interceptor %s failed")
        IllegalStateException interceptorConstructorFailed​(Class<?> type,
                                                           @Cause
                                                           Throwable cause)
      • remoteInvFailed

        @Message(id=400,
                 value="Remote invocation failed due to an exception")
        ExecutionException remoteInvFailed​(@Cause
                                           Throwable cause)
      • oneWayInvocation

        @Message(id=401,
                 value="Result was discarded (one-way invocation)")
        IllegalStateException oneWayInvocation()
      • requestCancelled

        @Message(id=402,
                 value="Remote invocation request was cancelled")
        CancellationException requestCancelled()
      • transactionNoLongerActive

        @Message(id=408,
                 value="Inflowed transaction is no longer active")
        SystemException transactionNoLongerActive()
      • noMoreDestinations

        @Message(id=409,
                 value="No more destinations are available")
        RequestSendFailedException noMoreDestinations()
      • mismatchedMethodLocation

        @Message(id=500,
                 value="Protocol error: mismatched method location")
        InvalidObjectException mismatchedMethodLocation()
      • invalidMessageReceived

        @LogMessage(level=DEBUG)
        @Message(id=501,
                 value="Protocol error: invalid message ID %02x received")
        void invalidMessageReceived​(int code)
      • invalidTransactionType

        @Message(id=502,
                 value="Protocol error: invalid transaction type %02x received")
        IOException invalidTransactionType​(int type)
      • unableToInflowTxn

        @Message(id=503,
                 value="Protocol error: unable to inflow remote transaction")
        IOException unableToInflowTxn​(@Cause
                                      Exception e)
      • noSessionCreated

        @Message(id=504,
                 value="Server error: no session was created")
        IllegalStateException noSessionCreated()
      • noRemoteTransportOnEJBContext

        @Message(id=505,
                 value="No remote transport is present on the current EJB client context")
        IllegalStateException noRemoteTransportOnEJBContext()
      • invalidViewTypeForInvocation

        @Message(id=506,
                 value="Server error (invalid view): %s")
        javax.ejb.EJBException invalidViewTypeForInvocation​(String serverMessage)
      • internalSystemErrorWithTx

        @Message(id=507,
                 value="Internal server error occurred while processing a transaction")
        SystemException internalSystemErrorWithTx​(@Cause
                                                  Throwable t)
      • taskFailed

        @LogMessage(level=ERROR)
        @Message(id=508,
                 value="Failed to execute Runnable %s")
        void taskFailed​(Runnable runnable,
                        @Cause
                        Throwable t)
      • unexpectedException

        @LogMessage(level=ERROR)
        @Message(id=509,
                 value="Unexpected exception processing EJB request")
        void unexpectedException​(@Cause
                                 Throwable t)
      • failedToConfigureSslContext

        @Message(id=510,
                 value="Failed to configure SSL context")
        IOException failedToConfigureSslContext​(@Cause
                                                Throwable cause)
      • cannotAddSessionID

        @Message(id=511,
                 value="Cannot automatically convert stateless EJB to stateful with this protocol version")
        IllegalArgumentException cannotAddSessionID()
      • ejbNotStateful

        @Message(id=512,
                 value="Server error (remote EJB is not stateful): %s")
        javax.ejb.EJBException ejbNotStateful​(String serverMessage)
      • exceptionDuringTransportProviderClose

        @LogMessage(level=ERROR)
        @Message(id=513,
                 value="Exception occurred when trying to close the transport provider")
        void exceptionDuringTransportProviderClose​(@Cause
                                                   Exception e)
      • skippingHttpConnectionCreationDueToMissingUri

        @LogMessage(level=INFO)
        @Message(id=514,
                 value="No URI configured for HTTP connection named %s. Skipping connection creation")
        void skippingHttpConnectionCreationDueToMissingUri​(String name)
      • skippingHttpConnectionCreationDueToInvalidUri

        @LogMessage(level=INFO)
        @Message(id=515,
                 value="HTTP connection was configured with invalid URI: %s .")
        void skippingHttpConnectionCreationDueToInvalidUri​(String uri)
      • cannotResolveFilteredClass

        @Message(id=516,
                 value="Exception resolving class %s for unmarshalling; it has either been blocklisted or not allowlisted")
        InvalidClassException cannotResolveFilteredClass​(String clazz)
      • ioExceptionOnTransactionResponseWrite

        @LogMessage(level=WARN)
        @Message(id=517,
                 value="Exception occurred when writing EJB transaction response to invocation %s over channel %s")
        void ioExceptionOnTransactionResponseWrite​(int invId,
                                                   org.jboss.remoting3.Channel channel,
                                                   @Cause
                                                   IOException e)
      • ioExceptionOnTransactionRecoveryResponseWrite

        @LogMessage(level=WARN)
        @Message(id=518,
                 value="Exception occurred when writing EJB transaction recovery response for invocation %s over channel %s")
        void ioExceptionOnTransactionRecoveryResponseWrite​(int invId,
                                                           org.jboss.remoting3.Channel channel,
                                                           @Cause
                                                           IOException e)
      • ioExceptionOnEJBResponseWrite

        @LogMessage(level=WARN)
        @Message(id=519,
                 value="Exception occurred when writing EJB response to invocation %s over channel %s")
        void ioExceptionOnEJBResponseWrite​(int invId,
                                           org.jboss.remoting3.Channel channel,
                                           @Cause
                                           IOException e)
      • ioExceptionOnEJBSessionOpenResponseWrite

        @LogMessage(level=WARN)
        @Message(id=520,
                 value="Exception occurred when writing EJB session open response to invocation %s over channel %s")
        void ioExceptionOnEJBSessionOpenResponseWrite​(int invId,
                                                      org.jboss.remoting3.Channel channel,
                                                      @Cause
                                                      IOException e)
      • ioExceptionOnProceedAsyncResponseWrite

        @LogMessage(level=WARN)
        @Message(id=521,
                 value="Exception occurred when writing proceed async response to invocation %s over channel %s")
        void ioExceptionOnProceedAsyncResponseWrite​(int invId,
                                                    org.jboss.remoting3.Channel channel,
                                                    @Cause
                                                    IOException e)
      • ioExceptionOnEJBClusterMessageWrite

        @LogMessage(level=WARN)
        @Message(id=522,
                 value="Exception occurred when writing EJB cluster message to channel %s")
        void ioExceptionOnEJBClusterMessageWrite​(org.jboss.remoting3.Channel channel,
                                                 @Cause
                                                 IOException e)
      • ioExceptionOnModuleAvailabilityWrite

        @LogMessage(level=WARN)
        @Message(id=523,
                 value="Exception occurred when writing module availability message, closing channel %s")
        void ioExceptionOnModuleAvailabilityWrite​(org.jboss.remoting3.Channel channel,
                                                  @Cause
                                                  IOException e)
      • remoteMessageNoSuchEJB

        @Message("No such EJB: %s")
        String remoteMessageNoSuchEJB​(EJBIdentifier ejbIdentifier)
      • remoteMessageEJBNotStateful

        @Message("EJB is not stateful: %s")
        String remoteMessageEJBNotStateful​(EJBIdentifier ejbIdentifier)
      • remoteMessageSessionNotActive

        @Message("Session is not active for invocation of method %s on %s")
        String remoteMessageSessionNotActive​(EJBMethodLocator methodLocator,
                                             EJBIdentifier locator)
      • remoteMessageBadViewType

        @Message("EJB view is not remote: %s")
        String remoteMessageBadViewType​(EJBIdentifier ejbIdentifier)
      • returnedContextDataKeyOfWrongType

        @Message("Context data under org.jboss.private.data was not of type Set<String>")
        IllegalStateException returnedContextDataKeyOfWrongType()