Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A5EB320049E for ; Thu, 10 Aug 2017 09:40:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A46AE16ACD5; Thu, 10 Aug 2017 07:40:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E872C16ACD0 for ; Thu, 10 Aug 2017 09:40:33 +0200 (CEST) Received: (qmail 40514 invoked by uid 500); 10 Aug 2017 07:40:32 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 40503 invoked by uid 99); 10 Aug 2017 07:40:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2017 07:40:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2753E1A0902 for ; Thu, 10 Aug 2017 07:40:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.386 X-Spam-Level: **** X-Spam-Status: No, score=4.386 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_UNSUB1=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id pv1rSsQan9mE for ; Thu, 10 Aug 2017 07:40:29 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 15A6F5F6C2 for ; Thu, 10 Aug 2017 07:40:28 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id B9E585AC4A54A for ; Thu, 10 Aug 2017 00:40:26 -0700 (MST) Date: Thu, 10 Aug 2017 00:39:09 -0700 (PDT) From: Vinche59 To: users@activemq.apache.org Message-ID: <83bf3b3cc8234db8b0f955a99bdd2a65@bridgestone-bae.com> In-Reply-To: References: <1502302039109-4729544.post@n4.nabble.com> Subject: RE: [ARTEMIS] REST Interface in Wildfly - Resolved MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_84027_350640898.1502350749280" archived-at: Thu, 10 Aug 2017 07:40:34 -0000 ------=_Part_84027_350640898.1502350749280 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I just subclassing =C2=AB org.jboss.resteasy.plugins.server.servlet.Resteas= yBootstrap =C2=BB and register =C2=AB org. jboss.resteasy.spi.Registry =C2= =BB into ServletContext : package org.example; import javax.servlet.ServletContextEvent; import org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap; import org.jboss.resteasy.spi.Registry; public class MyResteasyBootstrap extends ResteasyBootstrap { @Override public void contextInitialized(ServletContextEvent event) { super.contextInitialized(event); event.getServletContext().setAttribute(Registry.class.getName(), de= ployment.getRegistry()); } } Then I use this new class instead of ResteasyBootstrap in web.xml : Rest-Messaging org.jboss.resteasy.plugins.server.servlet.FilterDispatcher Rest-Messaging /* org.example.MyResteasyBootstrap org.apache.activemq.artemis.rest.integration.RestMessagingB= ootstrapListener De : Justin Bertram [via ActiveMQ] [mailto:ml+s2283324n4729576h21@n4.nabble= .com] Envoy=C3=A9 : jeudi 10 ao=C3=BBt 2017 01:18 =C3=80 : Vincent Sourin Objet : Re: [ARTEMIS] REST Interface in Wildfly - Resolved Can you elaborate on what exactly you changed? Anybody else who runs into this issue will care about the specifics of your solution. Justin On Wed, Aug 9, 2017 at 1:07 PM, Vinche59 <[hidden email]> wrote: > After some digging it seems that the RestEasy version shipped with Wildfl= y > 11 > do not register anymore org.jboss.resteasy.spi.Registry into > ServletContext > attributes in RestEasyBootstrap class > > I had to manually registered it to make it works. > > > > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/ARTEMIS-REST-Interface-in-Wildfly-tp4729520p4729544.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > ________________________________ If you reply to this email, your message will be added to the discussion be= low: http://activemq.2283324.n4.nabble.com/ARTEMIS-REST-Interface-in-Wildfly-tp4= 729520p4729576.html To unsubscribe from [ARTEMIS] REST Interface in Wildfly, click here. NAML -- View this message in context: http://activemq.2283324.n4.nabble.com/ARTEMIS= -REST-Interface-in-Wildfly-tp4729520p4729590.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_84027_350640898.1502350749280--