You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Filippo Diotalevi (JIRA)" <ji...@apache.org> on 2009/07/19 13:42:14 UTC

[jira] Resolved: (FELIX-1382) FileInstall attempts to uninstall "System Bundle"

     [ https://issues.apache.org/jira/browse/FELIX-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filippo Diotalevi resolved FELIX-1382.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: fileinstall-1.4.0

Hi Sahoo,
  I've reproduced the bug in my local installation and applied the patch.

svn ci -m "FELIX-1382. FileInstall attempts to uninstall SystemBundle. Patch provided by Sahoo"
Sending        fileinstall/src/main/java/org/apache/felix/fileinstall/Jar.java
Transmitting file data .
Committed revision 795520.

Please close the issue if satisfied.


> 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
>            Assignee: Filippo Diotalevi
>            Priority: Minor
>             Fix For: fileinstall-1.4.0
>
>         Attachments: Felix-1382.patch
>
>
> 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.