You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Karthick (Jira)" <ji...@apache.org> on 2022/11/01 05:55:00 UTC

[jira] [Updated] (KARAF-7603) Exception while trying to get Karaf shell

     [ https://issues.apache.org/jira/browse/KARAF-7603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthick updated KARAF-7603:
----------------------------
    Description: 
We use Karaf 4.3.8 and 4.4.2 and fire some commands to get bundle status etc from karaf shell. This works properly till 4.3.7 and 4.4.1 but once we stepped to latest patch version of these (4.4.2 and 4.3.8), then we get the following exception

bash-4.4$ client

_client: Ignoring predefined value for KARAF_HOME_

_Logging in as karaf_

*_DefaultOpenFuture[ChannelShell[id=0, recipient=-1]-ClientSessionImpl[karaf@/127.0.0.1:8101]]: Failed (IllegalArgumentException) to execute: Invalid UINT32 value: -1_*

_command terminated with exit code 1_

------------------------------------------

While in the earlier version 4.3.7 (and 4.4.1)

 

bash-4.4$ client
client: Ignoring predefined value for KARAF_HOME
Logging in as karaf
        __ _                  __                  ___      
       / //{_}/{_}___ __________ _/ __/      
      / ,<  / __ `/ __{_}/ __ `/ /{_}        
     / /| |/ /{_}/ / /  / /{_}/ / __/        
    /{_}/ |{_}|_{_},{_}/{_}/   _{_},{_}/{_}/         

 

 Apache Karaf (4.3.7)

 

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown Karaf.
Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.

 

karaf@root()>                                                                    

  was:
We use Karaf 4.3.8 and 4.4.2 and fire some commands to get bundle status etc from karaf shell. This works properly till 4.3.7 and 4.4.1 but once we stepped to latest patch version of these (4.4.2 and 4.3.8), then we get the following exception

bash-4.4$ client

_Defaulted container "test"_

_client: Ignoring predefined value for KARAF_HOME_

_Logging in as karaf_

*_DefaultOpenFuture[ChannelShell[id=0, recipient=-1]-ClientSessionImpl[karaf@/127.0.0.1:8101]]: Failed (IllegalArgumentException) to execute: Invalid UINT32 value: -1_*

_command terminated with exit code 1_

------------------------------------------

While in the earlier version 4.3.7 (and 4.4.1)

 

bash-4.4$ client
client: Ignoring predefined value for KARAF_HOME
Logging in as karaf
        __ __                  ____      
       / //_/____ __________ _/ __/      
      / ,<  / __ `/ ___/ __ `/ /_        
     / /| |/ /_/ / /  / /_/ / __/        
    /_/ |_|\__,_/_/   \__,_/_/         

 

 Apache Karaf (4.3.7)

 

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown Karaf.
Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.

 

karaf@root()>                                                                    


> Exception while trying to get Karaf shell
> -----------------------------------------
>
>                 Key: KARAF-7603
>                 URL: https://issues.apache.org/jira/browse/KARAF-7603
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.3.8, 4.4.2
>            Reporter: Karthick
>            Priority: Major
>
> We use Karaf 4.3.8 and 4.4.2 and fire some commands to get bundle status etc from karaf shell. This works properly till 4.3.7 and 4.4.1 but once we stepped to latest patch version of these (4.4.2 and 4.3.8), then we get the following exception
> bash-4.4$ client
> _client: Ignoring predefined value for KARAF_HOME_
> _Logging in as karaf_
> *_DefaultOpenFuture[ChannelShell[id=0, recipient=-1]-ClientSessionImpl[karaf@/127.0.0.1:8101]]: Failed (IllegalArgumentException) to execute: Invalid UINT32 value: -1_*
> _command terminated with exit code 1_
> ------------------------------------------
> While in the earlier version 4.3.7 (and 4.4.1)
>  
> bash-4.4$ client
> client: Ignoring predefined value for KARAF_HOME
> Logging in as karaf
>         __ _                  __                  ___      
>        / //{_}/{_}___ __________ _/ __/      
>       / ,<  / __ `/ __{_}/ __ `/ /{_}        
>      / /| |/ /{_}/ / /  / /{_}/ / __/        
>     /{_}/ |{_}|_{_},{_}/{_}/   _{_},{_}/{_}/         
>  
>  Apache Karaf (4.3.7)
>  
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit 'system:shutdown' to shutdown Karaf.
> Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.
>  
> karaf@root()>                                                                    



--
This message was sent by Atlassian Jira
(v8.20.10#820010)