[ https://issues.apache.org/jira/browse/FELIX-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830110#action_12830110 ]
Richard S. Hall commented on FELIX-2045: ---------------------------------------- Well, it may or may not be buggy, but it is implemented: public void update(InputStream is) throws BundleException { Object sm = System.getSecurityManager(); if (sm != null) { ((SecurityManager) sm).checkPermission(new AdminPermission(this, AdminPermission.EXECUTE)); } // Spec says to close input stream first. try { if (is != null) is.close(); } catch (IOException ex) { m_logger.log(Logger.LOG_WARNING, "Exception closing input stream.", ex); } // Then to stop and restart the framework on a separate thread. new Thread(new Runnable() { public void run() { try { // First acquire the system bundle lock to verify the state. acquireBundleLock(Felix.this, Bundle.STARTING | Bundle.ACTIVE); // Set the reason for the shutdown. m_shutdownGate.setMessage( new FrameworkEvent(FrameworkEvent.STOPPED_UPDATE, Felix.this, null)); // Record the state and stop the system bundle. int oldState = Felix.this.getState(); try { stop(); ... > Restarting the framework from the web console (or using update on the system > bundle) does not work > -------------------------------------------------------------------------------------------------- > > Key: FELIX-2045 > URL: https://issues.apache.org/jira/browse/FELIX-2045 > Project: Felix > Issue Type: Bug > Components: Karaf > Affects Versions: karaf-1.2.0 > Reporter: Guillaume Nodet > Assignee: Guillaume Nodet > Fix For: karaf-1.4.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.