hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Automize Freeze (simultaneous dirMonitor.jsd access?)

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions
View previous topic :: View next topic  
Author Message
richard.obrien



Joined: 03 Jun 2010
Posts: 7

PostPosted: Thu Jun 03, 2010 5:31 am    Post subject: Automize Freeze (simultaneous dirMonitor.jsd access?) Reply with quote

The following message happened in conjunction with a 'freeze' of the Automize Service & GUI. I have to log out and log back in to get the UI to relaunch.

This is the error log from what looks like when it froze most recently. We have been experiencing Automize freezing like this daily. I will try to monitor whether this is the cause each time.

Code:

Jun 2, 2010 10:45:00 PM
java.io.FileNotFoundException: data\settings\dirMonitor.jsd (The requested operation cannot be performed on a file with a user-mapped section open)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(Unknown Source)
   at java.io.FileOutputStream.<init>(Unknown Source)
   at com.hitek.engine.utils.UtilityMethods.saveProperties(UtilityMethods.java:283)
   at com.hitek.engine.mods.monitor.DirMonitorTask.trimPropertyFile(DirMonitorTask.java:221)
   at com.hitek.engine.mods.monitor.DirMonitorTask.MonitorDirs(DirMonitorTask.java:191)
   at com.hitek.engine.mods.monitor.DirMonitorTask.dirMonitorTask(DirMonitorTask.java:71)
   at com.hitek.engine.mods.monitor.DirMonitorTask.run(DirMonitorTask.java:41)



Contents of the dirMonitor.jsd is this:

Code:

#File Modified Time in Milliseconds
#Thu Jun 03 09:20:01 EDT 2010
S\:\\Data\\Daily\\DBFX\\Fills_20100601.csv=1275388345316
S\:\\Data\\Daily\\DBFX\\Fills_20100603.csv=1275527035618
\\\\zeus\\shared\\Data\\Daily\\ABFO\\Archive=1275563033077
S\:\\Data\\Daily\\DBFX\\Archive=1275389395464
S\:\\Data\\Daily\\DBFX\\Fills_20100602.csv=1275473187390




Installation details:
WinXP x64
Automize 8.39 Standard


Last edited by richard.obrien on Thu Jun 03, 2010 5:43 am; edited 1 time in total
Back to top
View user's profile Send private message
richard.obrien



Joined: 03 Jun 2010
Posts: 7

PostPosted: Thu Jun 03, 2010 5:41 am    Post subject: Reply with quote

I should also note that there is another process that is a directory monitor that runs at the same frequency (both run every 5 minutes) so one monitor may have that file open, preventing the other from opening it.
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Jun 03, 2010 9:52 am    Post subject: Reply with quote

did you have the output or task log or debug log visible during this time?
did the engine freeze or just the GUI?
how big is the dirMonitor.jsd file?
Back to top
View user's profile Send private message
richard.obrien



Joined: 03 Jun 2010
Posts: 7

PostPosted: Thu Jun 03, 2010 9:54 am    Post subject: Reply with quote

I did not have those logs open at the time of freezing.

It appears the engine freezes as the directory monitor tasks that would run every 5 minutes did not run after that point (until I restarted it).
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Jun 03, 2010 9:57 am    Post subject: Reply with quote

richard.obrien wrote:
I should also note that there is another process that is a directory monitor that runs at the same frequency (both run every 5 minutes) so one monitor may have that file open, preventing the other from opening it.


what version are you using?
to verify if this is the issue, schedule the other monitor to start at 2, 7, 12 etc.. and the first at 0,5,10... so that both do not have the file open at the same time..
Back to top
View user's profile Send private message
richard.obrien



Joined: 03 Jun 2010
Posts: 7

PostPosted: Thu Jun 03, 2010 9:59 am    Post subject: Re: Automize Freeze (simultaneous dirMonitor.jsd access?) Reply with quote

richard.obrien wrote:

Installation details:
WinXP x64
Automize 8.39 Standard


I have made the suggested change to offset their run times and will keep you posted! I have my fingers crossed.
Back to top
View user's profile Send private message
richard.obrien



Joined: 03 Jun 2010
Posts: 7

PostPosted: Wed Jun 09, 2010 4:44 am    Post subject: Reply with quote

There have been no further issues since making the change. It appears that may be the bug.
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Wed Jun 09, 2010 5:30 am    Post subject: Reply with quote

we will switch to separate dirMonitor_tasktitle.jsd files for each directory monitor task in one of the next few patch updates.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions All times are GMT - 8 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