Hail,
i’m trying to set up a RSS feeds system, with a Java agent which would feed up the document base. It works great on my client computer (when I execute the agent manually), but it keeps giving me errors when i try to schedule that agent on the domino server (every 5 mins, for instance).
So, here we go.
First, the code it doesn’t like (errors are thrown at the parse() method call) :
import com.ibm.xml.parsers.* ;
…
DOMParser parser = new DOMParser();
parser.parse(url.trim());
org.w3c.dom.Document rssDom = parser.getDocument();
Then, the error messages grabbed from the domino console :
15/12/2003 15:56:02 AMgr: Agent (‘ReadActiveRSSFeeds’ in ‘PROD\site\isite.nsf’
) error message: at RssFeed.(RssFeed.java:9)
15/12/2003 15:56:02 AMgr: Agent (‘ReadActiveRSSFeeds’ in ‘PROD\site\isite.nsf’
) error message: at JavaAgent.NotesMain(JavaAgent.java:18)
15/12/2003 15:56:02 AMgr: Agent (‘ReadActiveRSSFeeds’ in ‘PROD\site\isite.nsf’
) error message: at lotus.domino.AgentBase.runNotes(Unknown Source)
15/12/2003 15:56:02 AMgr: Agent (‘ReadActiveRSSFeeds’ in ‘PROD\site\isite.nsf’
) error message: at lotus.domino.NotesThread.run(NotesThread.java:208)
15/12/2003 15:56:02 AMgr: Agent (‘ReadActiveRSSFeeds’ in ‘PROD\site\isite.nsf’
) error message: www.codestore.net,-1
15/12/2003 15:56:02 AMgr: Agent (‘ReadActiveRSSFeeds’ in ‘PROD\site\isite.nsf’
) error message: at com.ibm.xml.framework.XMLParser.parse(Unknown Source)
I really dunno what to do, i thought it was a path problem so I added xml4j.jar in the path, classpath and in the domino’s notes.ini (JavaUserClasses), but it doesn’t make it working better.
Thx for any help or workaround about this…
regards,