[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: QrtzHelp  XML
Profile for QrtzHelp -> Messages posted by QrtzHelp [37] Go to Page: Previous  1, 2, 3
Author Message

Are you sure that line throws a file not found exception? getResourceAsStream() is supposed to return null if the file isn't found.
No, you'll have to keep track of the run-time yourself.

You'll also have to devise your own mechanism for killing the Job. For example, if the job is stuck on a socket read, there's virtually no standard/reliable way in Java to interrupt that.


When you want the listener only to be notified of particular jobs.

Look at Example 9.

Could you post your config (quartz.properties) file, and give us any other description of your setup and problem?

The value set for the "org.quartz.dataSource.myCustomDS.connectionProvider.class" property must be a class that implements ConnectionProvider -- you can easily do this if you wish.


You should more easily be able to have Quartz create the datasource as you did in your second attempt -- it looks like you just didn't have DBCP and/or it's dependencies (such as commons-pool) in your application's classpath.

Job classes must be public, with public no-arg constructors.

 
Profile for QrtzHelp -> Messages posted by QrtzHelp [37] Go to Page: Previous  1, 2, 3
Go to:   
Powered by JForum 2.1.7 © JForum Team