Vraptor + quartz

Ola pessoal estou tentando rodar o quartz em um projeto vraptor que estou trabalahndo mas ele não roda e me mostra o seguinte erro:

-06-10 10:43:27,523 [INFO] org.quartz.plugins.xml.JobInitializationPlugin - Registering Quartz Job Initialization Plug-in. 13-06-10 10:43:27,523 [INFO] org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 13-06-10 10:43:27,523 [INFO] org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'QuartzScheduler' initialized from the specified file : 'quartz.properties' from the class resource path. 13-06-10 10:43:27,538 [INFO] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 1.6.6 13-06-10 10:43:27,569 [INFO] org.quartz.xml.JobSchedulingDataProcessor - Parsing XML file: quartz-jobs.xml with systemId: quartz-jobs.xml validating: false validating schema: jar:file:/C:/tomcat%207.0.37/webapps/certidaoconcursospublicos/WEB-INF/lib/quartz-all-1.6.6.jar!/org/quartz/xml/job_scheduling_data_1_5.xsd 13-06-10 10:43:27,616 [ERROR] org.apache.commons.digester.Digester - End event threw exception org.apache.commons.beanutils.ConversionException: Error converting from 'String' to 'Class' package br.jus.jfce.infrastructure at org.apache.commons.beanutils.converters.AbstractConverter.handleError(AbstractConverter.java:267) at org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:164) at org.apache.commons.beanutils.converters.ConverterFacade.convert(ConverterFacade.java:60) at org.apache.commons.beanutils.ConvertUtilsBean.convert(ConvertUtilsBean.java:470) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1006) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:456) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySetterRule.java:202) at org.apache.commons.digester.Digester.endElement(Digester.java:1345) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1892) at org.quartz.xml.JobSchedulingDataProcessor.processFile(JobSchedulingDataProcessor.java:500) at org.quartz.xml.JobSchedulingDataProcessor.processFileAndScheduleJobs(JobSchedulingDataProcessor.java:569) at org.quartz.plugins.xml.JobInitializationPlugin.processFile(JobInitializationPlugin.java:378) at org.quartz.plugins.xml.JobInitializationPlugin.start(JobInitializationPlugin.java:310) at org.quartz.plugins.SchedulerPluginWithUserTransactionSupport.start(SchedulerPluginWithUserTransactionSupport.java:144) at org.quartz.core.QuartzScheduler.startPlugins(QuartzScheduler.java:2168) at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:456) at org.quartz.impl.StdScheduler.start(StdScheduler.java:146) at org.quartz.ee.servlet.QuartzInitializerListener.contextInitialized(QuartzInitializerListener.java:175) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: package br.jus.jfce.infrastructure at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558) at org.apache.commons.beanutils.converters.ClassConverter.convertToType(ClassConverter.java:100) at org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:156) ... 37 more 13-06-10 10:43:27,616 [ERROR] org.quartz.plugins.xml.JobInitializationPlugin - Error scheduling jobs: Error at line 8 char 77: Error converting from 'String' to 'Class' package br.jus.jfce.infrastructure org.xml.sax.SAXParseException; systemId: file:///C:/eclipse/quartz-jobs.xml; lineNumber: 8; columnNumber: 77; Error at line 8 char 77: Error converting from 'String' to 'Class' package br.jus.jfce.infrastructure at org.apache.commons.digester.Digester.createSAXException(Digester.java:3363) at org.apache.commons.digester.Digester.createSAXException(Digester.java:3389) at org.apache.commons.digester.Digester.endElement(Digester.java:1348) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1892) at org.quartz.xml.JobSchedulingDataProcessor.processFile(JobSchedulingDataProcessor.java:500) at org.quartz.xml.JobSchedulingDataProcessor.processFileAndScheduleJobs(JobSchedulingDataProcessor.java:569) at org.quartz.plugins.xml.JobInitializationPlugin.processFile(JobInitializationPlugin.java:378) at org.quartz.plugins.xml.JobInitializationPlugin.start(JobInitializationPlugin.java:310) at org.quartz.plugins.SchedulerPluginWithUserTransactionSupport.start(SchedulerPluginWithUserTransactionSupport.java:144) at org.quartz.core.QuartzScheduler.startPlugins(QuartzScheduler.java:2168) at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:456) at org.quartz.impl.StdScheduler.start(StdScheduler.java:146) at org.quartz.ee.servlet.QuartzInitializerListener.contextInitialized(QuartzInitializerListener.java:175) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.beanutils.ConversionException: Error converting from 'String' to 'Class' package br.jus.jfce.infrastructure at org.apache.commons.beanutils.converters.AbstractConverter.handleError(AbstractConverter.java:267) at org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:164) at org.apache.commons.beanutils.converters.ConverterFacade.convert(ConverterFacade.java:60) at org.apache.commons.beanutils.ConvertUtilsBean.convert(ConvertUtilsBean.java:470) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1006) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:456)

