You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2023/09/15 00:31:00 UTC
[jira] [Reopened] (ARTEMIS-4397) Problem with bootstrap.xml after artemis upgrade
[ https://issues.apache.org/jira/browse/ARTEMIS-4397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clebert Suconic reopened ARTEMIS-4397:
--------------------------------------
Assignee: Clebert Suconic
> Problem with bootstrap.xml after artemis upgrade
> -------------------------------------------------
>
> Key: ARTEMIS-4397
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4397
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.29.0, 2.30.0
> Reporter: Aleksandr Milovidov
> Assignee: Clebert Suconic
> Priority: Minor
> Time Spent: 2h
> Remaining Estimate: 0h
>
> We have found strange problem when upgrading ActiveMQ Artemis instance from version 2.29.0 and higher to the same or higher version.
> After running command {{{}artemis upgrade /path/to/instance{}}}, web section in bootstrap.xml is broken and Artemis cannot start. It looks like:
> {code:java}
> <web path="web" rootRedirectLocation="console">
> <binding name="artemis" uri="http://localhost:8161">
> <app name="branding" name="branding" url="activemq-branding" war="activemq-branding.war"/>
> <app name="plugin" name="plugin" url="artemis-plugin" war="artemis-plugin.war"/>
> <app name="console" url="console" war="console.war"/>
> </binding>
> </web>{code}
> After each upgrade, duplicate property "name" is added to the some app sections.
> When upgrading to the current version, it also breaks bootstrap.xml. Tried in Windows and Linux, does not differ.
> When upgrading from 2.28 and earlier, it does not cause problem. I'm not sure but it seems that bootstrap.xml does not contain name property in previous versions.
> Steps to reproduce: unzip apache-artemis archive, create instance and upgrade (Windows example):
> {{artemis.cmd create --user admin --password password --require-login C:\path\to\artemis-inst-2.29.0}}
> {{artemis.cmd upgrade C:\path\to\artemis-inst-2.29.0}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)