When trying to install Sametime 7.5 Server on a computer running Sophos Antivirus be sure to disable the antivirus service while installing. If you don’t you’ll most likely get an error saying “Installation has detected some Domino or Sametime processes already running” and you will be unable to continue. The answer was found in technote 1245237.
When you develop and run plugins for Sametime 7.5 on Windows or Linux you do not use a standard Java Development Kit (JDK) and standard 1.4.2 JVM. Instead you use a slightly modified version called the JCL Desktop JDK and the J9 JVM. The “slightly modified” means that some features have been removed from the JDK to make it “safe” for the Expeditor framework that Sametime 7.5 runs on.
An unfortunate side-effect of this decision is that you cannot use the Notes/Domino API (that is notes.jar or ncso.jar) without resorting to additional libraries. The reason is that the ever present lotus.domino.NotesException inherits from org.omg.CORBA.UserException which is an exception class that has been removed in the modified runtime class library (for more information about lotus.domino.NotesException see my post called Java in Notes/Domino Explained: NotesException).
Fortunately there is a way to remedy that. The solution is to include the ibmorbapi.jar library (can be found in c:Program FilesNotes7Datadominojava on my laptop) in your plugin alongside notes.jar or ncso.jar. The ibmorbapi.jar library is quite large (around 400kb) but I haven’t yet played around with it to see if you could simply get away with including the org.omg-packages.
Now you know why your plugin fails to compile due to indirectly referenced Corba classes.
Anyways – someone who has the ears of the Sametime development team might want to mention this to them. Apart from that – great product and its a joy to develop plugins for Sametime 7.5! 🙂
I was tagged by William Bea.
1) I used to study biochemistry before I started my own company which is where I work today. I hold a bachelors degree in Biochemistry (and a Msc in Internet Technologies).
2) I have crossed Col de Tourmalet in the French Pyrenees (2115 meters above the sea) 3 times on bike.
3) I have driven across USA and back two times and I have been in 45+ states plus the District of Columbia.
4) I know why its funny that the President in The West Wing is called Josiah Bartlett (hint: see who signed the Declaration of Independence).
5) I’m a total sucker for Friends and know many (if not most) of the episodes by heart.
The working title is somewhat of a mouthful (“Solving the native library binding problems of the Notes/Domino Java API in the Sametime 7.5 Connect client plug-ins”) and it will probably be changed a couple of times before the article goes to print.
The article is slated for publication in the Mar/Apr 2007 issue of THE VIEW.
As pointed to by Adam Gartenberg there’s a new article out on developerWorks (Creating an update site for your IBM Lotus Sametime Connect plug-ins) on how to create an Update Site for your Sametime client deployment. As much as I would recommend the article I really would suggest that readers don’t stop there and read the entire story on Update Sites at Eclipse.org (How to keep up to date) before venturing into this territory.
Although the developerWorks article does a nice job of describing the subject for the Sametime inclined I would recommend also reading about the Eclipse foundations…
As an aside I also wants to mention that you can test plugins using an Update Site without having a HTTP server ready (although we all have a Domino server ready, no?). You can do this because the Eclipse framework also allows for local Update Sites (i.e. on the same computer or on a network share). To use this feature simply choose “Local Site” instead of “Remote Site” and point your Sametime client to the Update Site directory under your Eclipse workspace. Very nice for testing.
It was with some excitement that I pressed submit in the Lotusphere Speaker Reference database a few moments ago… My presentation is done and submitted and I think it is a good one.
Have a nice weekend – I know I need it! 😉
FIND THAT BUG by Cedric…