[jbossts-issues] [JBoss JIRA] (JBTM-2951) Application using LRAClient starts with multiple warnings

Ondra Chaloupka (JIRA) issues at jboss.org
Mon Oct 30 03:32:00 EDT 2017


    [ https://issues.jboss.org/browse/JBTM-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483199#comment-13483199 ] 

Ondra Chaloupka commented on JBTM-2951:
---------------------------------------

these warnings are caused by registration of the REST provider - once via {{@Provider}} annotation, second via descriptor {{javax.ws.rs.ext.Providers}}. Only one way should be enough.

> Application using LRAClient starts with multiple warnings
> ---------------------------------------------------------
>
>                 Key: JBTM-2951
>                 URL: https://issues.jboss.org/browse/JBTM-2951
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 5.7.1.Final
>            Reporter: Ondra Chaloupka
>            Assignee: Ondra Chaloupka
>            Priority: Minor
>
> When starting an application using {{LRAClient}} I get several warnings during startup
> {code}
> 2017-10-30 08:25:34,521 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 5) RESTEASY002155: Provider class io.narayana.lra.filter.ClientLRARequestFilter is already registered.  2nd registration is being ignored.
> 2017-10-30 08:25:34,521 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 5) RESTEASY002155: Provider class io.narayana.lra.filter.ClientLRAResponseFilter is already registered.  2nd registration is being ignored.
> 2017-10-30 08:25:34,551 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 5) RESTEASY002155: Provider class io.narayana.lra.filter.ServerLRAFilter is already registered.  2nd registration is being ignored.
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbossts-issues mailing list