Announcement Announcement Module
Collapse
No announcement yet.
Quartz problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Quartz problem

    Hi all,

    I tried to do a quartz sample like the one that is showed in imagedb sample.
    So I have set a SchedulerFactoryBean, a MethodInvokingJobDetailFactoryBean and CronTriggerBean in my xml file configuration like this :
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http&#58;//www.springframework.org/dtd/spring-beans.dtd">
    <beans>
    	<!-- Quartz Scheduler, with pre-registered triggers -->
    	<!-- Will automatically start scheduling on context startup -->
    	<bean id="scheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
    		<property name="triggers">
    			<list>
    				<ref local="helloTrigger"/>
    			</list>
    		</property>
    	</bean>
    	<!-- Job definition that delegates to the specified 'imageDatabase' method -->
    	<!-- Convenient way of invoking existing business logic instead of writing a job -->
    	<bean id="helloJobDetail" 
    		class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
    		<property name="targetObject">
    			<ref bean="hello"/>
    		</property>
    		<property name="targetMethod">
    			<value>sayHello</value>
    		</property>
    	</bean>
    	<!-- Trigger for the job defined above -->
    	<!-- Registered by the 'scheduler' bean -->
    	<bean id="helloTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
    		<property name="jobDetail">
    			<ref local="helloJobDetail"/>
    		</property>
    		<property name="cronExpression"><value>0/5 * * * * ?</value></property>
    	</bean>
    </beans>
    but when I deploy my war, I have the following error :
    Code:
    13&#58;10&#58;55,251 INFO  &#91;TomcatDeployer&#93; undeploy, ctxPath=/SimpleScheduler, warUrl=file&#58;/C&#58;/jboss-3.2.5/server/default/tmp/deploy/tmp10606SimpleScheduler.war/
    13&#58;10&#58;55,283 WARN  &#91;DeploymentInfo&#93; Could not delete file&#58;/C&#58;/jboss-3.2.5/server/default/tmp/deploy/tmp10606SimpleScheduler.war/ restart will delete it
    13&#58;10&#58;55,720 INFO  &#91;TomcatDeployer&#93; deploy, ctxPath=/SimpleScheduler, warUrl=file&#58;/C&#58;/jboss-3.2.5/server/default/tmp/deploy/tmp10607SimpleScheduler.war/
    13&#58;10&#58;56,376 INFO  &#91;Engine&#93; StandardContext&#91;/SimpleScheduler&#93;Loading root WebApplicationContext
    13&#58;10&#58;56,376 INFO  &#91;XmlBeanDefinitionReader&#93; Loading XML bean definitions from resource &#91;/WEB-INF/applicationContext.xml&#93; of ServletContext
    13&#58;10&#58;56,392 INFO  &#91;XmlBeanDefinitionReader&#93; Loading XML bean definitions from resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext
    13&#58;10&#58;56,408 INFO  &#91;XmlWebApplicationContext&#93; Bean factory for application context &#91;Root XmlWebApplicationContext&#93;&#58; org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;hello,scheduler,helloJobDetail,helloTrigger&#93;; Root of BeanFactory hierarchy
    13&#58;10&#58;56,408 INFO  &#91;XmlWebApplicationContext&#93; 4 beans defined in ApplicationContext &#91;Root XmlWebApplicationContext&#93;
    13&#58;10&#58;56,408 INFO  &#91;XmlWebApplicationContext&#93; No MessageSource found for context &#91;Root XmlWebApplicationContext&#93;&#58; using empty StaticMessageSource
    13&#58;10&#58;56,408 INFO  &#91;UiApplicationContextUtils&#93; No ThemeSource found for &#91;Root XmlWebApplicationContext&#93;&#58; using ResourceBundleThemeSource
    13&#58;10&#58;56,408 INFO  &#91;XmlWebApplicationContext&#93; Refreshing listeners
    13&#58;10&#58;56,423 INFO  &#91;DefaultListableBeanFactory&#93; Pre-instantiating singletons in factory &#91;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;hello,scheduler,helloJobDetail,helloTrigger&#93;; Root of BeanFactory hierarchy&#93;
    13&#58;10&#58;56,423 INFO  &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'hello'
    13&#58;10&#58;56,423 INFO  &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'scheduler'
    13&#58;10&#58;56,423 INFO  &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'helloTrigger'
    13&#58;10&#58;56,423 INFO  &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'helloJobDetail'
    13&#58;10&#58;56,439 INFO  &#91;DefaultListableBeanFactory&#93; Destroying singletons in factory &#123;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;hello,scheduler,helloJobDetail,helloTrigger&#93;; Root of BeanFactory hierarchy&#125;
    13&#58;10&#58;56,439 ERROR &#91;ContextLoader&#93; Context initialization failed
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'scheduler' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloTrigger' while setting property 'triggers&#91;0&#93;'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloTrigger' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloJobDetail' while setting property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloTrigger' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloJobDetail' while setting property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    java.lang.NullPointerException
    	at org.jboss.mx.loading.LoadMgr3.beginLoadTask&#40;LoadMgr3.java&#58;143&#41;
    	at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl&#40;UnifiedClassLoader3.java&#58;178&#41;
    	at org.jboss.mx.loading.UnifiedClassLoader3.loadClass&#40;UnifiedClassLoader3.java&#58;132&#41;
    	at java.lang.ClassLoader.loadClass&#40;ClassLoader.java&#58;235&#41;
    	at java.lang.ClassLoader.loadClassInternal&#40;ClassLoader.java&#58;302&#41;
    	at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.afterPropertiesSet&#40;MethodInvokingJobDetailFactoryBean.java&#58;82&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods&#40;AbstractAutowireCapableBeanFactory.java&#58;801&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;249&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveReference&#40;AbstractAutowireCapableBeanFactory.java&#58;720&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;672&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&#40;AbstractAutowireCapableBeanFactory.java&#58;614&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&#40;AbstractAutowireCapableBeanFactory.java&#58;467&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;232&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveReference&#40;AbstractAutowireCapableBeanFactory.java&#58;720&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;672&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveManagedList&#40;AbstractAutowireCapableBeanFactory.java&#58;736&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;677&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&#40;AbstractAutowireCapableBeanFactory.java&#58;614&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&#40;AbstractAutowireCapableBeanFactory.java&#58;467&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;232&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons&#40;DefaultListableBeanFactory.java&#58;177&#41;
    	at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;268&#41;
    	at org.springframework.web.context.support.XmlWebApplicationContext.refresh&#40;XmlWebApplicationContext.java&#58;131&#41;
    	at org.springframework.web.context.ContextLoader.createWebApplicationContext&#40;ContextLoader.java&#58;156&#41;
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext&#40;ContextLoader.java&#58;97&#41;
    	at org.springframework.web.context.ContextLoaderServlet.init&#40;ContextLoaderServlet.java&#58;80&#41;
    	at javax.servlet.GenericServlet.init&#40;GenericServlet.java&#58;211&#41;
    	at org.apache.catalina.core.StandardWrapper.loadServlet&#40;StandardWrapper.java&#58;1019&#41;
    	at org.apache.catalina.core.StandardWrapper.load&#40;StandardWrapper.java&#58;862&#41;
    	at org.apache.catalina.core.StandardContext.loadOnStartup&#40;StandardContext.java&#58;3991&#41;
    	at org.apache.catalina.core.StandardContext.start&#40;StandardContext.java&#58;4335&#41;
    	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;823&#41;
    	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;807&#41;
    	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;595&#41;
    	at sun.reflect.GeneratedMethodAccessor104.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
    	at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;109&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.apache.catalina.core.StandardContext.init&#40;StandardContext.java&#58;5412&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
    	at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;109&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal&#40;TomcatDeployer.java&#58;286&#41;
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy&#40;TomcatDeployer.java&#58;70&#41;
    	at org.jboss.web.AbstractWebDeployer.start&#40;AbstractWebDeployer.java&#58;306&#41;
    	at org.jboss.web.WebModule.startModule&#40;WebModule.java&#58;62&#41;
    	at org.jboss.web.WebModule.startService&#40;WebModule.java&#58;40&#41;
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;271&#41;
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;221&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;837&#41;
    	at $Proxy17.start&#40;Unknown Source&#41;
    	at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;367&#41;
    	at sun.reflect.GeneratedMethodAccessor6.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;176&#41;
    	at $Proxy32.start&#40;Unknown Source&#41;
    	at org.jboss.web.AbstractWebContainer.start&#40;AbstractWebContainer.java&#58;313&#41;
    	at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;836&#41;
    	at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;645&#41;
    	at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;608&#41;
    	at sun.reflect.GeneratedMethodAccessor21.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;176&#41;
    	at $Proxy7.deploy&#40;Unknown Source&#41;
    	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy&#40;URLDeploymentScanner.java&#58;304&#41;
    	at org.jboss.deployment.scanner.URLDeploymentScanner.scan&#40;URLDeploymentScanner.java&#58;460&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan&#40;AbstractDeploymentScanner.java&#58;201&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop&#40;AbstractDeploymentScanner.java&#58;212&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run&#40;AbstractDeploymentScanner.java&#58;191&#41;
    13&#58;10&#58;56,439 ERROR &#91;Engine&#93; StandardContext&#91;/SimpleScheduler&#93;StandardWrapper.Throwable
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'scheduler' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloTrigger' while setting property 'triggers&#91;0&#93;'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloTrigger' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloJobDetail' while setting property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloTrigger' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloJobDetail' while setting property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    java.lang.NullPointerException
    	at org.jboss.mx.loading.LoadMgr3.beginLoadTask&#40;LoadMgr3.java&#58;143&#41;
    	at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl&#40;UnifiedClassLoader3.java&#58;178&#41;
    	at org.jboss.mx.loading.UnifiedClassLoader3.loadClass&#40;UnifiedClassLoader3.java&#58;132&#41;
    	at java.lang.ClassLoader.loadClass&#40;ClassLoader.java&#58;235&#41;
    	at java.lang.ClassLoader.loadClassInternal&#40;ClassLoader.java&#58;302&#41;
    	at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.afterPropertiesSet&#40;MethodInvokingJobDetailFactoryBean.java&#58;82&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods&#40;AbstractAutowireCapableBeanFactory.java&#58;801&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;249&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveReference&#40;AbstractAutowireCapableBeanFactory.java&#58;720&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;672&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&#40;AbstractAutowireCapableBeanFactory.java&#58;614&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&#40;AbstractAutowireCapableBeanFactory.java&#58;467&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;232&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveReference&#40;AbstractAutowireCapableBeanFactory.java&#58;720&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;672&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveManagedList&#40;AbstractAutowireCapableBeanFactory.java&#58;736&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;677&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&#40;AbstractAutowireCapableBeanFactory.java&#58;614&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&#40;AbstractAutowireCapableBeanFactory.java&#58;467&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;232&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons&#40;DefaultListableBeanFactory.java&#58;177&#41;
    	at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;268&#41;
    	at org.springframework.web.context.support.XmlWebApplicationContext.refresh&#40;XmlWebApplicationContext.java&#58;131&#41;
    	at org.springframework.web.context.ContextLoader.createWebApplicationContext&#40;ContextLoader.java&#58;156&#41;
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext&#40;ContextLoader.java&#58;97&#41;
    	at org.springframework.web.context.ContextLoaderServlet.init&#40;ContextLoaderServlet.java&#58;80&#41;
    	at javax.servlet.GenericServlet.init&#40;GenericServlet.java&#58;211&#41;
    	at org.apache.catalina.core.StandardWrapper.loadServlet&#40;StandardWrapper.java&#58;1019&#41;
    	at org.apache.catalina.core.StandardWrapper.load&#40;StandardWrapper.java&#58;862&#41;
    	at org.apache.catalina.core.StandardContext.loadOnStartup&#40;StandardContext.java&#58;3991&#41;
    	at org.apache.catalina.core.StandardContext.start&#40;StandardContext.java&#58;4335&#41;
    	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;823&#41;
    	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;807&#41;
    	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;595&#41;
    	at sun.reflect.GeneratedMethodAccessor104.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
    	at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;109&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.apache.catalina.core.StandardContext.init&#40;StandardContext.java&#58;5412&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
    	at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;109&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal&#40;TomcatDeployer.java&#58;286&#41;
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy&#40;TomcatDeployer.java&#58;70&#41;
    	at org.jboss.web.AbstractWebDeployer.start&#40;AbstractWebDeployer.java&#58;306&#41;
    	at org.jboss.web.WebModule.startModule&#40;WebModule.java&#58;62&#41;
    	at org.jboss.web.WebModule.startService&#40;WebModule.java&#58;40&#41;
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;271&#41;
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;221&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;837&#41;
    	at $Proxy17.start&#40;Unknown Source&#41;
    	at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;367&#41;
    	at sun.reflect.GeneratedMethodAccessor6.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;176&#41;
    	at $Proxy32.start&#40;Unknown Source&#41;
    	at org.jboss.web.AbstractWebContainer.start&#40;AbstractWebContainer.java&#58;313&#41;
    	at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;836&#41;
    	at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;645&#41;
    	at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;608&#41;
    	at sun.reflect.GeneratedMethodAccessor21.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;176&#41;
    	at $Proxy7.deploy&#40;Unknown Source&#41;
    	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy&#40;URLDeploymentScanner.java&#58;304&#41;
    	at org.jboss.deployment.scanner.URLDeploymentScanner.scan&#40;URLDeploymentScanner.java&#58;460&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan&#40;AbstractDeploymentScanner.java&#58;201&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop&#40;AbstractDeploymentScanner.java&#58;212&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run&#40;AbstractDeploymentScanner.java&#58;191&#41;
    13&#58;10&#58;56,455 ERROR &#91;Engine&#93; StandardContext&#91;/SimpleScheduler&#93;Servlet /SimpleScheduler threw load&#40;&#41; exception
    javax.servlet.ServletException&#58; Servlet.init&#40;&#41; for servlet context threw exception
    	at org.apache.catalina.core.StandardWrapper.loadServlet&#40;StandardWrapper.java&#58;1061&#41;
    	at org.apache.catalina.core.StandardWrapper.load&#40;StandardWrapper.java&#58;862&#41;
    	at org.apache.catalina.core.StandardContext.loadOnStartup&#40;StandardContext.java&#58;3991&#41;
    	at org.apache.catalina.core.StandardContext.start&#40;StandardContext.java&#58;4335&#41;
    	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;823&#41;
    	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;807&#41;
    	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;595&#41;
    	at sun.reflect.GeneratedMethodAccessor104.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
    	at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;109&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.apache.catalina.core.StandardContext.init&#40;StandardContext.java&#58;5412&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
    	at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;109&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal&#40;TomcatDeployer.java&#58;286&#41;
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy&#40;TomcatDeployer.java&#58;70&#41;
    	at org.jboss.web.AbstractWebDeployer.start&#40;AbstractWebDeployer.java&#58;306&#41;
    	at org.jboss.web.WebModule.startModule&#40;WebModule.java&#58;62&#41;
    	at org.jboss.web.WebModule.startService&#40;WebModule.java&#58;40&#41;
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;271&#41;
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;221&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
    
    	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;837&#41;
    	at $Proxy17.start&#40;Unknown Source&#41;
    	at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;367&#41;
    	at sun.reflect.GeneratedMethodAccessor6.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;176&#41;
    	at $Proxy32.start&#40;Unknown Source&#41;
    	at org.jboss.web.AbstractWebContainer.start&#40;AbstractWebContainer.java&#58;313&#41;
    	at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;836&#41;
    	at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;645&#41;
    	at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;608&#41;
    	at sun.reflect.GeneratedMethodAccessor21.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;176&#41;
    	at $Proxy7.deploy&#40;Unknown Source&#41;
    	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy&#40;URLDeploymentScanner.java&#58;304&#41;
    	at org.jboss.deployment.scanner.URLDeploymentScanner.scan&#40;URLDeploymentScanner.java&#58;460&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan&#40;AbstractDeploymentScanner.java&#58;201&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop&#40;AbstractDeploymentScanner.java&#58;212&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run&#40;AbstractDeploymentScanner.java&#58;191&#41;
    13&#58;10&#58;56,455 ERROR &#91;Engine&#93; ----- Root Cause -----
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'scheduler' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloTrigger' while setting property 'triggers&#91;0&#93;'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloTrigger' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloJobDetail' while setting property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloTrigger' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Can't resolve reference to bean 'helloJobDetail' while setting property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'helloJobDetail' defined in resource &#91;/WEB-INF/schedulingContext-quartz.xml&#93; of ServletContext&#58; Initialization of bean failed; nested exception is java.lang.NullPointerException&#58; null
    java.lang.NullPointerException
    	at org.jboss.mx.loading.LoadMgr3.beginLoadTask&#40;LoadMgr3.java&#58;143&#41;
    	at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl&#40;UnifiedClassLoader3.java&#58;178&#41;
    	at org.jboss.mx.loading.UnifiedClassLoader3.loadClass&#40;UnifiedClassLoader3.java&#58;132&#41;
    	at java.lang.ClassLoader.loadClass&#40;ClassLoader.java&#58;235&#41;
    	at java.lang.ClassLoader.loadClassInternal&#40;ClassLoader.java&#58;302&#41;
    	at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.afterPropertiesSet&#40;MethodInvokingJobDetailFactoryBean.java&#58;82&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods&#40;AbstractAutowireCapableBeanFactory.java&#58;801&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;249&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveReference&#40;AbstractAutowireCapableBeanFactory.java&#58;720&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;672&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&#40;AbstractAutowireCapableBeanFactory.java&#58;614&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&#40;AbstractAutowireCapableBeanFactory.java&#58;467&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;232&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveReference&#40;AbstractAutowireCapableBeanFactory.java&#58;720&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;672&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveManagedList&#40;AbstractAutowireCapableBeanFactory.java&#58;736&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveValueIfNecessary&#40;AbstractAutowireCapableBeanFactory.java&#58;677&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&#40;AbstractAutowireCapableBeanFactory.java&#58;614&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&#40;AbstractAutowireCapableBeanFactory.java&#58;467&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;232&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;177&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;159&#41;
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons&#40;DefaultListableBeanFactory.java&#58;177&#41;
    	at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;268&#41;
    	at org.springframework.web.context.support.XmlWebApplicationContext.refresh&#40;XmlWebApplicationContext.java&#58;131&#41;
    	at org.springframework.web.context.ContextLoader.createWebApplicationContext&#40;ContextLoader.java&#58;156&#41;
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext&#40;ContextLoader.java&#58;97&#41;
    	at org.springframework.web.context.ContextLoaderServlet.init&#40;ContextLoaderServlet.java&#58;80&#41;
    	at javax.servlet.GenericServlet.init&#40;GenericServlet.java&#58;211&#41;
    	at org.apache.catalina.core.StandardWrapper.loadServlet&#40;StandardWrapper.java&#58;1019&#41;
    	at org.apache.catalina.core.StandardWrapper.load&#40;StandardWrapper.java&#58;862&#41;
    	at org.apache.catalina.core.StandardContext.loadOnStartup&#40;StandardContext.java&#58;3991&#41;
    	at org.apache.catalina.core.StandardContext.start&#40;StandardContext.java&#58;4335&#41;
    	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;823&#41;
    	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;807&#41;
    	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;595&#41;
    	at sun.reflect.GeneratedMethodAccessor104.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
    	at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;109&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.apache.catalina.core.StandardContext.init&#40;StandardContext.java&#58;5412&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
    	at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;109&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal&#40;TomcatDeployer.java&#58;286&#41;
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy&#40;TomcatDeployer.java&#58;70&#41;
    	at org.jboss.web.AbstractWebDeployer.start&#40;AbstractWebDeployer.java&#58;306&#41;
    	at org.jboss.web.WebModule.startModule&#40;WebModule.java&#58;62&#41;
    	at org.jboss.web.WebModule.startService&#40;WebModule.java&#58;40&#41;
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;271&#41;
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;221&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
    	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;837&#41;
    	at $Proxy17.start&#40;Unknown Source&#41;
    	at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;367&#41;
    	at sun.reflect.GeneratedMethodAccessor6.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;176&#41;
    	at $Proxy32.start&#40;Unknown Source&#41;
    	at org.jboss.web.AbstractWebContainer.start&#40;AbstractWebContainer.java&#58;313&#41;
    	at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;836&#41;
    	at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;645&#41;
    	at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;608&#41;
    	at sun.reflect.GeneratedMethodAccessor21.invoke&#40;Unknown Source&#41;
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
    	at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch&#40;ReflectedDispatcher.java&#58;60&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;61&#41;
    	at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;53&#41;
    	at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;86&#41;
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;185&#41;
    	at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;473&#41;
    	at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;176&#41;
    	at $Proxy7.deploy&#40;Unknown Source&#41;
    	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy&#40;URLDeploymentScanner.java&#58;304&#41;
    	at org.jboss.deployment.scanner.URLDeploymentScanner.scan&#40;URLDeploymentScanner.java&#58;460&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan&#40;AbstractDeploymentScanner.java&#58;201&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop&#40;AbstractDeploymentScanner.java&#58;212&#41;
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run&#40;AbstractDeploymentScanner.java&#58;191&#41;
    Does anyone know where my error could be?

    thx

  • #2
    In the first instance, please read http://www.catb.org/~esr/faqs/smart-...html#beprecise

    <property name="targetObject">
    <ref bean="hello"/>
    </property>
    Where is your bean named "hello" defined?

    Comment


    • #3
      sorry if i haven't been clear :oops:

      In my web.xml, I define a contextConfigLocation like this :
      Code:
      <context-param>
      <param-name>contextConfigLocation</param-name>
      <param-value>
        /WEB-INF/applicationContext.xml 
        /WEB-INF/schedulingContext-quartz.xml
      </param-value>
      </context-param>
      So I ve a file named schedulingContext-quartz.xml in which i define my SchedulerFactoryBean, a MethodInvokingJobDetailFactoryBean and CronTriggerBean (see my previous post).
      I have also a file named applicationContext.xml in which I defined my "hello" bean. This file looks like this :
      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http&#58;//www.springframework.org/dtd/spring-beans.dtd">
      <beans>
      	<bean id="hello" class="scheduler.pojo.Hello">	
      	</bean>
      </beans>
      I work with JBOSS 3.2.5 and Spring framework 1.0.2

      Hope you can help me with this new elements

      bye

      Comment


      • #4
        JBoss classloader problem (so it seems)

        My guess is that this is a JBoss classpath problem. Once the MethodInvokingJob (inner class) gets loaded the JBoss classloader starts complaining (that's where the nullpointerexception gets thrown). The exception is a bit vague (to say the least) so I can't see what's wrong here right now.

        I've searched the JBoss forums a bit and came across the following bugs:

        http://sourceforge.net/tracker/?grou...ail&aid=995985
        http://sourceforge.net/tracker/?grou...ail&aid=973565

        A fix has been reported for 3.2.6rc1 and the problem should not appear in earlier versions of JBoss (maybe you can try either 3.2.4, 3.2.3 or 3.2.6rc1).

        Alef

        Comment


        • #5
          erf

          Hi,

          I have tested my project under JBOSS 3.2.3 and it works, so you are right, this is a JBOSS problem :evil: :evil:
          So I will do my scheduler with another way :?
          I hope JBOSS 3.2.6 will not present this bug too

          Anyway, thanx for your attention and for your answers

          bye

          Comment

          Working...
          X