You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Zsolt Beothy-Elo (JIRA)" <ji...@apache.org> on 2012/10/23 16:43:12 UTC

[jira] [Created] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Zsolt Beothy-Elo created KARAF-1968:
---------------------------------------

             Summary: Uninstalling jndi feature leads to hanging Karaf
                 Key: KARAF-1968
                 URL: https://issues.apache.org/jira/browse/KARAF-1968
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.3.0, 2.2.9
         Environment: MAC OS X 10.8.2, ubuntu 12.04
            Reporter: Zsolt Beothy-Elo


When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
- console is frozen
- Access via ssh is also not possible anymore

Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-1968:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> Uninstalling jndi feature leads to hanging Karaf
> ------------------------------------------------
>
>                 Key: KARAF-1968
>                 URL: https://issues.apache.org/jira/browse/KARAF-1968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9, 2.3.0
>         Environment: MAC OS X 10.8.2, ubuntu 12.04
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>         Attachments: karaf-2.2.9-ubuntu.log
>
>
> When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
> - console is frozen
> - Access via ssh is also not possible anymore
> Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Posted by "Xilai Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509609#comment-13509609 ] 

Xilai Dai commented on KARAF-1968:
----------------------------------

org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed: (objectClass=org.osgi.service.packageadmin.PackageAdmin)

when adding: 
  <bundle dependency="true" start-level="20">mvn:org.apache.aries.blueprint/org.apache.aries.blueprint/0.3.2</bundle>
to the jndi feature.
                
> Uninstalling jndi feature leads to hanging Karaf
> ------------------------------------------------
>
>                 Key: KARAF-1968
>                 URL: https://issues.apache.org/jira/browse/KARAF-1968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9, 2.3.0
>         Environment: MAC OS X 10.8.2, ubuntu 12.04
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>         Attachments: karaf-2.2.9-ubuntu.log
>
>
> When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
> - console is frozen
> - Access via ssh is also not possible anymore
> Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Posted by "Xilai Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509642#comment-13509642 ] 

Xilai Dai commented on KARAF-1968:
----------------------------------

Hi, Achim, sorry but I don't see any feature which named "blueprint" in the std features file (both 2.2.9 and 2.3.0)
                
> Uninstalling jndi feature leads to hanging Karaf
> ------------------------------------------------
>
>                 Key: KARAF-1968
>                 URL: https://issues.apache.org/jira/browse/KARAF-1968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9, 2.3.0
>         Environment: MAC OS X 10.8.2, ubuntu 12.04
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>         Attachments: karaf-2.2.9-ubuntu.log
>
>
> When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
> - console is frozen
> - Access via ssh is also not possible anymore
> Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Posted by "Zsolt Beothy-Elo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zsolt Beothy-Elo updated KARAF-1968:
------------------------------------

    Attachment: karaf-2.2.9-ubuntu.log
    
> Uninstalling jndi feature leads to hanging Karaf
> ------------------------------------------------
>
>                 Key: KARAF-1968
>                 URL: https://issues.apache.org/jira/browse/KARAF-1968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9, 2.3.0
>         Environment: MAC OS X 10.8.2, ubuntu 12.04
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>         Attachments: karaf-2.2.9-ubuntu.log
>
>
> When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
> - console is frozen
> - Access via ssh is also not possible anymore
> Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Posted by "Xilai Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509539#comment-13509539 ] 

Xilai Dai commented on KARAF-1968:
----------------------------------

Not only jndi feature but also jpa feature which including org.apache.aries.util bundle has this problem when uninstall the feature.

Uninstall will work fine when comment this line: 
<!--bundle start-level="30">mvn:org.apache.aries/org.apache.aries.util/0.3.1</bundle-->

but don't know the root cause of this problem.
                
> Uninstalling jndi feature leads to hanging Karaf
> ------------------------------------------------
>
>                 Key: KARAF-1968
>                 URL: https://issues.apache.org/jira/browse/KARAF-1968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9, 2.3.0
>         Environment: MAC OS X 10.8.2, ubuntu 12.04
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>         Attachments: karaf-2.2.9-ubuntu.log
>
>
> When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
> - console is frozen
> - Access via ssh is also not possible anymore
> Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509633#comment-13509633 ] 

Achim Nierbeck commented on KARAF-1968:
---------------------------------------

I meant a dependency to the blueprint feature which is part of the std features file
                
> Uninstalling jndi feature leads to hanging Karaf
> ------------------------------------------------
>
>                 Key: KARAF-1968
>                 URL: https://issues.apache.org/jira/browse/KARAF-1968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9, 2.3.0
>         Environment: MAC OS X 10.8.2, ubuntu 12.04
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>         Attachments: karaf-2.2.9-ubuntu.log
>
>
> When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
> - console is frozen
> - Access via ssh is also not possible anymore
> Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509666#comment-13509666 ] 

Achim Nierbeck commented on KARAF-1968:
---------------------------------------

Sorry my fault, those are part of the startup.properties and therefore are not managed through feature anymore. This looks a bit like a bad side-effect of this separation of plain features and startup.properties "features". I think they used to be also available to the std. features in 2.2.x
                
> Uninstalling jndi feature leads to hanging Karaf
> ------------------------------------------------
>
>                 Key: KARAF-1968
>                 URL: https://issues.apache.org/jira/browse/KARAF-1968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9, 2.3.0
>         Environment: MAC OS X 10.8.2, ubuntu 12.04
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>         Attachments: karaf-2.2.9-ubuntu.log
>
>
> When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
> - console is frozen
> - Access via ssh is also not possible anymore
> Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1968) Uninstalling jndi feature leads to hanging Karaf

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509578#comment-13509578 ] 

Achim Nierbeck commented on KARAF-1968:
---------------------------------------

the root cause of this is most probably the fact, that the util bundle is also used by the blueprint bundles, therefore uninstalling it via this feature uninstalling leads to this. 
The features service somehow needs to make sure this doesn't happen, or a much simpler way would be to make jpa and jndi dependent on the blueprint feature and therefore remove the util bundle from those. 
                
> Uninstalling jndi feature leads to hanging Karaf
> ------------------------------------------------
>
>                 Key: KARAF-1968
>                 URL: https://issues.apache.org/jira/browse/KARAF-1968
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.9, 2.3.0
>         Environment: MAC OS X 10.8.2, ubuntu 12.04
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>         Attachments: karaf-2.2.9-ubuntu.log
>
>
> When I install the jndi feature from aries and then uninstall it again Karaf hangs, at least 
> - console is frozen
> - Access via ssh is also not possible anymore
> Under ubuntu  I get the following message on the console "Error executing command: Invalid BundleContext" before it freezes (only Karaf 2.2.9) and I see a java.lang.IllegalStateException with message "Invalid BundleContext" in the log (both 2.2.9 and 2.3.0), log is attached. Under Mac I don't see any console output nor any exception in the log. Karaf just hangs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira