Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
4.2.6
-
None
-
None
Description
It is not possible to use client.bat on Windows. The following error appears every time the script is used:
Logging in as karaf Error executing command: Cannot coerce 1() to any of []
This is due to the following code at the end of client.bat:
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
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.
Attachments
Issue Links
- is duplicated by
-
KARAF-6257 client.bat no longer working on Windows due to KARAF-6205
-
- Resolved
-