You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by XiLai Dai <xl...@talend.com> on 2013/07/03 03:44:24 UTC

Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9

Hi,

Don't know if it's a known issue, the macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9.

D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u karaf -p karaf "osgi:list"
START LEVEL 100 , List Threshold: 50
   ID   State         Blueprint      Level  Name
D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u karaf -p karaf "bundle:list"
Command not found: bundle:list

For 2.3.1, it works fine. Is there a patch or something can be applied to fix this problem on 2.2.9?

Thanks.
Xilai

RE: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9

Posted by XiLai Dai <xl...@talend.com>.
Thanks much JB! will check if we can upgrade to 2.2.11 without any other risk.

BR
Xilai
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net] 
Sent: Wednesday, July 03, 2013 10:47 PM
To: user@karaf.apache.org
Subject: Re: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9

Hi Xilai,

I just checked:
https://issues.apache.org/jira/browse/KARAF-1327

And I already fixed this issue on karaf-2.2.x branch. It's included in Karaf 2.2.11.

So, you just have to upgrade from Karaf 2.2.9 to 2.2.11 and it should work.

Regards
JB

On 07/03/2013 09:13 AM, XiLai Dai wrote:
> Thanks! JB,
>
> Seems the latest release version for 2.2.x branch is 2.2.11. so if you backport this fix to 2.2.x branch, then, we need to upgrade karaf to 2.2.12-snapshot, is right? And when the 2.2.12 is supposed to be released?
>
> Thanks!
> Xilai
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Sent: Wednesday, July 03, 2013 2:06 PM
> To: user@karaf.apache.org
> Subject: Re: Macro commands which defined in the etc/shell.init.script 
> executed fail from ssh client of 2.2.9
>
> Hi Xilai,
>
> You are right: it's a known issue around the aliases.
>
> I fixed that on 2.3.x branch, but not on 2.2.x. Do you want this fix on 2.2.x as well ?
>
> Regards
> JB
>
> On 07/03/2013 03:44 AM, XiLai Dai wrote:
>> Hi,
>>
>> Don't know if it's a known issue, the macro commands which defined in 
>> the etc/shell.init.script executed fail from ssh client of 2.2.9.
>>
>> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost 
>> -u karaf -p karaf "osgi:list"
>>
>> START LEVEL 100 , List Threshold: 50
>>
>>      ID   State         Blueprint      Level  Name
>>
>> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost 
>> -u karaf -p karaf "bundle:list"
>>
>> Command not found: bundle:list
>>
>> For 2.3.1, it works fine. Is there a patch or something can be 
>> applied to fix this problem on 2.2.9?
>>
>> Thanks.
>>
>> Xilai
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Xilai,

I just checked:
https://issues.apache.org/jira/browse/KARAF-1327

And I already fixed this issue on karaf-2.2.x branch. It's included in 
Karaf 2.2.11.

So, you just have to upgrade from Karaf 2.2.9 to 2.2.11 and it should work.

Regards
JB

On 07/03/2013 09:13 AM, XiLai Dai wrote:
> Thanks! JB,
>
> Seems the latest release version for 2.2.x branch is 2.2.11. so if you backport this fix to 2.2.x branch, then, we need to upgrade karaf to 2.2.12-snapshot, is right? And when the 2.2.12 is supposed to be released?
>
> Thanks!
> Xilai
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Sent: Wednesday, July 03, 2013 2:06 PM
> To: user@karaf.apache.org
> Subject: Re: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9
>
> Hi Xilai,
>
> You are right: it's a known issue around the aliases.
>
> I fixed that on 2.3.x branch, but not on 2.2.x. Do you want this fix on 2.2.x as well ?
>
> Regards
> JB
>
> On 07/03/2013 03:44 AM, XiLai Dai wrote:
>> Hi,
>>
>> Don't know if it's a known issue, the macro commands which defined in
>> the etc/shell.init.script executed fail from ssh client of 2.2.9.
>>
>> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u
>> karaf -p karaf "osgi:list"
>>
>> START LEVEL 100 , List Threshold: 50
>>
>>      ID   State         Blueprint      Level  Name
>>
>> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u
>> karaf -p karaf "bundle:list"
>>
>> Command not found: bundle:list
>>
>> For 2.3.1, it works fine. Is there a patch or something can be applied
>> to fix this problem on 2.2.9?
>>
>> Thanks.
>>
>> Xilai
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
You are right. Nothing is planned for 2.2.12, but I can review the Jira 
to prepare a maintenance release.

