Solved

where to see the output of a Lotus Notes agent?

Posted on 2011-02-14
3
861 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Email Message Background Color 4 155
Querying received e-mails from an agent 7 213
Lotus Notes Database "Invalid NSF Version" 5 2,267
IBM SAN DS 3512 Controllers Networking issues 11 75
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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