There is a scheduled Java agent in a database. That agent is set to run every 5 mitutes. Compact task is also scheduled in the server, three times a week. Trouble comes when the agent must run at the time when Compact is scheduled:- If the database is being compacted at that time, the next message is shown in console:
07/04/2005 02:05:41 AMgr: Unable to load agent document for ‘’ in ‘<database.nsf>’: Database is being Compacted; Compact must finish before use.
The agent does not run at that time.
-
The agent does not run again any more. Though it is set to run every 5 minutes it does not even try to run again, there is no error in log.nsf; it seems to be somehow “dead”. We notice it next morning.
-
If we disable and enable the agent again it starts to run again every 5 minutes, as usual.
I don’t worry about the agent not running at the very moment the database is being compacted, the problem is that it doesn’t run again.
Thanks in advance.
Aitor.