Regards
JB

On 07/03/2013 09:13 AM, XiLai Dai wrote:
> Thanks! JB,
>
> Seems the latest release version for 2.2.x branch is 2.2.11. so if you backport this fix to 2.2.x branch, then, we need to upgrade karaf to 2.2.12-snapshot, is right? And when the 2.2.12 is supposed to be released?
>
> Thanks!
> Xilai
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Sent: Wednesday, July 03, 2013 2:06 PM
> To: user@karaf.apache.org
> Subject: Re: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9
>
> Hi Xilai,
>
> You are right: it's a known issue around the aliases.
>
> I fixed that on 2.3.x branch, but not on 2.2.x. Do you want this fix on 2.2.x as well ?
>
> Regards
> JB
>
> On 07/03/2013 03:44 AM, XiLai Dai wrote:
>> Hi,
>>
>> Don't know if it's a known issue, the macro commands which defined in
>> the etc/shell.init.script executed fail from ssh client of 2.2.9.
>>
>> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u
>> karaf -p karaf "osgi:list"
>>
>> START LEVEL 100 , List Threshold: 50
>>
>>      ID   State         Blueprint      Level  Name
>>
>> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u
>> karaf -p karaf "bundle:list"
>>
>> Command not found: bundle:list
>>
>> For 2.3.1, it works fine. Is there a patch or something can be applied
>> to fix this problem on 2.2.9?
>>
>> Thanks.
>>
>> Xilai
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9

Posted by XiLai Dai <xl...@talend.com>.
Thanks! JB,

Seems the latest release version for 2.2.x branch is 2.2.11. so if you backport this fix to 2.2.x branch, then, we need to upgrade karaf to 2.2.12-snapshot, is right? And when the 2.2.12 is supposed to be released? 

Thanks!
Xilai
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net] 
Sent: Wednesday, July 03, 2013 2:06 PM
To: user@karaf.apache.org
Subject: Re: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9

Hi Xilai,

You are right: it's a known issue around the aliases.

I fixed that on 2.3.x branch, but not on 2.2.x. Do you want this fix on 2.2.x as well ?

Regards
JB

On 07/03/2013 03:44 AM, XiLai Dai wrote:
> Hi,
>
> Don't know if it's a known issue, the macro commands which defined in 
> the etc/shell.init.script executed fail from ssh client of 2.2.9.
>
> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u 
> karaf -p karaf "osgi:list"
>
> START LEVEL 100 , List Threshold: 50
>
>     ID   State         Blueprint      Level  Name
>
> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u 
> karaf -p karaf "bundle:list"
>
> Command not found: bundle:list
>
> For 2.3.1, it works fine. Is there a patch or something can be applied 
> to fix this problem on 2.2.9?
>
> Thanks.
>
> Xilai
>

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Macro commands which defined in the etc/shell.init.script executed fail from ssh client of 2.2.9

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Xilai,

You are right: it's a known issue around the aliases.

I fixed that on 2.3.x branch, but not on 2.2.x. Do you want this fix on 
2.2.x as well ?

Regards
JB

On 07/03/2013 03:44 AM, XiLai Dai wrote:
> Hi,
>
> Don’t know if it’s a known issue, the macro commands which defined in
> the etc/shell.init.script executed fail from ssh client of 2.2.9.
>
> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u
> karaf -p karaf "osgi:list"
>
> START LEVEL 100 , List Threshold: 50
>
>     ID   State         Blueprint      Level  Name
>
> D:\downloads\apache-karaf-2.2.9\bin>client.bat -a 8101 -h localhost -u
> karaf -p karaf "bundle:list"
>
> Command not found: bundle:list
>
> For 2.3.1, it works fine. Is there a patch or something can be applied
> to fix this problem on 2.2.9?
>
> Thanks.
>
> Xilai
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com