Re: Command not found: Error in Karaf shell

2018-10-25 Thread Jean-Baptiste Onofré
Don't you have a refresh happen after feature:install or bundle:start ?

Do you have a test case to reproduce it ?

Thanks,
Regards
JB

On 25/10/2018 13:00, Oleg Cohen wrote:
> Hi JB,
> 
> What happens is that from that point on, no command works. I did try
> the fully qualified name. No luck. What I noticed this happens after
> either feature:install or bundle:start. I don’t notice anything in the
> logs that points to any specific Karaf failure.
> 
> Thank you,
> Oleg
> 
>> On Oct 25, 2018, at 12:26 AM, Jean-Baptiste Onofré  wrote:
>>
>> Hi Oleg,
>>
>> can you please if the full qualified name of the command still works ?
>>
>> Instead of restart, try bundle:restart for instance.
>>
>> I never had any issue on that kind.
>>
>> Regards
>> JB
>>
>>> On 24/10/2018 18:00, Oleg Cohen wrote:
>>> Greetings,
>>>
>>> I run Karaf 4.2.1 on Mac in an iTerm2 window from the command line:
>>>
 ./bin/karaf debug
>>>
>>> All works fine, but sometimes, and I can’t determine what leads to it 
>>> commands stop working. Name completion works, but when I execute a command, 
>>> for example restart 182, I get the following message:
>>>
>>> Command not found: restart
>>>
>>> I need to stop Karaf and re-launch. I am wondering if anybody ran into a 
>>> similar issue and if there is a way to diagnose/troubleshoot the system.
>>>
>>> Thank you!
>>> Oleg
>>>


Re: Command not found: Error in Karaf shell

2018-10-24 Thread Jean-Baptiste Onofré
Hi Oleg,

can you please if the full qualified name of the command still works ?

Instead of restart, try bundle:restart for instance.

I never had any issue on that kind.

Regards
JB

On 24/10/2018 18:00, Oleg Cohen wrote:
> Greetings,
> 
> I run Karaf 4.2.1 on Mac in an iTerm2 window from the command line:
> 
>> ./bin/karaf debug
> 
> All works fine, but sometimes, and I can’t determine what leads to it 
> commands stop working. Name completion works, but when I execute a command, 
> for example restart 182, I get the following message:
> 
> Command not found: restart
> 
> I need to stop Karaf and re-launch. I am wondering if anybody ran into a 
> similar issue and if there is a way to diagnose/troubleshoot the system.
> 
> Thank you!
> Oleg
> 


Re: Command not found: Error in Karaf shell

2018-10-24 Thread Oleg Cohen
Hi François,

I didn’t notice anything specific, let me try reproduce and grab the log.

Thank you,
Oleg


> On Oct 24, 2018, at 12:25 PM, Francois Papon  
> wrote:
> 
> Hi Oleg,
> 
> Did you have some logs when the error occured ?
> 
> regards,
> 
> François Papon
> fpa...@apache.org
> 
> Le 24/10/2018 à 20:00, Oleg Cohen a écrit :
>> Greetings,
>> 
>> I run Karaf 4.2.1 on Mac in an iTerm2 window from the command line:
>> 
>>> ./bin/karaf debug
>> All works fine, but sometimes, and I can’t determine what leads to it 
>> commands stop working. Name completion works, but when I execute a command, 
>> for example restart 182, I get the following message:
>> 
>> Command not found: restart
>> 
>> I need to stop Karaf and re-launch. I am wondering if anybody ran into a 
>> similar issue and if there is a way to diagnose/troubleshoot the system.
>> 
>> Thank you!
>> Oleg
> 



Re: Command not found: Error in Karaf shell

2018-10-24 Thread Francois Papon
Hi Oleg,

Did you have some logs when the error occured ?

regards,

François Papon
fpa...@apache.org

Le 24/10/2018 à 20:00, Oleg Cohen a écrit :
> Greetings,
>
> I run Karaf 4.2.1 on Mac in an iTerm2 window from the command line:
>
>> ./bin/karaf debug
> All works fine, but sometimes, and I can’t determine what leads to it 
> commands stop working. Name completion works, but when I execute a command, 
> for example restart 182, I get the following message:
>
> Command not found: restart
>
> I need to stop Karaf and re-launch. I am wondering if anybody ran into a 
> similar issue and if there is a way to diagnose/troubleshoot the system.
>
> Thank you!
> Oleg



Command not found: Error in Karaf shell

2018-10-24 Thread Oleg Cohen
Greetings,

I run Karaf 4.2.1 on Mac in an iTerm2 window from the command line:

> ./bin/karaf debug

All works fine, but sometimes, and I can’t determine what leads to it commands 
stop working. Name completion works, but when I execute a command, for example 
restart 182, I get the following message:

Command not found: restart

I need to stop Karaf and re-launch. I am wondering if anybody ran into a 
similar issue and if there is a way to diagnose/troubleshoot the system.

Thank you!
Oleg