Any idea why a scheduled agent not working in DWA 8, but work manually. Thanks!
Subject: Usually: a) Missing rights (signed with wrong id) or b) The use of none backend classes
Subject: How to check?
Thanks Geige! But how can I check the right. I am using admin account. Also, how can I check the backend classes. Sorry for those silly questions!
Subject: Now silly questions, just one I had heared in a long time
a) not useable none backend classes is basically the use of something with ‘UI’ in there (like NotesUIWorkspace) - Or to use other words, all the stuff you would not fine in the java classes, too. There used to be posters of all the classes who would made this clear, and I think there have been pdfs, too, but I don’t know wher to find them.
b) Access rights are usually there if you are Desginer or more on the database ACL and if the various Fields in the server document are set right.
In Other words, If you do a plain new install of a Server in a new domain on a test machine, you should not have such issues in this envrionment.
I think I would start with for something really simple - like (Lotus scpript)
print Cstr(now) & " - Printed By Way Yi Chan’s Agent Version 0.00"
Put this in Initialize of an new Agent, and schedule it for running on the server. The outcome on the server should be both, in log.nsf and on the server console (For the client the output would be in the status bar). Ad more complex code step by step (and increase the version number to see if the changes apply). This way you should be able to find out what is working.
Subject: Check…
Check in the log.nsf database for any errors
check your agent for any NotesUi… stuff
Notesuidocument, Notesuidatabase, etc