Nuri Ensing
Nuri Ensing

Reputation: 2030

Posting Data from IBM Notes Documents to a PHP File Using a Java Agent

I have an IBM Notes Java agent that posts fields from 50,000 Notes documents to a website containing a PHP file. The agent performs a single post per document. Eventually, the PHP file processes these documents.

However, after a few thousand documents, IBM Notes crashes. I couldn't find any relevant information in the log file. Is there a limitation with Notes that prevents it from handling this volume of documents?

Upvotes: 0

Views: 198

Answers (2)

Mario S
Mario S

Reputation: 1984

Trying to make easier Lotus Notes development with Java, I started an Open Source project some years ago, http://riverframework.org.

It supports the native IBM Java libraries and OpenNTF Domino API. The framework handles the recycling too. Because of time, I couldn't keep working on it, but the last version was stable. I used it in real projects.

HTH,

Upvotes: 0

Richard Schwartz
Richard Schwartz

Reputation: 14628

You're probably missing at least one required call to the recycle() method of some of the objects you're using. See here.

And also consider switching to use the OpenNTF Domino API instead. (Actually, I think the github home for it is better for you to check out than the OpenNTF site.) One of the improvements it makes over the standard API from IBM is that it handles the recycling for you, so you won't have problems with running out of that pesky back-end storage allocated by the Notes C API underneath the Java layer.

Upvotes: 2

Related Questions