FileInstall attempts to uninstall "System Bundle"
-------------------------------------------------

                 Key: FELIX-1382
                 URL: https://issues.apache.org/jira/browse/FELIX-1382
             Project: Felix
          Issue Type: Bug
          Components: File Install
    Affects Versions: fileinstall-1.2.0
         Environment: generic
            Reporter: Sahoo
            Priority: Minor


This is pretty strange behavior that I observed when I started my program from 
the same directory which was observed by fileinstall. I saw the following 
output:

INFO: Failed to uninstall bundle: 
/space/ss141213/WS/gf/v3.trunk.new/publish/glassfishv3/glassfish/modules/System 
Bundle: org.osgi.framework.BundleException: Cannot uninstall the system bundle.
Jul 19, 2009 1:09:55 PM  
INFO: org.osgi.framework.BundleException: Cannot uninstall the system bundle.
Jul 19, 2009 1:09:55 PM  
INFO:   at org.apache.felix.framework.Felix.uninstall(Felix.java:796)
Jul 19, 2009 1:09:55 PM  
INFO:   at 
org.apache.felix.fileinstall.DirectoryWatcher.uninstall(DirectoryWatcher.java:758)
Jul 19, 2009 1:09:55 PM  
INFO:   at 
org.apache.felix.fileinstall.DirectoryWatcher.uninstall(DirectoryWatcher.java:644)
Jul 19, 2009 1:09:55 PM  
INFO:   at 
org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:379)
Jul 19, 2009 1:09:55 PM  
INFO:   at 
org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:123)

This is a regression. Looking at the code, I tracked this regression to changes 
made while fixing issue FELIX-1228. I am attaching a patch to address this bug.

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

Reply via email to