tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <>
Subject Re: need help getting quartz-ra.rar file to deploy
Date Fri, 01 Aug 2008 21:41:05 GMT
Ok. Finally got something working here.   New zip available at http//

Inside you'll see:


For some reason, Maven refuses to add .rar files to the test  
classpath.  A .rar file is just a jar that contains other jars and a  
META-INF/ra.xml file, so I went ahead and created a maven module that  
has the ra.xml file and lists the appropriate jars as dependencies.   
All the jars were available online except the jar containing the JBoss  
Quartz Resource Adapter classes, so that jar has to be installed into  
your local maven repo manually (see the README.txt for the command).

Last but not least, here is the maven test output for the quartz-beans  

  T E S T S
Running com.example.job.QuartzMdbTest
14:31:05,103 DEBUG QuartzMdbTest:19 - Set Initial Context
Apache OpenEJB 3.1-SNAPSHOT    build: 20080801-09:26
INFO - openejb.home = /private/tmp/work/quartz-app/quartz-beans
INFO - openejb.base = /private/tmp/work/quartz-app/quartz-beans
INFO - Configuring Service(id=Default Security Service,  
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,  
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Found EjbModule in classpath: /private/tmp/work/quartz-app/ 
INFO - Found ConnectorModule in classpath: /private/tmp/work/quartz- 
INFO - Beginning load: /private/tmp/work/quartz-app/quartz-beans/ 
INFO - Beginning load: /private/tmp/work/quartz-app/quartz-ra/target/ 
INFO - Extracting jar: /private/tmp/work/quartz-app/quartz-ra/target/ 
INFO - Extracted path: /private/tmp/work/quartz-app/quartz-ra/target/ 
INFO - Configuring enterprise application: classpath.ear
INFO - Configuring Service(id=quartz-ra-0.0.1-SNAPSHOT.jarRA,  
type=Resource, provider-id=quartz-ra-0.0.1-SNAPSHOT.jarRA)
INFO - Configuring Service(id=quartz-ra-0.0.1-SNAPSHOT.jar- 
org.quartz.Job, type=Container, provider-id=Default MDB Container)
INFO - Configuring Service(id=quartz-ra-0.0.1-SNAPSHOT.jar- 
org.quartz.StatefulJob, type=Container, provider-id=Default MDB  
INFO - Enterprise application "classpath.ear" loaded.
INFO - Assembling app: classpath.ear
INFO - start quartz!!!
DEBUG - endpointActivation, spec=jobName=job. 
1.1217626266122,triggerGroup=default,cronTrigger=0/2 * * * * ? 
DEBUG - adding job: jobName=job. 
1.1217626266122,triggerGroup=default,cronTrigger=0/2 * * * * ? 
INFO - Created Ejb(deployment-id=TimerJob, ejb-name=TimerJob,  
INFO - Deployed Application(path=classpath.ear)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.084  

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

Let us know how things go for you.  If there's anything you'd like  
changed in how things work, feel free to make requests.


View raw message