alguem tem ideia de como resolver isso?

vlw galera.

Eu indico o projeto do wpivotto que integra o Quartz com o VRaptor. Fica muito elegante e funcional.

Nesse link tem como baixar e utilizar, mas qualquer coisa, grite aqui.
https://github.com/wpivotto/vraptor-tasks

vlw Rafael vou dar uma olhada.

Cara acho que isso é bem mais amplo do que eu preciso, eu quero apenas excluir uns arquivos 1 vez por semana

quero mesmo saber porque ele da esse: Error converting from ‘String’ to ‘Class’ package br.jus.jfce.infrastructure

esse pacote infrastruture é onde está a classe que implementa Job que eu fiz.

e ai galera alguem tem ideia de como resolver isso?

[quote=gabrielnsouza]Cara acho que isso é bem mais amplo do que eu preciso, eu quero apenas excluir uns arquivos 1 vez por semana

quero mesmo saber porque ele da esse: Error converting from ‘String’ to ‘Class’ package br.jus.jfce.infrastructure

esse pacote infrastruture é onde está a classe que implementa Job que eu fiz.[/quote]
Na verdade ele faz exatamente o que você quer. É só uma integração entre o VRaptor e o Quartz, fica mais elegante e você foca no que realmente precisa.

Eu aconselho a usar esse projeto, ele só existe para facilitar a sua vida.

Ficaria algo assim:

@ApplicationScoped
@Scheduled(cron = "* * * 7 * ?")
public class LimpadorDeArquivos implements Task {
    public void execute() {
        // Código que vai ser executado 1 vez por semana.
    }
}

É bem mais simples e ainda injeta as dependências para você…

Evite ficar dando up assim, espere um pouquinho.

blz tranquilo, mas Rafael eu não sei usar muito bem…esse projeto ai ele foi criado especificamente pra quando for usar o quartz no vraptor né isso…?
então eu copio essas classes para o meu…, porque já tenho um sistema todo pronto, rodando faltatando apenas essa parte

Aqui nesse link mesmo (mais para baixo)
https://github.com/wpivotto/vraptor-tasks#installation-
Ele te diz como instalar o vraptor tasks. É só você baixar (manualmente, caso você NAO use maven, aonde está escrito: “Or download manually”)…

Quando você baixar, você vai colocá-lo na pasta lib do seu projeto, igual fez com o VRaptor e ele já vai estar pronto para ser usado. Dai é só criar uma classe no estilo da que eu mostrei no post anterior.

Qualquer coisa, não desista, grite aqui que nós ajudamos!

pra vc entender melhor como estou fazendo segue ai minha classe

[code]public class LimpaDiretorio implements Job{

private final Logger logger = Logger.getLogger(LimpaDiretorio.class.getName());

@Override
public void execute(JobExecutionContext arg0) throws JobExecutionException {
	// TODO Auto-generated method stub
	deletaCertidoesServidor();
}

public void deletaCertidoesServidor(){
	String caminhoAbsoluto = "";
	File dir = new File(caminhoAbsoluto);
			  
	String[] children = dir.list();  
	if (children == null) {  
	    // Either dir does not exist or is not a directory  
	} else {  
	    for (int i=0; i<children.length; i++) {  
	        // Get filename of file or directory  
	    	File ff = new File(dir+"/"+children[i]);  
	          
            if (!ff.isDirectory()) { // Verifica se é um arquivo  
            	Date d= new Date(ff.lastModified());
            	 SimpleDateFormat sdf = new SimpleDateFormat( "dd/MM/yyyy kk:mm:ss" );  
        		 String data = sdf.format(d);  
            		System.out.println("Nome do Arquivo a ser excluido: " + ff.getName() + " data: "+data); //no lugar de ff.getName() voce pode usar dir<i> - dá na mesma <img src="http://javafree.uol.com.br/forum/images/smiles/icon_smile.gif">  
            		int diferenca = DateUtil.dataDiff(d,new Date());
            		if(diferenca>=7){
            			ff.delete();
            			logger.info("Arquivo deletado: " + ff.getName() + " dias no servidor: "+diferenca); //no lugar de ff.getName() voce pode usar dir<i> - dá na mesma <img src="http://javafree.uol.com.br/forum/images/smiles/icon_smile.gif">  
            		}else{
            			System.out.println("Arquivo não excluido: " + ff.getName() + " dias no servidor: "+diferenca); //no lugar de ff.getName() voce pode usar dir<i> - dá na mesma <img src="http://javafree.uol.com.br/forum/images/smiles/icon_smile.gif">  
	            		
            		}					 
           }  
	    }  
	}  

}

}[/code]

