<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Yes,<br>
<br>
see also<br>
<br>
bin/jboss-cli.sh --connect --command
:read-resource\(recursive=true\)<br>
Duplicate argument '--command'/'--commands'.<br>
<br>
but <br>
bin/jboss-cli.sh --connect
--command=:read-resource\(recursive=true\)<br>
bin/jboss-cli.sh --connect :read-resource\(recursive=true\)<br>
<br>
works.<br>
<br>
Maybe the last argument is interpreted as '--command=:read..' and
therefore the message ;)<br>
<br>
Wolf<br>
<br>
On 02/16/2012 11:27 AM, Panzer, Robert wrote:
<blockquote
cite="mid:907AE6DD25443A47982983074FC87C0FA1028CEA62@DEEXVS21.wincor-nixdorf.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="DE">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal">just tried the final version and wanted to
execute a cli script using jboss-cli.bat.<o:p></o:p></p>
<p class="MsoNormal">But jboss-cli.bat my.cli fails with:<o:p></o:p></p>
<p class="MsoNormal">Duplicate argument
'--command'/'--commands'.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there anyone else having the same
problem?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The effective Java call in jboss-cli.bat is<o:p></o:p></p>
<p class="MsoNormal">"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<o:p></o:p></p>
<p class="MsoNormal">\target\jboss-as-7.1.0.Final\modules"
org.jboss.as.cli -c --file deployDataSource.cli<o:p></o:p></p>
<p class="MsoNormal">Duplicate argument
'--command'/'--commands'.type <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My cli file currently contains only:<o:p></o:p></p>
<p class="MsoNormal">/subsystem=datasources/xa-data-source="MY_XA_DATASOURCE":disable
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This worked in any case with commit ID
945edc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kind regards,<o:p></o:p></p>
<p class="MsoNormal">Robert<o:p></o:p></p>
</div>
<blockquote><b>WINCOR NIXDORF International GmbH</b><br>
Sitz der Gesellschaft: Paderborn<br>
Registergericht Paderborn HRB 3507<br>
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan
Auerbach, Dr. Jürgen Wunram<br>
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller<br>
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 -
WEEE-Reg.-Nr. DE44477193<br>
<br>
Diese E-Mail enthält vertrauliche Informationen.<br>
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben,<br>
informieren Sie bitte sofort den Absender und vernichten Sie
diese E-Mail.<br>
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
E-Mail ist nicht gestattet.<br>
<br>
This e-mail may contain confidential information.<br>
If you are not the intended recipient (or have received this
e-mail in error)<br>
please notify the sender immediately and destroy this e-mail.<br>
Any unauthorised copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jboss-as7-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>