Iīm the integration of spring with quartz.
But iīm getting a weird problem.
If I deploy the application, everything works fine but if i try to test the app using junit always occurs an error when spring tries to load my applicationContext.xml.
Hereīs the error:
<code>
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFa ctoryBean' defined in class path resource [applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: 'cronTrigger' and group: 'DEFAULT', because one already exists with this identification.
org.quartz.ObjectAlreadyExistsException: .... </code>
It seems that itīs a reported bug about this problems http://jira.atlassian.com/browse/CON...d=CCHCDNAJELAL
(Iīm not sure if it is from OpenSymphony site, sure for my ignorance).
Iīve already update my quartz for version 1.4.2 but itīs still occurs.
Can anyone help me solve this problem ?
is this an error of spring integration with quartz ? Iīve already searched it in springīs jira home page but there is nothing about this error.
Regards,
Vinicius Boson


Reply With Quote