este é o quartz-jobs.xml

[code]

<?xml version="1.0" encoding="ISO-8859-1"?> deletaRelatorios DEFAULT Pega advogados e coloca no banco package br.jus.jfce.infrastructure TriggerDoJob12 DEFAULT deletaRelatorios DEFAULT 0 0/1 5-23 ? * 2,3,4,5,6 <!--
             	<cron-expression>0 0 12 * * ? * 2,3,4,5,6</cron-expression>
             	
                Essa cron será executada todos os minutos de segunda a quinta, das 5 às 23 horas.
                Referência para cron-expression: http://en.wikipedia.org/wiki/CRON_expression
                -->
           </cron>
      </trigger>
      
 </job>

[/code]

este é o quartz.properties

[code]#===============================================================
#Configure Main Scheduler Properties
#===============================================================
org.quartz.scheduler.instanceName = QuartzScheduler
org.quartz.scheduler.instanceId = AUTO

#===============================================================
#Configure ThreadPool
#===============================================================
org.quartz.threadPool.threadCount = 5
org.quartz.threadPool.threadPriority = 1
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool

#===============================================================
#Configure JobStore
#===============================================================
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore

#===============================================================
#Configure Plugins
#===============================================================
org.quartz.plugin.jobInitializer.class = org.quartz.plugins.xml.JobInitializationPlugin

org.quartz.plugin.jobInitializer.overWriteExistingJobs = true
org.quartz.plugin.jobInitializer.failOnFileNotFound = false
org.quartz.plugin.jobInitializer.scanInterval = 30
org.quartz.plugin.jobInitializer.validating=false
org.quartz.plugin.jobInitializer.fileName=quartz-jobs.xml[/code]

e esta é a parte do web.xml

[code]<context-param>
	<param-name>config-file</param-name>
	<param-value>quartz.properties</param-value>
</context-param>
<context-param>
	<param-name>br.com.caelum.vraptor.packages</param-name>
	<param-value>
	br.com.caelum.vraptor.plugin.hibernate4
</param-value>
</context-param>
<context-param>
	<param-name>br.com.caelum.vraptor.encoding</param-name>
	<param-value>UTF-8</param-value>
</context-param>

<listener>
	<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
</listener>[/code]

Com o VRaptor-Tasks você teria uma estrutura muito mais simples.

Não precisaria receber “JobExecutionContext arg0” no seu método que faz a ação.
Não precisaria do "quartz-jobs.xml"
Não precisaria do "quartz.properties"
E não precisaria configurar o quartz.

Tente colocar esse cara no seu projeto para ver como fica.

Rafael vamos lá…

eu baixei o vraptor-tasks-1.0.0.jar é esse mesmo?

vc pois na anotação lá em cima o codigo que iria executar ele uma vez por semana e pra executar em 30 e 30 seg pra eu testar aqui como ficaria?

vlw cara.

É só você pegar esse jar e colocar na pasta lib. Já vai ficar funcionando.

Aquilo é uma espécie de CRON. Ele é exatamente a mesma coisa que vai ser passado para o Quartz, por isso eu digo, é só uma integração…

Para ficar de 30 em 30 seg, ficaria algo como “30 * * * * *”. Eu colocaria um log para você ver se está funcionando…

blz cara vou testar aqui, vlw

Rafael cara a minha classe ficou desta forma:

[code]@ApplicationScoped
@Scheduled(cron = “30 * * * * *”)
public class LimpaDiretorio implements Task{

private final Logger logger = Logger.getLogger(LimpaDiretorio.class.getName());

@Override
public void execute() {
	// TODO Auto-generated method stub
	deletaCertidoesServidor();
}
      //resto do código...

[/code]

e este é o erro que está saindo no console:

[code]
Jun 10, 2013 3:46:22 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Aladdin\eToken\PKIClient\x64;C:\Program Files\Aladdin\eToken\PKIClient\x32;c:\ora81\bin;C:\Program Files\TortoiseSVN\bin;C:\Ruby193\bin;C:\eclipse;;.
Jun 10, 2013 3:46:23 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:certidaoconcursospublicos’ did not find a matching property.
Jun 10, 2013 3:46:23 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“http-bio-8080”]
Jun 10, 2013 3:46:23 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“ajp-bio-8009”]
Jun 10, 2013 3:46:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 373 ms
Jun 10, 2013 3:46:23 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 10, 2013 3:46:23 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.37
log4j:ERROR Could not find value for key log4j.appender.Console
log4j:ERROR Could not instantiate appender named “Console”.
13-06-10 15:46:25,484 [INFO] br.com.caelum.vraptor.config.BasicConfiguration - Using class br.com.caelum.vraptor.ioc.spring.SpringProvider as Container Provider
13-06-10 15:46:25,515 [INFO] br.com.caelum.vraptor.ioc.spring.DefaultSpringLocator - No application context found
13-06-10 15:46:25,565 [INFO] br.com.caelum.vraptor.config.BasicConfiguration - br.com.caelum.vraptor.scanning = null
13-06-10 15:46:25,565 [INFO] br.com.caelum.vraptor.scan.WebAppBootstrapFactory - Dynamic WebAppBootstrap found.
Jun 10, 2013 3:46:25 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter vraptor
java.lang.NoClassDefFoundError: org/quartz/ScheduleBuilder
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at br.com.caelum.vraptor.scan.DynamicWebAppBootstrap.configure(DynamicWebAppBootstrap.java:45)
at br.com.caelum.vraptor.ioc.spring.SpringProvider.start(SpringProvider.java:84)
at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:108)
at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:102)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.quartz.ScheduleBuilder
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
… 19 more

