[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-05 Thread juntao
Devon, Are you trying to invoke the async method at app startup time or from a web action? cheers Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102005#4102005 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-05 Thread modoc
A user initiated action. I want a user to create a site, and at the end of the create process I kick off the async monitor. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102006#4102006 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-05 Thread juntao
Devon, A stupid question if you do not mind ... Do you have quartz.jar in your EAR classpath? JBoss AS has its own quartz.jar, which might be another version. Also, you can try to declare the quartz.jar as a java module in application.xml and see if it makes a difference ... cheers Michael

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-05 Thread modoc
Michael, I didn't add it in explicitly. It looks like the one in JBoss 4.2.2 is 1.5.2, and the current one with seam is 1.6.0. I will try adding it to my ear and defining it in application.xml. I'll let you know if it works. Thanks! Devon View the original post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-05 Thread modoc
This is a good news/bad news situation. By adding the 1.6.0 quartz jar to my ear, and declaring it as a java module, the exception is gone. However it's replaced with this doozy: | 16:05:37,947 ERROR [ExceptionFilter] exception root cause | javax.faces.el.EvaluationException:

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-05 Thread juntao
Hmm, my experience is that rollback exception is always caused by some other exception down the stack. Can you double check that you are not getting other exceptions? Also, would it help if you remove the @Transactional from the method? View the original post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread juntao
modoc, Persistence Quartz job store can be defined in seam.quartz.properties file in your classpath. Please let me know if this does not work. cheers Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101646#4101646 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread modoc
Michael, thanks for your reply. Yes, I have done that, however I get this error: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation My application is very simple, and I've only recently started building it. It's using a seam-gen created

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread juntao
Devon, Hmm, the nasty classloader problem ... Are you running this inside JBoss AS? Are you using EAR or WAR deployment? Also, can you try the examples/quartz example and see if it works in your setup? Thanks. cheers Michael View the original post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread modoc
I'm using JBoss 4.2.2, and an ear deployment. The quartz example I see only uses a Ram store. When I had my application using the Ram store it worked fine. It's only when I changed over to persist the jobs that the error occurred. Thanks! View the original post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread modoc
To be more specific (I only copied the exception from the thread earlier, what I get is: org.quartz.JobPersistenceException: Couldn't recover jobs: Couldn't store trigger: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation View the original post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-02 Thread modoc
I am also having trouble with this error: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvoca tion On a pretty basic Quartz usage. I'm not clear from the rest of the thread: is there a fix for this? Or is persisting quartz jobs not

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-27 Thread pierospinelli
I created a raw sample in Jira: http://jira.jboss.org/jira/browse/JBSEAM-1869 I am not sure about how it is SEAM oriented (i.e. I use some custom EJB instead that the SEAM framework) but I hope it icould be a starting point to discuss about a scheduler interface in SEAM. View the original

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-22 Thread pierospinelli
It sounds right. Thanks Michael. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076639#4076639 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076639 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-21 Thread [EMAIL PROTECTED]
Pierospinelli, Your task sounds like a little beyond the scope for our Seam / Quartz integration. We aim to provide Quartz as a backend for the @Asynchronous methods -- without the user having to invoke Quartz-specific APIs. In your case, you do want to manage Quartz explicitly in your

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-21 Thread fhh
I would like to see something too. Building a frontend for quartz - or at least supllying some components to enable me to do so myself - would be immensly useful. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076455#4076455 Reply to the post

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-20 Thread pierospinelli
Thanks for the answers. Currently I am using Quartz In Memory recreating all the Jobs at the server restart reading the configuration from some application's tables: of course my custom tables, accessed by JPA, are very similar to those used by Quartz itself. When it will be possibile in SEAM

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-20 Thread [EMAIL PROTECTED]
Hmm, I am not sure why you need JPA objects for quartz persistence ... Can't you just run the Quartz SQL script against your DB, and then select the JDBC jobstore in the property file? Of course, that requires me to implement the support for quartz property files in the Seam integration. But I

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-20 Thread pierospinelli
I'm making a control set program for an intranet scheduler. The program allows to create a task definition (i.e. a name, a group, a Java class, a description, parameter definition with possibly default, required flag, ...), one or more Jobs for each definition (i.e. with different cron

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-17 Thread pdepaepe
Adding import org.jboss.seam.async.QuartzDispatcher; where the Asynchronous method is set will fix you classloader error. Next step is: 11:27:15,026 ERROR [JobStoreTX] Error retrieving job, setting trigger state to ERROR. | org.quartz.JobPersistenceException: Couldn't retrieve job because a

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-13 Thread pierospinelli
Ok, just a little update: - I configured the JBoss run script adding the following statement to the JVM parameters:-Dorg.quartz.properties=C:/jboss/jboss-4.2.1.GA/server/default/deploy/scheduler.ear/scheduler.war/WEB-INF/classes/db_quartz.properties The db_quartz.properties looks like that:

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-13 Thread pierospinelli
Just to be sure I create again the tables for quartz using the sql script of the ver. 1.5.2, but I got no-change. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073465#4073465 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-11 Thread [EMAIL PROTECTED]
Sorry, I am on vacation right now (be back on Aug 19th). It might take take some time as I think about it while I am hiking in the woods :) Please bear with the delay! cheers Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073289#4073289 Reply to the