I am a Java developer that's been assigned a task to develop some code that must interface with Notes databases on a remote server. I am new to interfacing with Notes via Java, so I'm floundering a lot. Here's what I know, what I've done, and what I'm working with:
- My code needs to run on a Linux server (no user interface available). I do have the 9.0.1 RPMs but, due to security restrictions regarding some of Notes' required libraries (mainly X), I cannot simply install them.
- The remote databases have been set up for me. I cannot administer them nor log into those remote systems.
- I have the Notes.jar file, a 32-bit JRE, and an ID file that the DB's admin provided me.
- I know that I need to LD_LIBRARY_PATH in the native libs that come with the Notes install. I've used rpm2cpio to unpack the RPMs, so I can see the .so's now.
- I am trying to write a "Hello, world"-level program that, at this point, simply performs a NotesFactory.createSession(), and this fails with an "UnsatisfiedLinkError".
So, at this point, my initial question is this:
Can I make this work without having to fully install Notes on my Linux server? In other words, can I somehow use the contents of the Notes client RPM to stand up my code, without having to "properly" install it?
I do suspect that I am missing something, like some environment settings, or files/directories in my home directory, etc (for starters, anyway).
Thank you for reading and for any help you can provide.