[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2527) BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

Richard Opalka (JIRA) jira-events at lists.jboss.org
Thu Feb 19 05:25:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBWS-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12453212#action_12453212 ] 

Richard Opalka commented on JBWS-2527:
--------------------------------------

org.apache.cxf.BusFactory holds bus per thread in thread locals.
This thread local map needs to be cleaned up before constructing the service.


> BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-2527
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2527
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>            Reporter: Alessio Soldano
>            Assignee: Richard Opalka
>             Fix For: jbossws-cxf-3.1.0
>
>
> 02-11-2009 11:10:32: SVR-ERROR: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
> at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:121)
> at org.springframework.context.support.AbstractApplicationContext.containsBean(AbstractApplicationContext.java:765)
> at org.apache.cxf.configuration.spring.ConfigurerImpl.configureBean(ConfigurerImpl.java:118)
> at org.apache.cxf.jaxws.ServiceImpl.configureObject(ServiceImpl.java:513)
> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:429)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:292)
> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:287)
> at org.jboss.wsf.stack.cxf.client.ServiceRefStubPropertyServiceDelegate.getPort(ServiceRefStubPropertyServiceDelegate.java:172)
> at javax.xml.ws.Service.getPort(Service.java:44)
> at com.sun.ts.tests.jaxws.api.javax_xml_ws.Endpoint.Client.getPortJavaEE(Client.java:111)
> at com.sun.ts.tests.jaxws.api.javax_xml_ws.Endpoint.Client.setup(Client.java:189)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list