You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Eoghan Glynn (JIRA)" <ji...@apache.org> on 2009/09/21 12:54:00 UTC

[jira] Created: (SMX4NMR-153) Dereferencing failure during Blueprint Service shutdown

Dereferencing failure during Blueprint Service shutdown 
--------------------------------------------------------

                 Key: SMX4NMR-153
                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-153
             Project: ServiceMix NMR
          Issue Type: Test
    Affects Versions: 1.1.0
            Reporter: Eoghan Glynn
            Assignee: Eoghan Glynn
             Fix For: 1.1.0


Deferencing of the injected ManagementStrategy proxy fails with[1] if the Blueprint Service is itself being shutdown.

This looks like a race between the AdminCommandsImpl destroy-method being called and Blueprint itself being shutdown.

If the entire framework is being shutdown, its not crucial that ManagementStrategy.unmanageObject() be successful, so the ServiceUnavailableException can probably just be ignored. 

[1]
org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed
	at org.apache.geronimo.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:175)
	at org.apache.geronimo.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
	at org.apache.geronimo.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:200)
	at org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$CgLibProxyFactory$1.loadObject(AbstractServiceReferenceRecipe.java:578)
	at org.fusesource.commons.management.ManagementStrategy$$EnhancerByCGLIB$$5523ee5f.unmanageObject(<generated>)
	at org.apache.servicemix.jbi.deployer.impl.AdminCommandsImpl.destroy(AdminCommandsImpl.java:452)

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


[jira] Commented: (SMX4NMR-153) Dereferencing failure during Blueprint Service shutdown

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4NMR-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54392#action_54392 ] 

Eoghan Glynn commented on SMX4NMR-153:
--------------------------------------

Committed: http://svn.apache.org/viewvc?rev=817203&view=rev

> Dereferencing failure during Blueprint Service shutdown 
> --------------------------------------------------------
>
>                 Key: SMX4NMR-153
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-153
>             Project: ServiceMix NMR
>          Issue Type: Test
>    Affects Versions: 1.1.0
>            Reporter: Eoghan Glynn
>            Assignee: Eoghan Glynn
>             Fix For: 1.1.0
>
>
> Deferencing of the injected ManagementStrategy proxy fails with[1] if the Blueprint Service is itself being shutdown.
> This looks like a race between the AdminCommandsImpl destroy-method being called and Blueprint itself being shutdown.
> If the entire framework is being shutdown, its not crucial that ManagementStrategy.unmanageObject() be successful, so the ServiceUnavailableException can probably just be ignored. 
> [1]
> org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:175)
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:200)
> 	at org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$CgLibProxyFactory$1.loadObject(AbstractServiceReferenceRecipe.java:578)
> 	at org.fusesource.commons.management.ManagementStrategy$$EnhancerByCGLIB$$5523ee5f.unmanageObject(<generated>)
> 	at org.apache.servicemix.jbi.deployer.impl.AdminCommandsImpl.destroy(AdminCommandsImpl.java:452)

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


[jira] Resolved: (SMX4NMR-153) Dereferencing failure during Blueprint Service shutdown

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

Eoghan Glynn resolved SMX4NMR-153.
----------------------------------

    Resolution: Fixed

> Dereferencing failure during Blueprint Service shutdown 
> --------------------------------------------------------
>
>                 Key: SMX4NMR-153
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-153
>             Project: ServiceMix NMR
>          Issue Type: Test
>    Affects Versions: 1.1.0
>            Reporter: Eoghan Glynn
>            Assignee: Eoghan Glynn
>             Fix For: 1.1.0
>
>
> Deferencing of the injected ManagementStrategy proxy fails with[1] if the Blueprint Service is itself being shutdown.
> This looks like a race between the AdminCommandsImpl destroy-method being called and Blueprint itself being shutdown.
> If the entire framework is being shutdown, its not crucial that ManagementStrategy.unmanageObject() be successful, so the ServiceUnavailableException can probably just be ignored. 
> [1]
> org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:175)
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:200)
> 	at org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$CgLibProxyFactory$1.loadObject(AbstractServiceReferenceRecipe.java:578)
> 	at org.fusesource.commons.management.ManagementStrategy$$EnhancerByCGLIB$$5523ee5f.unmanageObject(<generated>)
> 	at org.apache.servicemix.jbi.deployer.impl.AdminCommandsImpl.destroy(AdminCommandsImpl.java:452)

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


[jira] Work started: (SMX4NMR-153) Dereferencing failure during Blueprint Service shutdown

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

Work on SMX4NMR-153 started by Eoghan Glynn.

> Dereferencing failure during Blueprint Service shutdown 
> --------------------------------------------------------
>
>                 Key: SMX4NMR-153
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-153
>             Project: ServiceMix NMR
>          Issue Type: Test
>    Affects Versions: 1.1.0
>            Reporter: Eoghan Glynn
>            Assignee: Eoghan Glynn
>             Fix For: 1.1.0
>
>
> Deferencing of the injected ManagementStrategy proxy fails with[1] if the Blueprint Service is itself being shutdown.
> This looks like a race between the AdminCommandsImpl destroy-method being called and Blueprint itself being shutdown.
> If the entire framework is being shutdown, its not crucial that ManagementStrategy.unmanageObject() be successful, so the ServiceUnavailableException can probably just be ignored. 
> [1]
> org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:175)
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
> 	at org.apache.geronimo.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:200)
> 	at org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$CgLibProxyFactory$1.loadObject(AbstractServiceReferenceRecipe.java:578)
> 	at org.fusesource.commons.management.ManagementStrategy$$EnhancerByCGLIB$$5523ee5f.unmanageObject(<generated>)
> 	at org.apache.servicemix.jbi.deployer.impl.AdminCommandsImpl.destroy(AdminCommandsImpl.java:452)

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