The ArcIMS Tasker looks to have a config issue
I have site that I am working on that creates a lot of files on the fly and I want to delete them automatically. The ArcIMS Tasker has been designed to do just this for temporary map images that are created on the server. The tasker can also be configured to go and delete files from any directory you tell it to -- and/or the extension of the file.
So I went the ArcIMS Tasker to delete some files for me (this is its job). I opened the Tasker.properties file to check out where to add a directory etc. -- C:\Program Files\ArcGIS\ArcIMS\AppServer\Tasker -- It references the config file -- tasker.xml as being in C:\Program Files\ArcGIS\ArcIMS\Middleware\Tasker -- a directory that does not exist.
In fact the tasker.xml property is right next to the Tasker.properties file in C:\Program Files\ArcGIS\ArcIMS\AppServer\Tasker . So I changed the reference to it in the taskfile property in the taskfile.properties. Restarted and checked the stdout stderr logs in the same Tasker directory -- still wrong, because of course this is ArcIMS using Java -- it wants forward slashes. A quick change to taskFile=C:/Program Files/ArcGIS/ArcIMS/AppServer/Tasker/Tasks.xml in the tasker.properties and a restart says the tasker is now happy.
The point - if you (or your clients) have directories that are not getting cleaned up as they should be -- this is probably the issue. Tasker cleans out the files as instructed in tasker.xml.
Comments
NZERN is using ColdFusion, Flash and ArcIMS for mapping community led conservation projects in New Zealand.
14 map viewers are working and it is planned to have 400 in 12 months. Each conservation project gets its own map viewer. The requirement is to make the viewer as light and fast as possible.
You can leave feedback at http://www.bush.org.nz/eris/contact.html
Posted by: Mike
|
October 3, 2006 09:46 AM
Oops- the link is http://www.bush.org.nz/site/813_explore.html
Posted by: Mike
|
October 3, 2006 09:47 AM