XPages & Domino JNA

Karsten Lehmann has published a very promising project named „Domino JNA„, which allows access to the underlying IBM Domino/Notes C API from Java.

If you want to use the project in a XPages, you have to add some Java permissions to the java.pol file on your server:

grant {
    permission java.util.PropertyPermission "jnidispatch.path", "write";
    permission java.util.PropertyPermission "jna.loaded", "write";
}

Additionally, you have to import the following JARS from „domino-jna\target\lib“ (after a successfull Maven build) to a directory on the server (jvm/lib/ext) or import it into an NSF:

  • commons-collections4-4.0.jar
  • jna-4.2.2.jar
  • joda-time-2.9.2.jar
Dieser Beitrag wurde unter Java, Security, Server, XPages veröffentlicht. Setze ein Lesezeichen auf den Permalink.

Ein Kommentar zu XPages & Domino JNA

  1. Thanks, good to know. 🙂

    Providing something that works out of the box for XPages apps is still on my list, e.g. adding all to an OSGi plugin and exporting the right packages to XPages app code. But my plan was to add this to the Maven build script and time was limited until now to get this done.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.