|
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
No error when can't save job database |
|
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 |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7847
|
|
|
|
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 |
|
|
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
|
|
|
|
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:
|
|
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 |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7847
|
|
|
|
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 |
|
|
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
|
|
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:
|
|
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 |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7847
|
|
|
|
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 |
|
|
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
|
|
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 |
|
|
|
|
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
|
|
|