source: trunk/src/clients/jobagent/jobagent.properties.in @ 2643

Last change on this file since 2643 was 2643, checked in by Nicklas Nordborg, 16 years ago

References #351: External job server usage

In-process job executor is now working. Work has started on the out-of-process job executor.
Added sendMessage and stackTrace property to job for improved error reporting.

File size: 3.9 KB
Line 
1# $Id: migrate.properties.in 2614 2006-08-31 11:13:36Z nicklas $
2#
3# Copyright (C) Authors contributing to this file.
4#
5# This file is part of BASE - BioArray Software Environment.
6# Available at http://base.thep.lu.se/
7#
8# BASE is free software; you can redistribute it and/or
9# modify it under the terms of the GNU General Public License
10# as published by the Free Software Foundation; either version 2
11# of the License, or (at your option) any later version.
12#
13# BASE is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software
20# Foundation, Inc., 59 Temple Place - Suite 330,
21# Boston, MA  02111-1307, USA.
22
23# =======================
24# BASE settings
25# =======================
26
27## The login and password for a BASE user that the agent should run as
28## The use must have privileges corresponding to the predefined 'Job agent' role.
29agent.user=jobagent
30agent.password=
31
32## The ID of this job agent. This is the value used for the external ID property
33## in the database and used for automatic registration of the job agent
34## THE ID MUST BE UNIQUE AMONG ALL RUNNING JOB AGENTS
35agent.id=local
36agent.name=Local job agent
37agent.description=This is the default job agent running on the same server as the web server
38
39# =======================
40# Job agent server settings
41# =======================
42
43## The port the job agen should listen to for incoming control requests
44## such as the start, stop, pause and info command
45agent.port=47822
46
47## Comma-separated list of computer ip-adresses or names that are allowed
48## to remotely control this job agent. If the web server is on another
49## computer this list should at least include that server. The local
50## host is always allowed remote control and doesn't have to be in the list
51agent.remotecontrol=
52
53## If the computers listed above also should be allowed to stop, start and/or
54## pause the job agent or not
55agent.allowremote.stop=false
56agent.allowremote.start=true
57agent.allowremote.pause=true
58
59
60# =======================
61# Job agent execution settings
62# =======================
63
64# The name of the executor class that is responsible for starting the job
65## The default is ProcessJobExecutor which starts job in a separate process
66## The class must implement the net.sf.basedb.clients.JobExecutor interface
67
68## Executor that executes the jobs in a separate process (recommended)
69agent.executor.class=net.sf.basedb.clients.jobagent.executors.ProcessJobExecutor
70
71## Executor that executes jobs in the same process as the job agent (not recommended)
72# agent.executor.class=net.sf.basedb.clients.jobagent.executors.ThreadJobExecutor
73
74## Executor useful for debugging purposes
75# agent.executor.class=net.sf.basedb.clients.jobagent.executors.DummyJobExecutor
76
77## Initialisation parameters to the job exector. This string will be passed
78## unmodified to the JobExecutor.init() method
79agent.executor.init=
80
81## Number of seconds between checks to the job queue
82agent.checkinterval=30
83
84## Note! A quick job may use a slot from any of the pools reserved for
85## slower jobs if there are unused slots. Priority values should be between
86## 1 and 10, with 10 as the maximum priority.
87## See http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html
88
89## Number of slots to reserved for jobs that takes < 1 minute to execute
90agent.shortest.slots=1
91agent.shortest.priority=4
92
93## Number of slots to reserved for jobs that takes < 10 minutes to execute
94agent.short.slots=1
95agent.short.priority=4
96
97#" Number of slots to reserved for jobs that takes < 1 hour to execute
98agent.medium.slots=2
99agent.medium.priority=3
100
101# Number of slots to reserved for jobs that takes > 1 hour to execute
102agent.long.slots=2
103agent.long.priority=3
104
Note: See TracBrowser for help on using the repository browser.