According to the documentation: "valid values are Y,N,True,False" And this is also what worked until 2.30
Von: Justin Bertram <jbert...@apache.org> Gesendet: Mittwoch, 24. Januar 2024 16:40 An: users@activemq.apache.org <users@activemq.apache.org> Betreff: Re: Artemis 2.31.2 error creating instance This is technically incorrect: --allow-anonymous N The --allow-anonymous switch doesn't take any input. It simply stands by itself. If you don't want to allow anonymous users then the proper alternative is to use "--require-login." Try this instead: bin/artemis create --force --user "user" --password "user_pw" --data "/var/tmp/data" --allow-anonymous "/var/tmp/artemis-instance" I'm not sure why that syntax was tolerated in previous versions, but since we switched to picocli in 2.31.0 via ARTEMIS-4372 [1] it is no longer allowed (and really never should have been). Notice that in the documentation [2] any parameter that takes input has an indicator, e.g.: --addresses <addresses> Whereas parameters that don't are displayed without such an indicator: --allow-anonymous Hope that helps! Justin [1] https://issues.apache.org/jira/browse/ARTEMIS-4372 [2] https://activemq.apache.org/components/artemis/documentation/latest/using-server.html#options On Wed, Jan 24, 2024 at 3:57 AM Nikolai Ryll <n...@netuse.de> wrote: > When creating an broker instance via (example): > > bin/artemis create --force --user "user" --password "user_pw" --data > "/var/tmp/data" --allow-anonymous N "/var/tmp/artemis-instance" > > the following error occurs: > > Unmatched argument at index 10: '/var/tmp/artemis-instance' > > This error does not occur when omitting the allow-anonymous parameter > (results in interactive request for the respective setting, when entering > the value the broker-instance is created correctly). > > The above create-command worked with the previous versions and also seems > to be correct according to the latest "Using the server -> Creating a > Broker Instance" documentation. > > Regards, > Nikolai > > > DIE CHECK POINT ELITE AUS DEM NORDEN: > NetUSE erster Check Point ELITE Partner in Deutschland! > > Sie möchten Infos, News und exklusive Einladungen von der NetUSE AG > erhalten? > Bitte melden Sie sich für unseren Newsletter an unter > https://www.NetUSE.de/subscribe > > Unsere Datenschutzgrundsätze finden Sie unter > https://www.NetUSE.de/datenschutz/ > > NetUSE ist Mitglied bei iTeam > > Vorstand: Dr. Jörg Posewang (Vorsitz), Dr. Roland Kaltefleiter, Uwe Kastens > Aufsichtsrat: Detlev Hübner (Vorsitz) > Sitz der AG: Kiel, HRB 5358 USt.ID: DE156073942 > > Diese E-Mail enthält vertrauliche oder rechtlich geschützte Informationen. > Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der > enthaltenen Informationen ist nicht gestattet. > The information contained in this message is confidential or protected by > law. Any unauthorised copying of this message or unauthorised distribution > of the information contained herein is prohibited. > DIE CHECK POINT ELITE AUS DEM NORDEN: NetUSE erster Check Point ELITE Partner in Deutschland! Sie möchten Infos, News und exklusive Einladungen von der NetUSE AG erhalten? Bitte melden Sie sich für unseren Newsletter an unter https://www.NetUSE.de/subscribe Unsere Datenschutzgrundsätze finden Sie unter https://www.NetUSE.de/datenschutz/ NetUSE ist Mitglied bei iTeam Vorstand: Dr. Jörg Posewang (Vorsitz), Dr. Roland Kaltefleiter, Uwe Kastens Aufsichtsrat: Detlev Hübner (Vorsitz) Sitz der AG: Kiel, HRB 5358 USt.ID: DE156073942 Diese E-Mail enthält vertrauliche oder rechtlich geschützte Informationen. Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen ist nicht gestattet. The information contained in this message is confidential or protected by law. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited.
smime.p7s
Description: S/MIME cryptographic signature