You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Rico Neubauer (JIRA)" <ji...@apache.org> on 2019/07/08 12:23:00 UTC
[jira] [Commented] (KARAF-6343) client.bat does not work
[ https://issues.apache.org/jira/browse/KARAF-6343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880262#comment-16880262 ]
Rico Neubauer commented on KARAF-6343:
--------------------------------------
Duplicate of KARAF-6257?
> client.bat does not work
> ------------------------
>
> Key: KARAF-6343
> URL: https://issues.apache.org/jira/browse/KARAF-6343
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.6
> Reporter: Nicolas Dutertry
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.3.0, 4.2.7
>
>
> It is not possible to use client.bat on Windows. The following error appears every time the script is used:
> {code:none}
> Logging in as karaf
> Error executing command: Cannot coerce 1() to any of []{code}
> This is due to the following code at the end of client.bat:
> {code:none}
> if "%SHIFT%" == "true" SET ARGS=%2 %3 %4 %5 %6 %7 %8 %9 %10 %11
> if not "%SHIFT%" == "true" SET ARGS=%1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11{code}
> It is not allowed to use %10 et %11 in windows scripting, the maximum authorized value is %9.
> When removing %10 and %11 from the script, it works as expected.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)