cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "younes Ter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-3724) Problem with CXF migration !!
Date Tue, 09 Aug 2011 11:23:27 GMT
Problem with CXF migration !!
-----------------------------

                 Key: CXF-3724
                 URL: https://issues.apache.org/jira/browse/CXF-3724
             Project: CXF
          Issue Type: Bug
            Reporter: younes Ter


Hi,
 Currently working on a large project based on SOA architecture, hence the use of CXF framework.
 The team decided to migrate from  2.2.7 version of  CXF to 2.4.
 The problem occurs when starting tomcat server. You will find enclosed the server console.

 
***********************************************************************************************
******************************   Server Console ***********************************************
***********************************************************************************************

 INFO   | jvm 1    | main    | 2011/08/08 17:26:28.690 | 2011-08-08 19:26:28,638 ERROR pringframework.web.context.ContextLoader
- Context initialization failed
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.690 | org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.springframework.security.config.http.UserDetailsServiceInjectionBeanPostProcessor#0':
Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]:
Initialization of bean failed; nested exception is java.lang.IllegalStateException: ApplicationEventMulticaster
not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext:
startup date [Mon Aug 08 19:26:28 CEST 2011]; parent: org.springframework.context.support.GenericApplicationContext@76f1f4
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.690 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.691 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.691 | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.691 | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.692 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.692 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.692 | 	at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:683)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.693 | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:401)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.693 | 	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.694 | 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.694 | 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.694 | 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.695 | 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.695 | 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.695 | 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.695 | 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.696 | 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.696 | 	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.696 | 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.696 | 	at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.696 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.697 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.698 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.698 | 	at java.lang.reflect.Method.invoke(Unknown
Source)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.698 | 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.698 | 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.699 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.699 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.699 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.699 | 	at java.lang.reflect.Method.invoke(Unknown
Source)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.700 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.700 | 	at java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.700 | Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]:
Initialization of bean failed; nested exception is java.lang.IllegalStateException: ApplicationEventMulticaster
not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext:
startup date [Mon Aug 08 19:26:28 CEST 2011]; parent: org.springframework.context.support.GenericApplicationContext@76f1f4
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.700 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.701 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.701 | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.701 | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.702 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.702 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.702 | 	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1004)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.703 | 	at org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.getResourceManager(Jsr250BeanPostProcessor.java:81)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.703 | 	at org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessBeforeInitialization(Jsr250BeanPostProcessor.java:126)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.704 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.704 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1394)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.704 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.705 | 	... 31 more
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.705 | Caused by: java.lang.IllegalStateException:
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via
the context: Root WebApplicationContext: startup date [Mon Aug 08 19:26:28 CEST 2011]; parent:
org.springframework.context.support.GenericApplicationContext@76f1f4
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.706 | 	at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:307)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.706 | 	at org.springframework.context.support.AbstractApplicationContext.addListener(AbstractApplicationContext.java:827)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.707 | 	at org.springframework.context.support.AbstractApplicationContext.addApplicationListener(AbstractApplicationContext.java:367)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.707 | 	at org.apache.cxf.bus.spring.SpringBus.setApplicationContext(SpringBus.java:52)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.707 | 	at org.springframework.context.support.ApplicationContextAwareProcessor.doProcess(ApplicationContextAwareProcessor.java:116)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.707 | 	at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:99)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.708 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.709 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1394)
INFO   | jvm 1    | main    | 2011/08/08 17:26:28.709 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message