From users-return-49990-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Thu May 10 04:11:37 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 13E1A180649 for ; Thu, 10 May 2018 04:11:36 +0200 (CEST) Received: (qmail 18471 invoked by uid 500); 10 May 2018 02:11:35 -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 18455 invoked by uid 99); 10 May 2018 02:11:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2018 02:11:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6A33EC0354 for ; Thu, 10 May 2018 02:11:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id o1wEjsL_L-Iw for ; Thu, 10 May 2018 02:11:32 +0000 (UTC) Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 28C2B5F490 for ; Thu, 10 May 2018 02:11:32 +0000 (UTC) Received: by mail-wr0-f174.google.com with SMTP id y15-v6so412085wrg.11 for ; Wed, 09 May 2018 19:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FB0FzmfCOx9sSrNXjhBdbhh61Qs+iSlIWAuT9rUXKq4=; b=D8K6I2IoT3YPlNvuYmOipgs0bfvYk3iHiVEj+mOeq90TEf7easYv5bQ/zRAe3tKAfx cUW7Bstcj79dDq+EGPodPnXrDk0OuVMyLz62xnosbdBtSy7mTFXhGNNg4lz5c+aQJ2TJ Sk4Y2nm5jpJOeNHIY6GneU+sfHYMFNFAIRimZXnGUyao77SbtPmMsXjR81dQN/w6DN7+ f9zVsy8A14t7CpymZG9LDH4VCf2rA2rGf36bagZKigE7b/U36xStMszcrrqb6PsezAg0 h2LXhY9+f/ZzQYNxYVz/A6Xr0vMi/xj1jgW3TCP58QWHe3JKEUTdU7k1brJwGXikHt1i jxzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FB0FzmfCOx9sSrNXjhBdbhh61Qs+iSlIWAuT9rUXKq4=; b=tO6JsxzASYfIhM9vo/3LtlFhyyBOL5XW6amWUeaTftb3uSlnzwynoHP7BqJnVSUa3+ WBszucnkdT4S5NnuKwg0enSk0FmWc4C4LAp5Zn5Pap63iokuo5gGw9HesNDfzWM1Syiz kVs2SjUljEx1M4uUSDdSCkqjKDGegAJSB4QGKtJgkKWoV57QLlzGx/VrFo+GKKZ2tMx/ bBfPU6lnmFjtQ/NvOzgktQgGiKYGg5lGpQrVAjhAAIL9TQZOPDrdVgbDU3XxrJ5UT+7j s9vCkF+nGGhQCJ4P/MGzMIWGh3iJG3WVi/Kz+YRHRp4ZjyLDPlpc+dZSIV3CI5B0fFIb t2tg== X-Gm-Message-State: ALQs6tBcYEdaYLeOBw1CHMFjBkYTvuabTf7xcnY8BEtmrSmItmJRvOh9 /Dii20GGTvZU+XGg7nL1Tbb+cOffxeXkqQHaKnn8fg== X-Google-Smtp-Source: AB8JxZrRH1a4/b44l9kXjWegvYgX5dCpO/IqJTF9PX6C8LttqGPQSkKNUZMLCFfhupmH5bK2RTHI4RifRw8vACW5yF4= X-Received: by 2002:adf:87ab:: with SMTP id b40-v6mr40616176wrb.156.1525918286482; Wed, 09 May 2018 19:11:26 -0700 (PDT) MIME-Version: 1.0 References: <0P81000MJFKBWI10@pv33p00im-asmtp001.me.com> In-Reply-To: <0P81000MJFKBWI10@pv33p00im-asmtp001.me.com> From: Clebert Suconic Date: Thu, 10 May 2018 02:11:15 +0000 Message-ID: Subject: Re: [Artemis] upgrade from 2.1.0 getting errors around config-delete-queues To: users@activemq.apache.org Content-Type: multipart/alternative; boundary="0000000000006c1382056bd0899c" --0000000000006c1382056bd0899c Content-Type: text/plain; charset="UTF-8" I have added compatibility tests in 2.5.0. That should cover moving forward. Any other issues we can add more compatibility tests. On Tue, May 1, 2018 at 3:03 AM michael.andre.pearce < michael.andre.pearce@me.com> wrote: > This seems genuine bug for the upgrade from 2.1 to 2.2 suprised no one > else has seen it though including ourselves (we upgraded a long while back > and don't remember such issue), can you raise a Jira for this. > > > > > Sent from my Samsung Galaxy smartphone. > -------- Original message --------From: Dan Langford < > danlangford@gmail.com> Date: 30/04/2018 22:12 (GMT+00:00) To: > users@activemq.apache.org Subject: [Artemis] upgrade from 2.1.0 getting > errors around config-delete-queues > we are running 2.1.0 and i tried to upgrade to 2.5.0 and ran into some > problems. in an attempt to isolate the problem i rolled things back and > just attempted to upgrade to 2.2.0. The startup exception i saw on both > 2.5.0 and 2.2.0 are quite similar. > > 2.5.0 > ==== > > ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in > initialisation: java.lang.NegativeArraySizeException > at > > org.apache.activemq.artemis.api.core.SimpleString.readSimpleString(SimpleString.java:182) > [artemis-commons-2.5.0.jar:2.5.0] > at > > org.apache.activemq.artemis.api.core.SimpleString.readSimpleString(SimpleString.java:171) > [artemis-commons-2.5.0.jar:2.5.0] > at > > org.apache.activemq.artemis.api.core.SimpleString.readNullableSimpleString(SimpleString.java:158) > [artemis-commons-2.5.0.jar:2.5.0] > at > > org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readNullableSimpleString(ChannelBufferWrapper.java:69) > [artemis-commons-2.5.0.jar:2.5.0] > at > > org.apache.activemq.artemis.core.settings.impl.AddressSettings.decode(AddressSettings.java:736) > [artemis-server-2.5.0.jar:2.5.0] > > 2.2.0 > ==== > ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in > initialisation: java.lang.NegativeArraySizeException > at > > org.apache.activemq.artemis.api.core.SimpleString.readSimpleString(SimpleString.java:149) > [artemis-commons-2.2.0.jar:2.2.0] > at > > org.apache.activemq.artemis.api.core.SimpleString.readNullableSimpleString(SimpleString.java:143) > [artemis-commons-2.2.0.jar:2.2.0] > at > > org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readNullableSimpleString(ChannelBufferWrapper.java:69) > [artemis-commons-2.2.0.jar:2.2.0] > at > > org.apache.activemq.artemis.core.settings.impl.AddressSettings.decode(AddressSettings.java:724) > [artemis-server-2.2.0.jar:2.2.0] > > i went and looked at the source code for those and it appears during the > decode when trying to read a value for config-delete-queues. I see that > this value was added in 2.2.0. > > How do i upgrade from 2.1.0? All of my addresses and queues are defined at > runtime with the API (meaning they are not defined in the broker.xml file). > Is upgrade possible? did others run into this back when 2.2.0 was released? > > thanks > -- Clebert Suconic --0000000000006c1382056bd0899c--