Created
June 4, 2014 16:39
-
-
Save rherrick/8d098dd24c8f22d3bafd to your computer and use it in GitHub Desktop.
Start-up errors with @configuration class without setBeanFactory() method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.nrg.xnat.bootstrap.configuration; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import java.util.Arrays; | |
import java.util.List; | |
@Configuration | |
public class ConfigServiceConfiguration { | |
@Bean | |
public List<String> configFilesLocations() { | |
return Arrays.asList("WEB-INF/conf"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.nrg.xnat.bootstrap.configuration; | |
import org.apache.commons.lang.StringUtils; | |
import org.hibernate.cache.ehcache.EhCacheRegionFactory; | |
import org.hibernate.cache.spi.RegionFactory; | |
import org.hibernate.cfg.NamingStrategy; | |
import org.nrg.framework.orm.hibernate.AggregatedAnnotationSessionFactoryBean; | |
import org.nrg.framework.orm.hibernate.PrefixedTableNamingStrategy; | |
import org.nrg.xnat.bootstrap.initialize.XnatInitializer; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.jdbc.datasource.SimpleDriverDataSource; | |
import org.springframework.orm.hibernate4.HibernateTransactionManager; | |
import org.springframework.orm.hibernate4.LocalSessionFactoryBean; | |
import org.springframework.transaction.annotation.EnableTransactionManagement; | |
import javax.sql.DataSource; | |
import java.io.IOException; | |
import java.sql.Driver; | |
import java.util.Properties; | |
@Configuration | |
@EnableTransactionManagement(proxyTargetClass = true) | |
public class DataSourceConfiguration { | |
public static final String DATABASE_DRIVER_CLASS = "database.driver.class"; | |
public static final String DATABASE_URL = "database.url"; | |
public static final String DATABASE_USERNAME = "database.username"; | |
public static final String DATABASE_PASSWORD = "database.password"; | |
@Bean | |
public boolean initialize() { | |
return false; | |
} | |
@Bean | |
@SuppressWarnings("unchecked") | |
public DataSource dataSource() throws IOException { | |
SimpleDriverDataSource dataSource = new SimpleDriverDataSource(); | |
Class<? extends Driver> clazz; | |
Properties properties = XnatInitializer.getInitializationProperties(); | |
try { | |
String driverClass = properties.getProperty(DATABASE_DRIVER_CLASS); | |
if (StringUtils.isBlank(driverClass)) { | |
driverClass = org.h2.Driver.class.getName(); | |
} | |
clazz = (Class<? extends Driver>) Class.forName(driverClass); | |
} catch (ClassNotFoundException e) { | |
clazz = org.h2.Driver.class; | |
} | |
dataSource.setDriverClass(clazz); | |
dataSource.setUrl(properties.getProperty(DATABASE_URL)); | |
dataSource.setUsername(properties.getProperty(DATABASE_USERNAME)); | |
dataSource.setPassword(properties.getProperty(DATABASE_PASSWORD)); | |
return dataSource; | |
} | |
@Bean | |
public NamingStrategy namingStrategy() { | |
PrefixedTableNamingStrategy strategy = new PrefixedTableNamingStrategy(); | |
strategy.setPrefix("xhbm"); | |
return strategy; | |
} | |
@Bean | |
public RegionFactory regionFactory() throws IOException { | |
return new EhCacheRegionFactory(hibernateProperties()); | |
} | |
@Bean | |
public LocalSessionFactoryBean sessionFactory() throws IOException { | |
return new AggregatedAnnotationSessionFactoryBean() {{ | |
setCacheRegionFactory(regionFactory()); | |
setDataSource(dataSource()); | |
setHibernateProperties(hibernateProperties()); | |
setNamingStrategy(namingStrategy()); | |
}}; | |
} | |
@Bean | |
public HibernateTransactionManager transactionManager() throws IOException { | |
return new HibernateTransactionManager(sessionFactory().getObject()); | |
} | |
@Bean | |
public Properties hibernateProperties() { | |
return new Properties() {{ | |
setProperty("hibernate.dialect", "org.hibernate.dialect.H2Dialect"); | |
setProperty("hibernate.hbm2ddl.auto", "create"); | |
setProperty("hibernate.show_sql", "true"); | |
setProperty("hibernate.cache.use_second_level_cache", "true"); | |
setProperty("hibernate.cache.use_query_cache", "true"); | |
}}; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jun 04, 2014 11:34:36 AM org.apache.catalina.core.ApplicationContext log | |
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.orm.hibernate4.HibernateTransactionManager org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration.transactionManager() throws java.io.IOException] threw exception; nested exception is java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given | |
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703) | |
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) | |
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:658) | |
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:624) | |
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:672) | |
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:543) | |
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:484) | |
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:158) | |
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284) | |
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197) | |
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) | |
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) | |
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) | |
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) | |
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) | |
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) | |
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1763) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) | |
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) | |
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) | |
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618) | |
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) | |
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) | |
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) | |
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487) | |
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) | |
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) | |
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) | |
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) | |
at sun.rmi.transport.Transport$1.run(Transport.java:177) | |
at sun.rmi.transport.Transport$1.run(Transport.java:174) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at sun.rmi.transport.Transport.serviceCall(Transport.java:173) | |
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556) | |
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811) | |
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.orm.hibernate4.HibernateTransactionManager org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration.transactionManager() throws java.io.IOException] threw exception; nested exception is java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188) | |
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) | |
... 64 more | |
Caused by: java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given | |
at org.springframework.cglib.proxy.Enhancer.emitConstructors(Enhancer.java:721) | |
at org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:499) | |
at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) | |
at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) | |
at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) | |
at org.springframework.cglib.proxy.Enhancer.create(Enhancer.java:285) | |
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.enhanceFactoryBean(ConfigurationClassEnhancer.java:386) | |
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:295) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration$$EnhancerBySpringCGLIB$$ff4de778.sessionFactory(<generated>) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration.transactionManager(DataSourceConfiguration.java:82) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration$$EnhancerBySpringCGLIB$$ff4de778.CGLIB$transactionManager$2(<generated>) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration$$EnhancerBySpringCGLIB$$ff4de778$$FastClassBySpringCGLIB$$c4962833.invoke(<generated>) | |
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) | |
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration$$EnhancerBySpringCGLIB$$ff4de778.transactionManager(<generated>) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166) | |
... 65 more | |
Jun 04, 2014 11:34:56 AM org.apache.catalina.core.StandardContext loadOnStartup | |
SEVERE: Servlet threw load() exception | |
java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given | |
at org.springframework.cglib.proxy.Enhancer.emitConstructors(Enhancer.java:721) | |
at org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:499) | |
at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) | |
at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) | |
at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) | |
at org.springframework.cglib.proxy.Enhancer.create(Enhancer.java:285) | |
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.enhanceFactoryBean(ConfigurationClassEnhancer.java:386) | |
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:295) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration$$EnhancerBySpringCGLIB$$ff4de778.sessionFactory(<generated>) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration.transactionManager(DataSourceConfiguration.java:82) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration$$EnhancerBySpringCGLIB$$ff4de778.CGLIB$transactionManager$2(<generated>) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration$$EnhancerBySpringCGLIB$$ff4de778$$FastClassBySpringCGLIB$$c4962833.invoke(<generated>) | |
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) | |
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312) | |
at org.nrg.xnat.bootstrap.configuration.DataSourceConfiguration$$EnhancerBySpringCGLIB$$ff4de778.transactionManager(<generated>) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166) | |
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703) | |
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) | |
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:658) | |
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:624) | |
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:672) | |
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:543) | |
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:484) | |
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:158) | |
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284) | |
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197) | |
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) | |
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) | |
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) | |
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) | |
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) | |
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) | |
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1763) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) | |
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) | |
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) | |
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618) | |
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) | |
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) | |
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) | |
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487) | |
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) | |
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) | |
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) | |
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) | |
at sun.rmi.transport.Transport$1.run(Transport.java:177) | |
at sun.rmi.transport.Transport$1.run(Transport.java:174) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at sun.rmi.transport.Transport.serviceCall(Transport.java:173) | |
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556) | |
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811) | |
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:745) | |
Jun 04, 2014 11:34:57 AM org.apache.catalina.core.ApplicationContext log | |
SEVERE: StandardWrapper.Throwable | |
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSiteConfigurationService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.nrg.xnat.bootstrap.configuration.ConfigServiceConfiguration': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.nrg.xnat.bootstrap.configuration.ConfigServiceConfiguration.setBeanFactory(Lorg/springframework/beans/factory/BeanFactory;)V | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:296) | |
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:985) | |
at org.nrg.framework.services.ContextService.getBean(ContextService.java:89) | |
at org.nrg.xdat.XDAT.getSiteConfigurationService(XDAT.java:443) | |
at org.nrg.xdat.XDAT.getSiteConfiguration(XDAT.java:457) | |
at org.nrg.xnat.restlet.servlet.XNATRestletServlet.init(XNATRestletServlet.java:80) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:158) | |
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284) | |
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197) | |
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) | |
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) | |
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) | |
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) | |
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) | |
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) | |
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1763) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) | |
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) | |
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) | |
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618) | |
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) | |
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) | |
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) | |
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487) | |
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) | |
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) | |
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) | |
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) | |
at sun.rmi.transport.Transport$1.run(Transport.java:177) | |
at sun.rmi.transport.Transport$1.run(Transport.java:174) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at sun.rmi.transport.Transport.serviceCall(Transport.java:173) | |
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556) | |
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811) | |
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.nrg.xnat.bootstrap.configuration.ConfigServiceConfiguration': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.nrg.xnat.bootstrap.configuration.ConfigServiceConfiguration.setBeanFactory(Lorg/springframework/beans/factory/BeanFactory;)V | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:370) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:446) | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:420) | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:545) | |
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155) | |
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305) | |
... 60 more | |
Caused by: java.lang.NoSuchMethodError: org.nrg.xnat.bootstrap.configuration.ConfigServiceConfiguration.setBeanFactory(Lorg/springframework/beans/factory/BeanFactory;)V | |
at org.nrg.xnat.bootstrap.configuration.ConfigServiceConfiguration$$EnhancerBySpringCGLIB$$71bbd79a.setBeanFactory(<generated>) | |
at org.springframework.context.annotation.ConfigurationClassPostProcessor$EnhancedConfigurationBeanPostProcessor.postProcessPropertyValues(ConfigurationClassPostProcessor.java:442) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) | |
... 80 more | |
Jun 04, 2014 11:34:57 AM org.apache.catalina.core.StandardContext loadOnStartup | |
SEVERE: Servlet threw load() exception | |
java.lang.NoSuchMethodError: org.nrg.xnat.bootstrap.configuration.ConfigServiceConfiguration.setBeanFactory(Lorg/springframework/beans/factory/BeanFactory;)V | |
at org.nrg.xnat.bootstrap.configuration.ConfigServiceConfiguration$$EnhancerBySpringCGLIB$$71bbd79a.setBeanFactory(<generated>) | |
at org.springframework.context.annotation.ConfigurationClassPostProcessor$EnhancedConfigurationBeanPostProcessor.postProcessPropertyValues(ConfigurationClassPostProcessor.java:442) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:370) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:446) | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:420) | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:545) | |
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155) | |
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) | |
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:296) | |
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:985) | |
at org.nrg.framework.services.ContextService.getBean(ContextService.java:89) | |
at org.nrg.xdat.XDAT.getSiteConfigurationService(XDAT.java:443) | |
at org.nrg.xdat.XDAT.getSiteConfiguration(XDAT.java:457) | |
at org.nrg.xnat.restlet.servlet.XNATRestletServlet.init(XNATRestletServlet.java:80) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:158) | |
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284) | |
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197) | |
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) | |
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) | |
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) | |
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) | |
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) | |
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) | |
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) | |
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1763) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) | |
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) | |
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) | |
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618) | |
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) | |
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) | |
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) | |
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487) | |
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) | |
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) | |
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) | |
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) | |
at sun.rmi.transport.Transport$1.run(Transport.java:177) | |
at sun.rmi.transport.Transport$1.run(Transport.java:174) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at sun.rmi.transport.Transport.serviceCall(Transport.java:173) | |
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556) | |
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811) | |
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:745) | |
Jun 04, 2014 11:34:58 AM org.apache.catalina.core.StandardWrapperValve invoke | |
SEVERE: Servlet.service() for servlet [xnat] in context with path [] threw exception | |
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? | |
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:252) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) | |
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) | |
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) | |
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) | |
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | |
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) | |
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) | |
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) | |
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) | |
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) | |
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) | |
at java.lang.Thread.run(Thread.java:745) | |
Jun 04, 2014 11:34:58 AM org.apache.catalina.core.StandardWrapperValve invoke | |
SEVERE: Servlet.service() for servlet [xnat] in context with path [] threw exception | |
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? | |
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:252) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) | |
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) | |
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) | |
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) | |
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | |
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) | |
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) | |
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) | |
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) | |
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) | |
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) | |
at java.lang.Thread.run(Thread.java:745) | |
Jun 04, 2014 11:34:58 AM org.apache.catalina.core.StandardWrapperValve invoke | |
SEVERE: Servlet.service() for servlet [xnat] in context with path [] threw exception | |
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? | |
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:252) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) | |
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) | |
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) | |
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) | |
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | |
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) | |
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) | |
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) | |
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) | |
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) | |
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) | |
at java.lang.Thread.run(Thread.java:745) | |
Jun 04, 2014 11:34:58 AM org.apache.catalina.core.StandardWrapperValve invoke | |
SEVERE: Servlet.service() for servlet [dispatcher] in context with path [] threw exception | |
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? | |
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:252) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) | |
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) | |
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) | |
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) | |
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | |
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) | |
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) | |
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) | |
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) | |
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) | |
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) | |
at java.lang.Thread.run(Thread.java:745) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment