File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes How to configure Quartz mbean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to configure Quartz mbean" Watch "How to configure Quartz mbean" New topic

How to configure Quartz mbean

ray frid
Ranch Hand

Joined: Dec 23, 2010
Posts: 79

I am trying to configure Quartz in my server application(Jboss5.1.x EJB3.0)

I made quartz-service.xml and put it under default\conf

now if I understood right, I want when I deploy my application at the server to start scheduling my task automatically.

So next is to add a service to the jboss-service.xml.

how do I configure Quartz mbean at jboss-service.xml.
how do I set it to execute the java code inside my application

thanks all

ray frid
Ranch Hand

Joined: Dec 23, 2010
Posts: 79
I have manged to configure the xml right.

But what I dont get is how i am trigger my session bean by Quartz?
I agree. Here's the link:
subject: How to configure Quartz mbean
Similar Threads
Servlet access to MBean in JBoss
Using properties-service.xml
Startup/Shutdown class in JBOSS 4.0
JBoss4 to JBoss6 - quartz.jar missing QuartzService class
How do I read property name/value pairs from an mbean in my Java app?