Commits

(no author)  committed a581f88

This commit was manufactured by cvs2svn to create branch
'b_quartz_1-5-x'.

git-svn-id: http://svn.opensymphony.com/svn/quartz/branches/b_quartz_1-5-x@36969f7d36a-ea1c-0410-88ea-9fd03e4c9665

  • Participants
  • Parent commits 672d5db
  • Branches b_quartz_1-5-x

Comments (0)

Files changed (1)

File src/jboss/org/quartz/ee/jmx/jboss/doc-files/quartz-service.xml-example

+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+  <classpath codebase="." archives="quartz.jar"/>
+  
+  <mbean code="org.quartz.ee.jmx.jboss.QuartzService"
+      name="user:service=QuartzService,name=QuartzService">
+
+    <!--
+        Wait until the DataSources  deployed. This option
+	ensures correct  deployment order at JBoss startup.
+	Change the 'QuartzDS' to your datasource name.
+	Important!==> this is NOT the JNDI name of the datasource.
+	(JNDI name for it is set in a separate xxx-service.xml file). 
+     -->
+    <!-- <depends>jboss.jca:service=LocalTxCM,name=QuartzDS</depends> -->
+    <depends>jboss.jca:service=DataSourceBinding,name=QuartzDS</depends> 
+    <!--
+        Wait for the deployment of XA-DataSource (if u have one ;)
+        The same as above, but for XA-compliant datasource.
+	Uncomment if you need it.
+    -->
+    <!--
+    <depends>jboss.jca:service=DataSourceBinding,name=QuartzDS-XA</depends> 
+    -->
+    <!--
+    <depends>jboss.jca:service=XATxCM,name=QuartzDS-XA</depends>
+    -->
+
+    <!--
+      JNDI name for locating Scheduler, "Quartz" is default.
+    -->
+    <!--
+    <attribute name="JndiName">Quartz</attribute>
+    -->
+
+    <!--
+      By default a Properties file named "quartz.properties" is
+      loaded from the 'current working directory'. If that fails,
+      then the "quartz.properties" file located (as a resource)
+      in the org/quartz package is loaded. If you wish to use a
+      file other than these defaults, you must either define the
+      system property 'org.quartz.properties' to point to the
+      file you want or set the PropertiesFile attribute. You
+      may also specify the properties directly by setting the
+      Properties attribute. You must use only one of these
+      methods to specify the properties.
+    -->
+
+    <!--
+      Initialize the SchedulerFactory with the contents
+      of the Properties file with the given name.
+    -->
+    <!--
+    <attribute name="PropertiesFile">quartz.properties</attribute>
+    -->
+
+    <!--
+      Initialized the SchedulerFactory with the contents
+      of the given Properties object.
+    -->
+    
+    <attribute name="Properties">
+      # Default Properties file for use by StdSchedulerFactory
+      # to create a Quartz Scheduler Instance, if a different
+      # properties file is not explicitly specified.
+      #
+
+      # org.quartz.scheduler.classLoadHelper.class = 
+   
+      org.quartz.scheduler.instanceName = DefaultQuartzScheduler
+      org.quartz.scheduler.rmi.export = false
+      org.quartz.scheduler.rmi.proxy = false
+      org.quartz.scheduler.xaTransacted = false
+
+      org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
+      org.quartz.threadPool.threadCount = 5
+      org.quartz.threadPool.threadPriority = 4
+
+      org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreCMT
+      org.quartz.jobStore.driverDelegateClass =  org.quartz.impl.jdbcjobstore.StdJDBCDelegate
+      org.quartz.jobStore.dataSource = QUARTZ
+      org.quartz.jobStore.nonManagedTXDataSource = QUARTZ_NO_TX
+      org.quartz.jobStore.tablePrefix = QRTZ_
+      org.quartz.dataSource.QUARTZ.jndiURL = java:/jdbc/QuartzDS
+      org.quartz.dataSource.QUARTZ_NO_TX.jndiURL = java:/jdbc/QuartzNoTxDS
+     
+      
+    </attribute>
+    
+
+  </mbean>
+
+</server>