Jeremy Quinn wrote:
Hi All

Has anyone got any experience using a persistable JobStore with Quartz ?

I am trying to use Postgresql to persist Quartz jobs across restarts of Cocoon.
...
What have I done wrong?

Works for me with j2ee datasource:

    <store type="tx">
      <datasource>java:comp/env/jdbc/MyJobStoreDS</datasource>
    </store>

Declared in webapp's tomcat's context xml file:

<Context docBase="webapp" path="/url">
  <Resource auth="Container" name="jdbc/MyJobStoreDS" 
type="javax.sql.DataSource"/>

  <ResourceParams name="jdbc/MyJobStoreDS">
    ... etc ...
  </ResourceParams>
</Context>


Have not tried yet Excalibur's datasource.

Vadim

Reply via email to