SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
No error when can't save job database

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
No error when can't save job database
Author Message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post No error when can't save job database Reply with quote
Hi,

My recent changes to our job database weren't 'sticking': when I relaunched the GUI the database wouldn't show the new changes. The modification timestamp for the .dat file wasn't being updated either.

I've worked around the problem by doing a Save As on the job database. It would appear the original job database was locked as I now receive an error when trying to rename it ('Cannot rename HealthStat: It is being used by another person or program.')

Anyway, it looks like there's a bug in the 24x7 GUI where you can hit the Save toolbar icon but any errors related to the save are ignored rather than being reported to the user.

24x7 MP 4.3 293, JVM 1.5.0_12-b04, XP Pro SP 3.

Cheers
Tue Jan 05, 2010 4:43 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Reply with quote
Please take a look at debug.log file. Do you see any related exceptions reported in that file?
Tue Jan 05, 2010 7:25 pm View user's profile Send private message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post Reply with quote
SysOp wrote:
Please take a look at debug.log file. Do you see any related exceptions reported in that file?

Doesn't appear to be any errors:

Code:

2010-01-06 14:28:33,953 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): totalRecordsNumber: 367
2010-01-06 14:28:33,953 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): deletedRecordsNumber: 63
2010-01-06 14:28:43,859 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.ui.C.G.o0OO - show() : start
2010-01-06 14:28:44,375 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.ui.C.G.o0OO - show() : end
2010-01-06 14:28:47,578 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.ui.C.G.o0OO - onFinish() : start
2010-01-06 14:28:47,578 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.ui.C.G.o0OO - onFinish() : end
2010-01-06 14:28:47,578 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.JobDbImpl - updateJob(JobProperties) : start
2010-01-06 14:28:47,578 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - update(...) : start
2010-01-06 14:28:47,578 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - update(...) : end
2010-01-06 14:28:47,578 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.JobDbImpl - updateJob(JobProperties) : end
2010-01-06 14:28:49,796 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - save() : start
2010-01-06 14:28:49,796 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - isRequirePurge(): totalRecordsNumber: 367
2010-01-06 14:28:49,796 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - isRequirePurge(): deletedRecordsNumber: 63
2010-01-06 14:28:49,796 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - isRequirePurge(): result: true
2010-01-06 14:28:49,796 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - purge started!
2010-01-06 14:28:49,890 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): totalRecordsNumber: 367
2010-01-06 14:28:49,890 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): deletedRecordsNumber: 63
2010-01-06 14:28:49,890 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - purge finished!

Tue Jan 05, 2010 9:31 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Reply with quote
This log doesn't indicate any errors, but the posted fragment is for 15 seconds of activities. In your previous message you indicated that you tried it several times. Do you see similar messages during other attempts?

If this is running on a Windows system, do you see any I/O related messages in the Windows Application Event log, like "delayed write" or "cache exhausted" or something else?
Wed Jan 06, 2010 12:50 am View user's profile Send private message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post Reply with quote
We run a lot of jobs—the original debug log has long since been overwritten.

I've tried the stuck database again now. The first time there were no messages in the debug log, the second time just these:

Code:

2010-01-06 19:38:12,843 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - save() : start
2010-01-06 19:38:12,843 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - isRequirePurge(): totalRecordsNumber: 367
2010-01-06 19:38:12,843 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - isRequirePurge(): deletedRecordsNumber: 63
2010-01-06 19:38:12,843 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - isRequirePurge(): result: true
2010-01-06 19:38:12,843 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - purge started!
2010-01-06 19:38:12,921 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): totalRecordsNumber: 367
2010-01-06 19:38:12,921 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): deletedRecordsNumber: 63
2010-01-06 19:38:12,921 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - purge finished!


There's nothing in the Windows Application or System logs during the attempted save.

Cheers
Wed Jan 06, 2010 2:47 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7842

Post Reply with quote
In case of this issue recurrence, please save a copy debug.log and/or debug.log.1 and email them to our support email, so that we can review the event sequences and leading to this situation. Thank you.
Wed Jan 06, 2010 9:58 am View user's profile Send private message
barefootguru



Joined: 10 Aug 2007
Posts: 195

Post Reply with quote
The database is still locked so I can recreate at will. I'll send an e-mail shortly. Cheers
Wed Jan 06, 2010 3:36 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.