Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

Sign in to participate Previous Next
Subject: Sched agents not running in one db (edit 2)
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always

OK, I'm feeling very noob today. I've been fighting this for a couple of days and can't see the problem. Here are the details:

I'm working on on update to an existing app. I made a copy of the production db to work on and have defined it as 'TemplateNextVersion'. It's an NSF file. I do this all the time and never have problems with scheduled agents running.

At one point during design, I set the db properties to not run scheduled agents.
I have re-enabled agents in the db.

The design has only one @Function agent that runs once a day. In the dev db, it's not running.

I added a new LS agent that's to run once an hour and it's not running (right click agent, check log - this agent has never been run). The new agent was to create an Excel file onto a network share and I though the issue was either rights or just accessing the share so I switched the design to save the Excel file to C:\Windows\Temp. I do this on another agent in another db and it works fine. It's not running at all. I have 'print' code in the agent even before the dim statements and I'm seeing nothing in the log; this agent is not starting.

The ACL has the server as manager, no restrictions.
The agents are signed by the server ID.
Restricted operations are allowed in the LS agent.
I modified the agent to just create and send an email (code below)- still not running.
I created a new dummy db on the same server, made it a template ('templateDummy'), copied in the mail send agent, set the rights the same as on my problem db, signed the db with the server ID and the agent immediatly sent mail.

I set scheduled agents off, compacted, ran fixup, and turned sched agents back on, still not running.

The db has a default view.

What am I missing?

TIA for any ideas.

<edit>
I made a fresh copy of the production db, same security settings, nothing that I can see is different, I inserted the agent below, and it runs.
?????
No clue whats going on but I'm moving along with the new copy for now. If anyone has ideas, please let me know.

Doug

This is the LS agent I'm currently using to debug the 'won't run' issue. Once I get this running, I'll revisit my Excel/file share agent.

Sub Initialize

Dim session As New NotesSession
Dim db As NotesDatabase
Dim mailDoc As NotesDocument
Dim sendTo(0) As String

Set db = session.CurrentDatabase
'mail doc
Set mailDoc = New NotesDocument(db)
sendTo(0) = "Doug Finner"
mailDoc.Form = "Memo"
mailDoc.Subject = "Sched Agent test"
mailDoc.Body = "This is a test"
Call mailDoc.Send(False,sendTo)
Set mailDoc = Nothing

End Sub


Feedback number WEBB8VNEZE created by Doug Finner on 06/27/2012

Status: Closed
Comments: <edit 2>
So the problem isn't with this agent, it's with the 'full up' agent that tries to create an Excel file, save it on the Dom server, email it to me, then delete the file off the server. That agent is, for some reason, hanging when I instantiate Excel. Once it hangs, the server's agent manager locks onto the agent and prevents anything else from running until I restart Domino (and usually reboot the server). I've posted this issue later today so don't reply to the Excel thing here..





Printer-friendly

Search this forum


Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support


 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow