• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disable built-in Quartz service of JBoss5

 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am doubting if I disable the built-in Quartz of JBoss5, is there any impact to the JBoss5 application server itself? It is because I developed an web application which embedded its own newer version of Quartz. In order to prevent 2 versions of Quartz running on the JBoss, I would like to disable the jboss built-in quartz and want to see if there is any impact the app. server in terms of the performance and functionality.

Please help


Benson
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've 'upgraded' the Jboss 5 ones by simply replacing the quatz.jar in jobss' common lib folder without getting any issues before.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss server itself doesn't require Quartz, so you can remove that service.
 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jakiran,

Thanks for your reply. I also agree with you actually. However, I read some materials that the JMS service also needs Quartz or Quartz is the resource to the JMS service. What is that about? Can elaborate?


Thanks
Benson
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Benson Fung wrote: However, I read some materials that the JMS service also needs Quartz or Quartz is the resource to the JMS service.

Can you point me to that doc, if you have it around? JMS in JBoss AS doesn't depend on Quartz.
 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jaikiran,

Please visit the following link, the first paragraph.

JBossAS comes bundled with Quartz integration packaged as a JCA Message-Inflow resource adapter quartz-ra.rar. This integration allows you to schedule stateless or stateful quartz jobs and have the job be posted to a Message Driven bean.

What does the above sentence mean? Why need to have the job posted to a MDB? From my knowledge, MDB itself doesn't need to scheduling, it is just keep polling the queue and call the callback method onMessage, right?


Please help


Benson
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Benson Fung wrote:

What does the above sentence mean? Why need to have the job posted to a MDB? From my knowledge, MDB itself doesn't need to scheduling, it is just keep polling the queue and call the callback method onMessage, right?



Right, the JMS MDBs don't require any Quartz support. The sentence that you posted is talking about the quartz service which provides an additional feature which applications might want to use if they want to trigger an MDB at regular intervals, instead of having to publish messages to JMS destinations which would trigger the MDB. There are some applications which schedule Quartz jobs and expect that to trigger a MDB invocation. If your application doesn't need that (which I am guessing it doesn't), then you can remove the quartz-ra.rar
 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,

Actually, the Quartz can trigger any job to do anything, why the material particular mention the Quartz is to trigger to MDB? I thought there is a reason behind.

Benson
 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please see the link, especially the first paragraph. I forgot to post the link, sorry

http://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/Quartz_scheduler_integration.html


Benson
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic