Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B220811C58 for ; Thu, 27 Mar 2014 13:22:08 +0000 (UTC) Received: (qmail 52961 invoked by uid 500); 27 Mar 2014 13:21:15 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 52378 invoked by uid 500); 27 Mar 2014 13:20:57 -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 52191 invoked by uid 99); 27 Mar 2014 13:20:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 13:20:46 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of hellknight@foxmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 13:20:41 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WTADo-0004Zu-9f for users@activemq.apache.org; Thu, 27 Mar 2014 06:19:52 -0700 Date: Thu, 27 Mar 2014 06:19:37 -0700 (PDT) From: HellKnight To: users@activemq.apache.org Message-ID: <1395926377278-4679580.post@n4.nabble.com> Subject: Can not access REST Management API from C# code, but it used to work for me MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi all : I wrote a simple C# program, it calls REST Management API to delete batc= h of messages from ActiveMQ.It used to work fine,but my colleague found that it did not work today. We simply catch an =E2=80=9Cexecution timeout=E2=80= =9D exception while calling the REST API. Then I create a jolokia URL that should work , and try to access it in chrome browser, but the browser shows no response too. It seems that no RES= T Management is exposed in server side at all, which is odd. I could log into hawtio console and browser messages, but I do not try to delete a message in the console. I thought maybe someone "turned off" REST Management API in serverside. I= s it possible to do this ? If so ,can I track down the who and when ? how can I turn it on ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-not= -access-REST-Management-API-from-C-code-but-it-used-to-work-for-me-tp467958= 0.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.