203 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Whither IBM Part 2: Is Domino being silently killed? | The Domino Elf – Hogne B. Pettersen's Social Biz Blog
Mon, Nov 14th 2016 8
wissel.net :: Vert.x and Domino
Sun, Apr 3rd 2016 6
wissel.net :: Vert.x and Domino
Fri, Feb 19th 2016 8
LDC Via: how does it work?
Tue, Jan 5th 2016 8
LDC Via: how does it work?
Tue, Jan 5th 2016 5
Bits or pieces?: Open source as weapon
Sun, Dec 6th 2015 5
Bits or pieces?: Open source as weapon
Sun, Dec 6th 2015 3
Top 10
[Webinar] IBM Mail Next and Notes Domino Roadmap - YouTube
Tue, Sep 16th 2014 19
NetMotion XE vs Cisco AnyConnect
Sat, May 24th 2014 11
Unlocking your Sony Xperia Z* boot loader C6503 ~ Ray blogs about - Linux
Wed, Jul 30th 2014 11
Domino to Exchange Coexistence: Is It Really Necessary? - Binary Tree
Thu, Sep 4th 2014 10
GEGeek Tech Toolkit Fixes Windows Computers and Updates Itself
Mon, Sep 29th 2014 10
IBM Connections Cloud wiki : Troubleshooting Administration : Cheat Sheet: Firewall Settings for IBM Connections Cloud S1
Fri, Feb 6th 2015 10
Microsoft's "Secret" Mail Migration Tool
Sun, Nov 16th 2014 9
Hear from the best at IBM Connect 2015
Fri, Aug 28th 2015 8
LDC Via: how does it work?
Tue, Jan 5th 2016 8
wissel.net :: Vert.x and Domino
Fri, Feb 19th 2016 8


wissel.net :: Vert.x and Domino
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

wissel.net :: Vert.x and Domino:

'via Blog this'




An interesting article written by Stephan Wissel.

--------------------------------



A while ago I shared how to use vert.x with a Notes client, which ultimately let me put an Angular face on my inbox and inspired the CrossWorlds project.
I revisited vert.x which is now 3.2.1 and no longer beta. On a Domino Linux server (I don't have Windows) and on a Mac Notes client the JVM is 64 Bit, which makes the configuration easier (no -w32 switch, no download of an additional JVM). The obligatoryHelloWorld verticle ran quite nicely with my manually. However it wouldn't run, when the Domino ran using a startup script.
The simple reason: to be able to access the Domino instance the vert.x verticle needs to run with the same user as the Domino server. su into the user doesn't do the trick - and of course you can't login into my server with the id that runs Domino. The solution was to turn to the expert and his outstanding Linux boot script. Using the /etc/sysconfig/rc_domino_config_* file you can simply define the behavior of your Domino startup and shutdown experience. Mine looks like this (I use "domino" as my standard user, not "notes"):

rc_domino_config_domino

1
2
3
4
5
6
7
8
LOTUS=/opt/ibm/domino
DOMINO_DATA_PATH=/home/domino/notesdata
DOMINO_SHUTDOWN_TIMEOUT=600
DOMINO_CONFIGURED="yes"
BROADCAST_SHUTDOWN_MESSAGE="yes"
DOMINO_REMOVE_TEMPFILES="yes"
DOMINO_POST_STARTUP_SCRIPT=/home/domino/scripts/launch_vertx
DOMINO_PRE_SHUTDOWN_SCRIPT=/home/domino/scripts/stop_vertx

I have installed vert.x using npm using the full stack. With node.js installed, all you need is sudo npm install vertx3-full. Of course there are more conservative ways to install, vert.x, this may be an exercise left to the reader. I didn't use any of the environment variables exposed by the standard boot script to keep it independent. The script itself is just a few lines:

launch_vertx

1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Starts the vert.x tasks that talks to Domino
DOMINO_HOME=/opt/ibm/domino/notes/latest/linux
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export VERTX_HOME=/usr/lib/node_modules/vertx3-full/vertx
export DYLD_LIBRARY_PATH=$DOMINO_HOME
export LD_LIBRARY_PATH=$DOMINO_HOME
export CLASSPATH=.:$DOMINO_HOME/jvm/lib/ext/Notes.jar:$CLASSPATH
http://feedproxy.google.com/~r/RaysTechSite/~3/RlXmAKb3oMc/wisselnet-vertx-and-domino.html
Apr 03, 2016
7 hits



Recent Blog Posts




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition