You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jon Brisbin (JIRA)" <ji...@apache.org> on 2008/12/02 22:31:05 UTC

[jira] Created: (SMX4KNL-155) Error changing manifest while bundle is deployed

Error changing manifest while bundle is deployed
------------------------------------------------

                 Key: SMX4KNL-155
                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
             Project: ServiceMix Kernel
          Issue Type: Bug
    Affects Versions: 1.1.0
         Environment: SMX4 kernel from SVN trunk
            Reporter: Jon Brisbin


I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:

ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.

I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Commented: (SMX4KNL-155) Error changing manifest while bundle is deployed

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49384#action_49384 ] 

Jean-Baptiste Onofré commented on SMX4KNL-155:
----------------------------------------------

Works for me too.

Jon, could you try using the latest kernel trunk ?

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Assigned: (SMX4KNL-155) Error changing manifest while bundle is deployed

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

Jean-Baptiste Onofré reassigned SMX4KNL-155:
--------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Resolved: (SMX4KNL-155) Error changing manifest while bundle is deployed

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

Jean-Baptiste Onofré resolved SMX4KNL-155.
------------------------------------------

    Resolution: Cannot Reproduce

Jon, I resolve this bug as Cannot Reproduce.

Please, reopen it if you encounter the same issue.

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Commented: (SMX4KNL-155) Error changing manifest while bundle is deployed

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49361#action_49361 ] 

Jean-Baptiste Onofré commented on SMX4KNL-155:
----------------------------------------------

OK, I try to reproduce.

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Updated: (SMX4KNL-155) Error changing manifest while bundle is deployed

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

Guillaume Nodet updated SMX4KNL-155:
------------------------------------

    Fix Version/s: 1.1.0

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Commented: (SMX4KNL-155) Error changing manifest while bundle is deployed

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49373#action_49373 ] 

Chris Custine commented on SMX4KNL-155:
---------------------------------------

This seems to be working for me.  Jon, could you add attach your servicemix.log file and it might also help to let us know what manifest values you are editing (including before and after values).  After looking at the Felix code for BundleContextImpl I think this is going to end up being something specific to the steps or contents of your edits so if you can add anything here it might help diagnose.

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Commented: (SMX4KNL-155) Error changing manifest while bundle is deployed

Posted by "Jon Brisbin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49346#action_49346 ] 

Jon Brisbin commented on SMX4KNL-155:
-------------------------------------

I think the key phrase from my original issue is "the manifest file inside the jar". NOT an exploded bundle, but a bundle in a jar file.

You have to vi the jar file, then edit the manifest (without unzipping the jar).

I was also using 1.1 from the beginning of December. I haven't tried it lately with trunk.

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Commented: (SMX4KNL-155) Error changing manifest while bundle is deployed

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49207#action_49207 ] 

Jean-Baptiste Onofré commented on SMX4KNL-155:
----------------------------------------------

First, I reproduce the error.

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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


[jira] Commented: (SMX4KNL-155) Error changing manifest while bundle is deployed

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49344#action_49344 ] 

Jean-Baptiste Onofré commented on SMX4KNL-155:
----------------------------------------------

I can't reproduce the issue.

The steps that I have done follow :
* build and install SMX kernel from the trunk
* start the SMX kernel :
 ServiceMix Kernel (1.1.0-SNAPSHOT)

Type 'help' for more information.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
smx@root:/>
smx@root:/> about
root
1.1.0-SNAPSHOT

For information about ServiceMix Kernel, visit:
    http://servicemix.apache.org/kernel/

smx@root:/>

* copy a exploded OSGi bundle in the deploy directory :
[ 54] [Active ] [ ] [ 60] Fimasys FSB :: Bundles :: commons-codec (1.3)

* change the MANIFEST.MF (change the Bundle-Version from 1.3 to 1.4)

* make a new osgi list :
[ 58] [Active ] [ ] [ 60] Fimasys FSB :: Bundles :: commons-codec (1.4)

* the bundle version has changed without error. The MANIFEST.MF has been taken by the kernel.

Could you give more explanation about you have made ?

Regards
JB

> Error changing manifest while bundle is deployed
> ------------------------------------------------
>
>                 Key: SMX4KNL-155
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-155
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: SMX4 kernel from SVN trunk
>            Reporter: Jon Brisbin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 1.1.0
>
>
> I'm getting the following error trying to list installed bundles after tweaking the manifest file of already deployed bundles using vi:
> ERROR CommandLineExecutionFailed: java.lang.IllegalStateException: Invalid BundleContext.
> I'm tweaking my hand-made bundles in the deploy directory to make everything happy and any time I edit the manifest file inside the jar, I have to restart SMX kernel.

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