Solved

where to see the output of a Lotus Notes agent?

Posted on 2011-02-14
3
803 Views
Last Modified: 2013-12-18
I have following simple agent wrriten in java:

import lotus.domino.*;
public class JavaAgent extends AgentBase {
      public void NotesMain() {
      try {
           Session session = getSession();
           AgentContext agentContext = session.getAgentContext();

          // (Your code goes here)
         Database db = agentContext.getCurrentDatabase();
               ACL acl = db.getACL();
               ACLEntry acle = acl.getFirstEntry();
                        do {
                         System.out.println(acle.getName());             
                        } while ((acle = acl.getNextEntry(acle)) != null);
            } catch(Exception e) {
                  e.printStackTrace();
            }
      }
}

When I run this agent from Lotus Notes client, the agent ran and finishes without problem, but I can't see any output from the line System.out.println. Where can I see the output? Thanks.
0
Comment
Question by:dominoPgr
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 250 total points
ID: 34893185
I assume, if the agent is run on your client PC, that the output can be found in the Java console (Tools/Show Java Debug Console). If the agent runs on the server, you'd have to look in the log.nsf database, the Miscellaneous section.
0
 
LVL 5

Expert Comment

by:Emmanuel Gleizer
ID: 34894522
Btw I suggest you to use the openlog library. This will give you the option to quite in a dedicated DB log look in opentntf.org
0
 

Author Closing Comment

by:dominoPgr
ID: 34900836
Found it in Show Java Debug Console. Thank you!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now