<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    ProxyAsyncConfiguration
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/shiv86">Shivam Sinha</a> in <i>Snowdrop</i> - <a href="https://community.jboss.org/message/743819#743819">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p class="p1">Hi, </p><p class="p1" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="p1">I have spent atleast 14+ hrs on trying to migrate my exisiting spring app to jbossAS7 and would really appreicate anyhelp with the following issue, when attempting to start JBoss:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Exception:</p><p>02:25:44,885 INFO&#160; <a class="jive-link-external-small" href="org.springframework.beans.factory.support.DefaultListableBeanFactory">org.springframework.beans.factory.support.DefaultListableBeanFactory</a> (MSC service thread 1-4) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@78090631: defining beans <a class="jive-link-external-small" href="org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,econDateInitDatabaseImpl,forexPro,importStaticDataImpl,edIndicatorValueFactoryImpl,edCityDAOImpl,edCountryDAOImpl,edHistoryDAOImpl,edHolidayDAOImpl,edIndicatorDAOImpl,edIndicatorValueDAOImpl,edJobDAOImpl,edRegionDAOImpl,edIndicatorSchedulerImpl,proxyAsyncConfiguration,schedulingConfiguration,loadTimeWeavingConfiguration,proxyTransactionManagementConfiguration,delegatingWebMvcConfiguration,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,emf,dataSource,transactionManager,exporter,testBean,schedulerFactoryBean,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,loadTimeWeaver,transactionAttributeSource,transactionInterceptor,requestMappingHandlerMapping,viewControllerHandlerMapping,beanNameHandlerMapping,resourceHandlerMapping,defaultServletHandlerMapping,requestMappingHandlerAdapter,mvcConversionService,mvcValidator,httpRequestHandlerAdapter,simpleControllerHandlerAdapter,handlerExceptionResolver">org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,econDateInitDatabaseImpl,forexPro,importStaticDataImpl,edIndicatorValueFactoryImpl,edCityDAOImpl,edCountryDAOImpl,edHistoryDAOImpl,edHolidayDAOImpl,edIndicatorDAOImpl,edIndicatorValueDAOImpl,edJobDAOImpl,edRegionDAOImpl,edIndicatorSchedulerImpl,proxyAsyncConfiguration,schedulingConfiguration,loadTimeWeavingConfiguration,proxyTransactionManagementConfiguration,delegatingWebMvcConfiguration,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,emf,dataSource,transactionManager,exporter,testBean,schedulerFactoryBean,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,loadTimeWeaver,transactionAttributeSource,transactionInterceptor,requestMappingHandlerMapping,viewControllerHandlerMapping,beanNameHandlerMapping,resourceHandlerMapping,defaultServletHandlerMapping,requestMappingHandlerAdapter,mvcConversionService,mvcValidator,httpRequestHandlerAdapter,simpleControllerHandlerAdapter,handlerExceptionResolver</a>; root of factory hierarchy</p><p>02:25:44,888 ERROR <a class="jive-link-external-small" href="org.springframework.web.context.ContextLoader">org.springframework.web.context.ContextLoader</a> (MSC service thread 1-4) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalAsyncAnnotationProcessor' defined in class path resource <a class="jive-link-external-small" href="org/springframework/scheduling/annotation/ProxyAsyncConfiguration.class">org/springframework/scheduling/annotation/ProxyAsyncConfiguration.class</a>: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method <a class="jive-link-external-small" href="public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()">public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()</a> threw exception; nested exception is java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injected</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1008) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:904) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:488) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:459) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:728) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-context-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-context-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-web-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-web-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-web-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) <a class="jive-link-external-small" href="">jbossweb-7.0.1.Final.jar:7.0.2.Final</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) <a class="jive-link-external-small" href="">jbossweb-7.0.1.Final.jar:7.0.2.Final</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) <a class="jive-link-external-small" href="">jboss-as-web-7.0.2.Final.jar:7.0.2.Final</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Thread.java:680) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method <a class="jive-link-external-small" href="public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()">public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()</a> threw exception; nested exception is java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injected</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 21 more</p><p>Caused by: java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injected</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.util.Assert.notNull(Assert.java:112) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-core-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor(ProxyAsyncConfiguration.java:45) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-context-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerByCGLIB$$c8304691.CGLIB$asyncAdvisor$0() <a class="" href="https://community.jboss.org/message/743819#743819#743819/cglib-nodep-2.2.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerByCGLIB$$c8304691$$FastClassByCGLIB$$df56e036.invoke() <a class="" href="https://community.jboss.org/message/743819#743819#743819/cglib-nodep-2.2.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) <a class="" href="https://community.jboss.org/message/743819#743819#743819/cglib-nodep-2.2.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:253) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-context-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerByCGLIB$$c8304691.asyncAdvisor() <a class="" href="https://community.jboss.org/message/743819#743819#743819/cglib-nodep-2.2.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.reflect.Method.invoke(Method.java:597) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 22 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>02:25:44,890 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/econdates]] (MSC service thread 1-4) Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalAsyncAnnotationProcessor' defined in class path resource <a class="jive-link-external-small" href="org/springframework/scheduling/annotation/ProxyAsyncConfiguration.class">org/springframework/scheduling/annotation/ProxyAsyncConfiguration.class</a>: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method <a class="jive-link-external-small" href="public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()">public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()</a> threw exception; nested exception is java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injected</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1008) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:904) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:488) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:459) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:728) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-context-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-context-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-web-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-web-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-web-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) <a class="jive-link-external-small" href="">jbossweb-7.0.1.Final.jar:7.0.2.Final</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) <a class="jive-link-external-small" href="">jbossweb-7.0.1.Final.jar:7.0.2.Final</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) <a class="jive-link-external-small" href="">jboss-as-web-7.0.2.Final.jar:7.0.2.Final</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Thread.java:680) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method <a class="jive-link-external-small" href="public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()">public org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor()</a> threw exception; nested exception is java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injected</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 21 more</p><p>Caused by: java.lang.IllegalArgumentException: @EnableAsync annotation metadata was not injected</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.util.Assert.notNull(Assert.java:112) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-core-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.scheduling.annotation.ProxyAsyncConfiguration.asyncAdvisor(ProxyAsyncConfiguration.java:45) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-context-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerByCGLIB$$c8304691.CGLIB$asyncAdvisor$0() <a class="" href="https://community.jboss.org/message/743819#743819#743819/cglib-nodep-2.2.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerByCGLIB$$c8304691$$FastClassByCGLIB$$df56e036.invoke() <a class="" href="https://community.jboss.org/message/743819#743819#743819/cglib-nodep-2.2.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) <a class="" href="https://community.jboss.org/message/743819#743819#743819/cglib-nodep-2.2.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:253) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-context-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.scheduling.annotation.ProxyAsyncConfiguration$$EnhancerByCGLIB$$c8304691.asyncAdvisor() <a class="" href="https://community.jboss.org/message/743819#743819#743819/cglib-nodep-2.2.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.reflect.Method.invoke(Method.java:597) <a class="" href="https://community.jboss.org/message/743819#743819#743819/:1.6.0_29">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149) <a class="" href="https://community.jboss.org/message/743819#743819#743819/spring-beans-3.1.0.RC1.jar:">ProxyAsyncConfiguration</a></p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 22 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>02:25:44,915 INFO&#160; <a class="jive-link-external-small" href="javax.enterprise.resource.webcontainer.jsf.config">javax.enterprise.resource.webcontainer.jsf.config</a> (MSC service thread 1-4) Initializing Mojarra 2.1.3 (SNAPSHOT 20110825) for context '/econdates'</p><p>02:25:45,809 ERROR <a class="jive-link-external-small" href="org.apache.catalina.core.StandardContext">org.apache.catalina.core.StandardContext</a> (MSC service thread 1-4) Error listenerStart</p><p>02:25:45,809 ERROR <a class="jive-link-external-small" href="org.apache.catalina.core.StandardContext">org.apache.catalina.core.StandardContext</a> (MSC service thread 1-4) Context <a class="jive-link-external-small" href="/econdates">/econdates</a> startup failed due to previous errors</p><p>02:25:45,810 INFO&#160; [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/econdates]] (MSC service thread 1-4) Closing Spring root WebApplicationContext</p><p>02:25:45,812 INFO&#160; <a class="" href="https://community.jboss.org/message/743819#743819#743819/org.jboss.web">ProxyAsyncConfiguration</a> (MSC service thread 1-4) registering web context: /econdates</p><p>02:25:45,858 INFO&#160; <a class="jive-link-external-small" href="org.jboss.as.server.controller">org.jboss.as.server.controller</a> (DeploymentScanner-threads - 2) Deployed "econdates.war"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>spring application-infrastructure.xml:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="p2" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="p2"><span class="s1"><br/></span><p>persistence.xml:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></p><p class="p4" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="p3" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="p4">&#160; </p><p>web.xml:</p><p>&amp;lt;display-name&amp;gt;Econ Dates&amp;lt;/display-name&amp;gt;</p><p> &amp;lt;context-param&amp;gt;</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt;</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&amp;lt;param-value&amp;gt;classpath:/META-INF/spring/application-context.xml,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; classpath:/META-INF/spring/application-infrastructure.xml,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &amp;lt;!-- classpath:/META-INF/spring/econdates-security-context.xml&#160; --&amp;gt;</p><p>&#160; &amp;lt;/param-value&amp;gt;</p><p> &amp;lt;/context-param&amp;gt;</p><p>....</p><p> &amp;lt;servlet-mapping&amp;gt;</p><p>&#160; &amp;lt;servlet-name&amp;gt;EconDates&amp;lt;/servlet-name&amp;gt;</p><p>&#160; &amp;lt;url-pattern&amp;gt;/&amp;lt;/url-pattern&amp;gt;</p><p> &amp;lt;/servlet-mapping&amp;gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>...</p><p> &amp;lt;persistence-context-ref&amp;gt;</p><p>&#160; &amp;lt;persistence-context-ref-name&amp;gt;jboss/myEntityManagerFactory&amp;lt;/persistence-context-ref-name&amp;gt;</p><p>&#160; &amp;lt;persistence-unit-name&amp;gt;EconDatesDB&amp;lt;/persistence-unit-name&amp;gt;</p><p> &amp;lt;/persistence-context-ref&amp;gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/743819#743819">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Snowdrop at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>