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] [Commented] (CXF-3724) Problem with CXF migration !!
Date Tue, 23 Aug 2011 12:35:30 GMT

    [ https://issues.apache.org/jira/browse/CXF-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089424#comment-13089424
] 

younes Ter commented on CXF-3724:
---------------------------------

Hi Daniel,

 Here is the exception that is sent to the lestener :

----
----
 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 22 01:04:22 CEST 2011]; parent: org.springframework.context.support.GenericApplicationContext@bf015
INFO | jvm 1 | main | 2011/08/21 23:04:23.860 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
INFO | jvm 1 | main | 2011/08/21 23:04:23.863 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
INFO | jvm 1 | main | 2011/08/21 23:04:23.865 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
INFO | jvm 1 | main | 2011/08/21 23:04:23.876 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
INFO | jvm 1 | main | 2011/08/21 23:04:23.878 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
INFO | jvm 1 | main | 2011/08/21 23:04:23.881 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
INFO | jvm 1 | main | 2011/08/21 23:04:23.892 | at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:683)
INFO | jvm 1 | main | 2011/08/21 23:04:23.894 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:401)
INFO | jvm 1 | main | 2011/08/21 23:04:23.897 | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
INFO | jvm 1 | main | 2011/08/21 23:04:23.899 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
INFO | jvm 1 | main | 2011/08/21 23:04:23.910 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
INFO | jvm 1 | main | 2011/08/21 23:04:23.913 | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
INFO | jvm 1 | main | 2011/08/21 23:04:23.915 | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
INFO | jvm 1 | main | 2011/08/21 23:04:23.926 | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
INFO | jvm 1 | main | 2011/08/21 23:04:23.928 | at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
INFO | jvm 1 | main | 2011/08/21 23:04:23.930 | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
INFO | jvm 1 | main | 2011/08/21 23:04:23.933 | at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
INFO | jvm 1 | main | 2011/08/21 23:04:23.944 | at org.apache.catalina.core.StandardService.start(StandardService.java:516)
INFO | jvm 1 | main | 2011/08/21 23:04:23.946 | at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
INFO | jvm 1 | main | 2011/08/21 23:04:23.948 | at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
INFO | jvm 1 | main | 2011/08/21 23:04:23.959 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
INFO | jvm 1 | main | 2011/08/21 23:04:23.961 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
INFO | jvm 1 | main | 2011/08/21 23:04:23.964 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
INFO | jvm 1 | main | 2011/08/21 23:04:23.966 | at java.lang.reflect.Method.invoke(Unknown
Source)
INFO | jvm 1 | main | 2011/08/21 23:04:23.977 | at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
INFO | jvm 1 | main | 2011/08/21 23:04:23.979 | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
INFO | jvm 1 | main | 2011/08/21 23:04:23.982 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
INFO | jvm 1 | main | 2011/08/21 23:04:23.994 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
INFO | jvm 1 | main | 2011/08/21 23:04:23.997 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
INFO | jvm 1 | main | 2011/08/21 23:04:23.999 | at java.lang.reflect.Method.invoke(Unknown
Source)
INFO | jvm 1 | main | 2011/08/21 23:04:24.013 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
INFO | jvm 1 | main | 2011/08/21 23:04:24.015 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | main | 2011/08/21 23:04:24.027 | 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 22 01:04:22 CEST 2011]; parent: org.springframework.context.support.GenericApplicationContext@bf015
INFO | jvm 1 | main | 2011/08/21 23:04:24.030 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
INFO | jvm 1 | main | 2011/08/21 23:04:24.033 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
INFO | jvm 1 | main | 2011/08/21 23:04:24.044 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
INFO | jvm 1 | main | 2011/08/21 23:04:24.047 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
INFO | jvm 1 | main | 2011/08/21 23:04:24.049 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
INFO | jvm 1 | main | 2011/08/21 23:04:24.061 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
INFO | jvm 1 | main | 2011/08/21 23:04:24.063 | at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1004)
INFO | jvm 1 | main | 2011/08/21 23:04:24.066 | at org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.getResourceManager(Jsr250BeanPostProcessor.java:91)
INFO | jvm 1 | main | 2011/08/21 23:04:24.077 | at org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessBeforeInitialization(Jsr250BeanPostProcessor.java:136)
INFO | jvm 1 | main | 2011/08/21 23:04:24.080 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
INFO | jvm 1 | main | 2011/08/21 23:04:24.083 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1394)
INFO | jvm 1 | main | 2011/08/21 23:04:24.093 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
INFO | jvm 1 | main | 2011/08/21 23:04:24.097 | ... 31 more
INFO | jvm 1 | main | 2011/08/21 23:04:24.099 | Caused by: java.lang.IllegalStateException:
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via
the context: Root WebApplicationContext: startup date [Mon Aug 22 01:04:22 CEST 2011]; parent:
org.springframework.context.support.GenericApplicationContext@bf015
INFO | jvm 1 | main | 2011/08/21 23:04:24.110 | at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:307)
INFO | jvm 1 | main | 2011/08/21 23:04:24.113 | at org.springframework.context.support.AbstractApplicationContext.addListener(AbstractApplicationContext.java:827)
INFO | jvm 1 | main | 2011/08/21 23:04:24.115 | at org.springframework.context.support.AbstractApplicationContext.addApplicationListener(AbstractApplicationContext.java:367)
INFO | jvm 1 | main | 2011/08/21 23:04:24.127 | at org.apache.cxf.bus.spring.SpringBus.setApplicationContext(SpringBus.java:52)
INFO | jvm 1 | main | 2011/08/21 23:04:24.130 | at org.springframework.context.support.ApplicationContextAwareProcessor.doProcess(ApplicationContextAwareProcessor.java:116)
INFO | jvm 1 | main | 2011/08/21 23:04:24.132 | at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:99)
INFO | jvm 1 | main | 2011/08/21 23:04:24.145 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
INFO | jvm 1 | main | 2011/08/21 23:04:24.147 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1394)
INFO | jvm 1 | main | 2011/08/21 23:04:24.150 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)



-----
-----
 Thank's in advance,

 Best Regards,
    Younes TERRIRESS ]

> Problem with CXF migration !!
> -----------------------------
>
>                 Key: CXF-3724
>                 URL: https://issues.apache.org/jira/browse/CXF-3724
>             Project: CXF
>          Issue Type: Bug
>            Reporter: younes Ter
>            Assignee: Daniel Kulp
>             Fix For: NeedMoreInfo
>
>         Attachments: console-20110808.log, console-20110821.log
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.
>   Best regards,
>      Younes

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

        

Mime
View raw message