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

Jeremy Hughes updated ARIES-613:
--------------------------------

    Fix Version/s:     (was: blueprint-0.4.0)
                   blueprint.core-0.4
    
> use error() instead of info() log in BeanRecipe's destroy() on exception
> ------------------------------------------------------------------------
>
>                 Key: ARIES-613
>                 URL: https://issues.apache.org/jira/browse/ARIES-613
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: 0.3
>            Reporter: Tang Kin Chuen
>            Assignee: Alasdair Nottingham
>            Priority: Trivial
>             Fix For: blueprint.core-0.4
>
>
> Suggesting to change the following line in 
> org.apache.aries.blueprint.container.BeanRecipe's destroy() to LOGGER.error.
> LOGGER.info("Error invoking destroy method", getRealCause(e));
> 2011-03-15 22:21:04,760 INFO  [Thread:Gogo shell] 
> [8/org.apache.aries.blueprint/0.3.0]
> org.apache.aries.blueprint.container.BeanRecipe - Error invoking destroy 
> method
> org.osgi.service.blueprint.container.ServiceUnavailableException: The 
> Blueprint container is being or has been destroyed
>       at 
> org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:176)
>       at 
> org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
>       at 
> org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201)
>       at 
> org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)
> It is a trivial thing, but helps in troubleshooting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to