Announcement Announcement Module
Collapse
No announcement yet.
How can I prevent Quartz multiple execution after deploy Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I prevent Quartz multiple execution after deploy

    hallo,

    we have problem with Quartz.
    Im using tomcat 5.5
    i using 'localhost' to deploy a Spring project on server.
    after deploy run Quartz once time,
    but after tomcat restart, execute the same jobs twice at the same time.

    how can i prevent it?
    follow code are our server.xml code

    ...
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>

    <Host name="XXX.com"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <Alias>www.XXX.com</Alias>
    <Context path=""
    docBase="/var/lib/tomcat55/webapps/xxx"
    reloadable="true">
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.postgresql.Driver"
    connectionURL="jdbcostgresql://localhost:5432/xxx"
    connectionName="postgres" connectionPassword="" userTable="users_password"
    userNameCol="userid" userCredCol="password"
    userRoleTable="user_role" roleNameCol="rolename"
    digest="MD5"/>
    </Context>
    </Host>
    ...
    Last edited by zlzc2000; Oct 21st, 2009, 10:15 AM.

  • #2
    You posted your question multiple times in this Spring forum. Your question is not Spring one but Quartz one. You should get a better response by posting your question on Quartz forum.

    Comment


    • #3
      Originally posted by vw729 View Post
      You posted your question multiple times in this Spring forum. Your question is not Spring one but Quartz one. You should get a better response by posting your question on Quartz forum.
      sorry, but my quartz job is integrated in a Spring project.
      I can not figure out if it is spring configuration problem. that's why i have posted it in this forum.

      Comment

      Working...
      X