You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Daniel Dominguez (JIRA)" <ji...@apache.org> on 2009/10/22 22:08:59 UTC

[jira] Created: (FELIX-1798) Unable to extend the console shell in current snapshot

Unable to extend the console shell in current snapshot
------------------------------------------------------

                 Key: FELIX-1798
                 URL: https://issues.apache.org/jira/browse/FELIX-1798
             Project: Felix
          Issue Type: Bug
          Components: Karaf
            Reporter: Daniel Dominguez


I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  

When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770425#action_12770425 ] 

Guillaume Nodet commented on FELIX-1798:
----------------------------------------

Richard, your patch seems to fix the issue :-)

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-1798.
------------------------------------

    Resolution: Fixed

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Daniel Dominguez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768932#action_12768932 ] 

Daniel Dominguez commented on FELIX-1798:
-----------------------------------------

Appears related to https://issues.apache.org/jira/browse/FELIX-1772

If I build with felix framework 2.0.0, then the command begins to work again.

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769125#action_12769125 ] 

Karl Pauls commented on FELIX-1798:
-----------------------------------

Maybe. However, notice that if it is related to FELIX-1754 the issue could be resolved if you are able to change dynamic imports into import packages for all that packages that are used for the service isassignable matching. Not sure whether that is possible or a good idea in your case but still might be worth investigating...

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770238#action_12770238 ] 

Richard S. Hall commented on FELIX-1798:
----------------------------------------

I have attached a diff to FELIX-1754 that I hope might address this issue too. If someone could apply it and test it, that would be great. Thanks.

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768941#action_12768941 ] 

Karl Pauls commented on FELIX-1798:
-----------------------------------

Could this be related to FELIX-1754 (towards the end of the discussion it looks like there is a bug in felix 2.0.1 but we still need to investigate it)?

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768859#action_12768859 ] 

Guillaume Nodet commented on FELIX-1798:
----------------------------------------

Can you check if the commands have been registered in the OSGi registry using the "osgi:ls -a" command and check the log for any error ?

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Daniel Dominguez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768908#action_12768908 ] 

Daniel Dominguez commented on FELIX-1798:
-----------------------------------------

osgi:ls -a output:

jbi-karaf-commands (32) provides:
---------------------------------
org.osgi.service.command.Function, org.apache.felix.karaf.shell.console.CompletableFunction
org.osgi.service.blueprint.container.BlueprintContainer


Also, no errors appear in the log file

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770521#action_12770521 ] 

Richard S. Hall commented on FELIX-1798:
----------------------------------------

Good news.Well, I will try to ponder this solution a little more to make sure it makes sense before committing it.

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769185#action_12769185 ] 

Guillaume Nodet commented on FELIX-1798:
----------------------------------------

I've updated the karaf user's guide to introduce a fix for this problem, see http://cwiki.apache.org/FELIX/61-extending-the-console.html
The problem is that when checking if a reference is compatible with a bundle, felix  wants the service exporter to have be wired to the package containing the exported interface.  I'm still not clear is this is a bug or not (though i tend to think it is).  The work around is to ensure that the bundle is wired against all the packages that are used to export service interfaces.

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769105#action_12769105 ] 

Guillaume Nodet commented on FELIX-1798:
----------------------------------------

Then we may want to revert FELIX-1772 back to Felix Framework 2.0.0 is it works better.  I will try to reproduce the issue.

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1798) Unable to extend the console shell in current snapshot

Posted by "Daniel Dominguez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769219#action_12769219 ] 

Daniel Dominguez commented on FELIX-1798:
-----------------------------------------

I've verified that the workaround works for me.  Thanks!

> Unable to extend the console shell in current snapshot
> ------------------------------------------------------
>
>                 Key: FELIX-1798
>                 URL: https://issues.apache.org/jira/browse/FELIX-1798
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Daniel Dominguez
>
> I've followed the instructions from http://felix.apache.org/site/61-extending-the-console.html on extending the karaf console shell.  
> When I install my bundle into the current Karaf 1.1.0-SNAPSHOT, the osgi bundle installs but the command cannot be found.  I found this working properly in the Karaf 1.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.