Author: lekkim
SWT@Notes 8: Workbench startup and the Accounts API
So one of the things I have been wresteling with over the last couple of weeks is the Accounts API in Notes 8 / Expeditor. While very nice at the core it does leave something to be desired. Trying to interact with the Accounts API from a plugin running in Notes can and probably will result in an exception and the following messages being printed to the OSGi console if you happen to be looking there (which you really should). Look for an upcoming post for any easier approach… π
CLFMW0050E: Workbench is not ready to handle background thread request ! CLFMW0036E: Workbench is not ready for this operation
Suffice it to say that the lesson is that the Accounts API might be the same across Expeditor based clients but the implementation differs. For instance On Notes the accounts are stored in the local name and address book while it is stored in other formats in other Expeditor clients. This is all well and good but the fact that a Notes database is the backend store on Notes leaks through the API. The above messages are solved by running the code that access the Accounts API in a NotesJob. Really!? This is very poor design IMHO but something I think we have to live with.
Ahh the frustrations sometimes makes me want to scream…
Lotus Connections communities and Java policy files
Brain dump…
Only technote I could find that mentioned tango.policy was technote 1286604 but that wasn’t it. I did however find a clue in the Lotus Connections wiki and was able to adapt it to my needs.
<Application server (e.g. server1)>Java and Process ManagementProcess DefinitionJava Virtual MachineCustom Properties
java.security.auth.policy -> <path to communities.policy file>
Take the red pill and click your heels 3 times…
“You take the red pill – you stay in Wonderland and I show you how deep the rabbit-hole goes.”
I do not consider myself a total nut job but I invite you and encourage you to listen to this episode of the Daily Source Code podcast for your start to the awakening. If nothing else it’s an eye opener… Taste the red pill.
Daily Source Code #781 for Friday August 8th 2008: Confessions Of A MultiMedia HitMan.
TwitNotes – proxy support in v. 1.0.5
So TwitNotes has been out for a while now and I have been discussing various aspects of the application with users. One of the issues that come up time and time again is proxy support. The proxies supported by TwitNotes v. 1.0.5 are the proxies supported by the Notes version you’re using.
One of the issues I discovered is that the proxy configuration in location documents doesn’t seem to work all the time. Sometimes the proxy configuration is only picked up from the “Network Connections” page under Preferences. Another observation is that only the “Manual proxy configuration” option seems to work.
Your miles may vary and please let me know if you have proxy issues.
Hmmm – disable Send to Bluetooth to get Excel working
Finally solved a problem I have been having with Microsoft Excel 2003 crashing on Windows Vista by disabling the Bluetooth add-in… Read more at forums.microsoft.com if you have the need…
It’s YellowDay (Ye118w Day)

So today is YellowDay and what does that mean? Hmm… I don’t know yet but I’m gonna figure it out! π
CURLing on Windows
Notes 8.5 OSGi console madness
Ahhh some of the fun stuff you see when running Notes 8.5 with the OSGi console showing… π
<DWSystem> null [<DWSystem> 11:11:46:590] partial 0.000 - cumulative 0.000 - instantiate controller [<DWSystem> 11:11:48:545] partial 1.955 - cumulative 1.955 - instantiate action dispatcher [<DWSystem> 11:11:48:870] partial 0.325 - cumulative 2.28 - instantiate ComputeAttrs [<DWSystem> 11:11:48:880] partial 0.010 - cumulative 2.290 - instantiate AttrMap [<DWSystem> 11:11:48:910] partial 0.030 - cumulative 2.32 - instantiate distance function [<DWSystem> 11:11:49:855] partial 0.945 - cumulative 3.265 - set incremental augmentor to null [<DWSystem> 11:11:49:965] partial 0.110 - cumulative 3.375 - instantiate executor [<DWSystem> 11:11:50:906] partial 0.941 - cumulative 4.316 - instantiate displayer [<DWSystem> 11:11:50:971] partial 0.065 - cumulative 4.381 - instantiate treewalker [<DWSystem> 11:11:50:976] partial 0.0050 - cumulative 4.386 - instantiate the widget manager [<DWSystem> 11:11:51:106] partial 0.130 - cumulative 4.516 - instantiate instrumentation services [<DWSystem> 11:11:52:021] partial 0.915 - cumulative 5.431 - instantiate the abstraction module [<DWSystem> 11:11:52:351] partial 0.330 - cumulative 5.761 - instantiate the logical name translator factory class name com.ibm.pw.DocWizard.ExpeditorWidgets.ExpWidgetFactory Create ExpWidgetFactory factory class name com.ibm.pw.DocWizard.SWTWidgets.SWTWidgetFactory [<DWSystem> 11:12:01:577] partial 9.226 - cumulative 14.987 - instantiated the widget factory [<DWSystem> 11:12:02:009] partial 0.432 - cumulative 15.419 - instantiate step instantiator [<DWSystem> 11:12:02:597] partial 0.588 - cumulative 16.007 - instantiated the session trace [<DWSystem> 11:12:03:272] partial 0.675 - cumulative 16.682 - instantiated control loop - done initializing DWSystem View initialization done CLOSING SYSTEM
Servicify with wasservice.exe
Had to add a couple of Lotus Connections Websphere server processes as services under Windows today and found this nice blog post that describes how: Creating a Windows service for WebSphere AppServer