• Help with setting this up

    By Cameron Donnelly 9 years ago

    Hi,

    Am after a bit of guidance. I've written a Java agent to import Excel spreadsheets using POI libraries (placed them on the server), and am now coming across memory issues, although I recycle EVERY domino object I create. Thought I'd try OpenNTF Domino API. But, I really can't see how I set this up. I did run the Install (in Domino Designer) via the Updatesite.zip. Question is, can I use this in Agents? I tried import org.openntf.domino, no go. I checked the plugins, and can see them. Is there a step I'm missing? Can't really see any documentation on how to install and am keen to try this. Been developing and working on this agent for a while, does everything it has to, now coming across potential memory issues. Apologies if I've missed something.

    Thanks,

    Cameron

    • By Cameron Donnelly 9 years ago

      Hi,

      After a lot more searching I found that I had to copy the org.openntf.domino.xx.jar to the jvm/lib/ext folder. One step forward. Next question I have is how do I grab a session? The usual getSession() doesn't work. What do you use instead of it?

      Thanks for some help.

      Cameron

      • By Jesse Gallagher 9 years ago

        The current state of functioning in agents is “well, it might work”. There's a specialized version of AgentBase - if you just changing the “import lotus.domino.” line to “import org.lotus.domino.“, it should switch to using that one. If you do that and it STILL doesn't work, could you look at the system console and send any stack traces?