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

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

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.


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

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

Sahoo closed FELIX-1382.
------------------------


> 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.


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

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

Sahoo updated FELIX-1382:
-------------------------

    Attachment: Felix-1382.patch

Patch

> 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
>         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.


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

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

Filippo Diotalevi reassigned FELIX-1382:
----------------------------------------

    Assignee: Filippo Diotalevi

> 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
>         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.


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

Posted by "Filippo Diotalevi (JIRA)" <ji...@apache.org>.
     [ 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.