[jboss-as7-dev] jboss-cli.bat with Thunder: Duplicate argument '--command'/'--commands'.
Alexey Loubyansky
alexey.loubyansky at redhat.com
Thu Feb 16 12:16:46 EST 2012
The error message is bizarre, though... Will look into it.
Alexey
On 02/16/2012 06:08 PM, Alexey Loubyansky wrote:
> It doesn't work for me even for that commit (on linux though). There
> should be '=' sign after file, i.e.
>
> --file=file_name
>
> Let me know if that doesn't work.
>
> Thanks,
> Alexey
>
> On 02/16/2012 11:27 AM, Panzer, Robert wrote:
>> Hi,
>>
>> just tried the final version and wanted to execute a cli script using
>> jboss-cli.bat.
>>
>> But jboss-cli.bat my.cli fails with:
>>
>> Duplicate argument '--command'/'--commands'.
>>
>> Is there anyone else having the same problem?
>>
>> The effective Java call in jboss-cli.bat is
>>
>> "c:\Program Files\Java\jdk1.6.0_29\bin\java"
>> -Dprogram.name=jboss-cli.bat -jar
>> "e:\git\jboss-as\build\target\jboss-as-7.1.0.Final\jboss-modules.jar"
>> -mp "e:\git\jboss-as\build
>>
>> \target\jboss-as-7.1.0.Final\modules" org.jboss.as.cli -c --file
>> deployDataSource.cli
>>
>> Duplicate argument '--command'/'--commands'.type
>>
>> My cli file currently contains only:
>>
>> /subsystem=datasources/xa-data-source="MY_XA_DATASOURCE":disable
>>
>> This worked in any case with commit ID 945edc.
>>
>> Kind regards,
>>
>> Robert
>>
>> *WINCOR NIXDORF International GmbH*
>> Sitz der Gesellschaft: Paderborn
>> Registergericht Paderborn HRB 3507
>> Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach,
>> Dr. Jürgen Wunram
>> Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
>> Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 -
>> WEEE-Reg.-Nr. DE44477193
>>
>> Diese E-Mail enthält vertrauliche Informationen.
>> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>> irrtümlich erhalten haben,
>> informieren Sie bitte sofort den Absender und vernichten Sie diese
>> E-Mail.
>> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail
>> ist nicht gestattet.
>>
>> This e-mail may contain confidential information.
>> If you are not the intended recipient (or have received this e-mail
>> in error)
>> please notify the sender immediately and destroy this e-mail.
>> Any unauthorised copying, disclosure or distribution of the material
>> in this e-mail is strictly forbidden.
>>
>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
More information about the jboss-as7-dev
mailing list