Jun 10, 2013 3:46:25 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
Jun 10, 2013 3:46:25 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/certidao] startup failed due to previous errors
Jun 10, 2013 3:46:25 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\tomcat 7.0.37\webapps\certidaoconcursospublicos
log4j:ERROR Could not find value for key log4j.appender.Console
log4j:ERROR Could not instantiate appender named “Console”.
13-06-10 15:46:27,575 [INFO] br.com.caelum.vraptor.config.BasicConfiguration - Using class br.com.caelum.vraptor.ioc.spring.SpringProvider as Container Provider
13-06-10 15:46:27,596 [INFO] br.com.caelum.vraptor.ioc.spring.DefaultSpringLocator - No application context found
13-06-10 15:46:27,646 [INFO] br.com.caelum.vraptor.config.BasicConfiguration - br.com.caelum.vraptor.scanning = null
13-06-10 15:46:27,656 [INFO] br.com.caelum.vraptor.scan.WebAppBootstrapFactory - Dynamic WebAppBootstrap found.
Jun 10, 2013 3:46:27 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter vraptor
java.lang.NoClassDefFoundError: org/quartz/ScheduleBuilder
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at br.com.caelum.vraptor.scan.DynamicWebAppBootstrap.configure(DynamicWebAppBootstrap.java:45)
at br.com.caelum.vraptor.ioc.spring.SpringProvider.start(SpringProvider.java:84)
at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:108)
at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:102)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
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:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.quartz.ScheduleBuilder
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
… 23 more

Jun 10, 2013 3:46:27 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
Jun 10, 2013 3:46:27 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/certidaoconcursospublicos] startup failed due to previous errors
Jun 10, 2013 3:46:27 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\tomcat 7.0.37\webapps\docs
Jun 10, 2013 3:46:27 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\tomcat 7.0.37\webapps\examples
Jun 10, 2013 3:46:27 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 10, 2013 3:46:27 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 10, 2013 3:46:27 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded(‘org.apache.jasper.compiler.TldLocationsCache’, ‘org.apache.jasper.compiler.TldLocationsCache@1e29076’)
Jun 10, 2013 3:46:27 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\tomcat 7.0.37\webapps\host-manager
Jun 10, 2013 3:46:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\tomcat 7.0.37\webapps\jersey-tutorial
Jun 10, 2013 3:46:28 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
Jun 10, 2013 3:46:28 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
br.com.k19.resources
Jun 10, 2013 3:46:28 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class br.com.k19.resources.BandaResource
Jun 10, 2013 3:46:28 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Jun 10, 2013 3:46:28 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 04:27 PM’
Jun 10, 2013 3:46:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\tomcat 7.0.37\webapps\manager
Jun 10, 2013 3:46:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\tomcat 7.0.37\webapps\ROOT
Jun 10, 2013 3:46:29 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-8080”]
Jun 10, 2013 3:46:29 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“ajp-bio-8009”]
Jun 10, 2013 3:46:29 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5961 ms[/code]

Quando dá NoClassDefFoundError significa que você esqueceu de colocar um Jar que contém essa class.

Vc não pode tirar os Jars do quartz do seu projeto, como que o VRaptor-tasks vai chamar o quartz?

Não mas eu não tirei o jar do quartz ele ainda está: quartz-all-1.6.6.jar

eu tirei so os aquivos:

quartz.properties
quartz-jobs.xml
e o mapeamento do web.xml

Tente o clean do eclipse, ele pode ter se perdido nessa…

será que não é mais alguma coisa que complementa o vraptor-tasks?

já deu clean no project-clean e no servidor

é a versão do quartz… Baixe a mais nova… (2.1.7)
http://terracotta.org/downloads/open-source/catalog