karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi <ravisekhar...@motivitylabs.com>
Subject Client.bat is not working on karaf 4.2.6
Date Fri, 28 Jun 2019 11:07:32 GMT
Hi Team 

I updated my application from karaf 4.2.2 to 4.2.6. 
I realized that client.bat is not working again (it is already not working
in 4.2.2 but it is working on 4.2.4). 

Even it is not working with pure karaf downloaded version 4.2.6 also. 

The error is 

D:\karafBuilds\apache-karaf-4.2.6\apache-karaf-4.2.6\bin>client.bat 
Logging in as karaf 
Error executing command: Cannot coerce 1() to any of [] 

When i compared the client.bats of 4.2.4 (which is working) with 4.2.6 one,
it seems below difference causing the issue as if we revert these to as of
4.2.4 client.bat it is working fine again 

:EXECUTE 
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 

Can you please help me to resolve this ? is it okay to remove the %10 %11
straight away ? will that causes any issues ? or any change in usage of the
client.bat ? 

Please help. 

Regards 
Ravi 



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

Mime
View raw message