[ 
https://issues.apache.org/jira/browse/KARAF-7741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765145#comment-17765145
 ] 

Jean-Baptiste Onofré commented on KARAF-7741:
---------------------------------------------

Thanks for sharing. I think I know the problem (I will double check): 
{{scr:list}} is not a Karaf command (from a code perspective, it's not provided 
by Karaf), it's directly a Felix command (gogo). So it's possible the session 
handling is slightly different. Let me try to reproduce and come back to you 
with a solution.

> scr commands not working remotely with Session Object in karaf
> --------------------------------------------------------------
>
>                 Key: KARAF-7741
>                 URL: https://issues.apache.org/jira/browse/KARAF-7741
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.15
>         Environment: Karaf 2.4.15 
> Running commands remotely. Using Session and SessionFactory object.
>            Reporter: Aishani
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 4.2.15
>
>
> Trying to run commands like ls, scr and bundle commands remotely using the 
> session object implementation of karaf. The implementation includes hitting 
> an API with required parameters and command required to be run. The response 
> received should give the exact response that we should we if get when we run 
> the command from within karaf shell using command line. The bundle commands 
> are giving correct response. However, the scr and ls commands are not giving 
> any response, getting an empty array as a response.



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

Reply via email to