Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#728 closed defect (fixed)

./jobagent.sh start does not work

Reported by: Jari Häkkinen Owned by: everyone
Priority: major Milestone:
Component: core Version: 2.4.0
Keywords: Cc:

Description

The response is:

Could not load configuration file jobagent.properties: jobagent.properties (No
such file or directory)
Usage    : jobagent.sh [options] cmd
 options : -c <configuration file>
 cmd     : start | stop | pause | info | register | unregister | help

Issuing ./jobagent.sh -c ../www/WEB-INF/classes/jobagent.properties start works.

Change History (3)

comment:1 by Nicklas Nordborg, 17 years ago

Resolution: invalid
Status: newclosed

This is as expected. The script by default only looks in the current directory. If the jobagent.properties is located elsewhere or has a different name the path/name must be given.

comment:2 by Nicklas Nordborg, 17 years ago

Resolution: invalidfixed

(In [3992]) Fixes #728: jobagent.sh should accept command status

Also made the jobagent log into it's own file (jobagent.log) instead of stdout

comment:3 by Nicklas Nordborg, 17 years ago

The above checkin should go to #729 and not this ticket.

Note: See TracTickets for help on using tickets.