You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/06/11 14:55:07 UTC
[jira] Created: (CXF-2279) Current ConfigureImpl is not application
refresh friendly
Current ConfigureImpl is not application refresh friendly
---------------------------------------------------------
Key: CXF-2279
URL: https://issues.apache.org/jira/browse/CXF-2279
Project: CXF
Issue Type: Bug
Affects Versions: 2.2.2, 2.2.1, 2.1.5, 2.1.4
Reporter: Willem Jiang
Assignee: Willem Jiang
When call the ConfigurerImpl.addApplicationContext(ctx) to add a new application context, we need to check if the ConfigureImpl's ApplicationContext is closed.
Since if we closed the application context which the ConfigureImpl has and add a new application context to it, we will got the exception of "BeanFactory not initialized or already closed".
And this is a common use case in OSGi world, such as refresh a OSGi Bundle with a camel-cxf route.
I workaround this issue by clean up the BusFactory default factory[1] when the application context is closed, but we still need to fix this issue in CXF.
[1] https://issues.apache.org/activemq/browse/CAMEL-1696
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-2279) Current ConfigureImpl is not
application refresh friendly
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-2279.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.3
2.1.6
2.0.12
> Current ConfigureImpl is not application refresh friendly
> ---------------------------------------------------------
>
> Key: CXF-2279
> URL: https://issues.apache.org/jira/browse/CXF-2279
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.1.4, 2.1.5, 2.2.1, 2.2.2
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.0.12, 2.1.6, 2.2.3
>
>
> When call the ConfigurerImpl.addApplicationContext(ctx) to add a new application context, we need to check if the ConfigureImpl's ApplicationContext is closed.
> Since if we closed the application context which the ConfigureImpl has and add a new application context to it, we will got the exception of "BeanFactory not initialized or already closed".
> And this is a common use case in OSGi world, such as refresh a OSGi Bundle with a camel-cxf route.
> I workaround this issue by clean up the BusFactory default factory[1] when the application context is closed, but we still need to fix this issue in CXF.
> [1] https://issues.apache.org/activemq/browse/CAMEL-1696
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.