Troubleshooting An Embedded Sametime Install by Julian Robichaux, panagenda originally published on socialbizug.org, November 2013

Similar documents
What You Need to Know When Buying a New Computer JackaboutComputers.com

Hello World! Computer Programming for Kids and Other Beginners. Chapter 1. by Warren Sande and Carter Sande. Copyright 2009 Manning Publications

Using a floppy emulator instead of normal old floppy drives: (This method works both for the d8b and the HDR.)

1.7 Limit of a Function

Getting Started. Excerpted from Hello World! Computer Programming for Kids and Other Beginners

List of Known Toolbox Problems

Mr G s Java Jive. #11: Formatting Numbers

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

README Document. LS- DYNA MPP Program Manager for Windows. Version 1.0 Release: June 10, Welcome! Quick Start Workflow

5 R1 The one green in the same place so either of these could be green.

Windows 7 Will Not Load On My Computer Says I'm

Introducing Thrive - The Ultimate In WordPress Blog Design & Growth

How to approach a computational problem

Debugging Java in Agents, Script Libraries, and XPages

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.

SimpleText User s Guide

How To Get Your Word Document. Ready For Your Editor

Taskbar: Working with Several Windows at Once

6 Stephanie Well. It s six, because there s six towers.

Fractions and their Equivalent Forms

The 9 Tools That Helped. Collect 30,236 s In 6 Months

Monitoring Tool Made to Measure for SharePoint Admins. By Stacy Simpkins

Bryan Kreuzberger, Creator of The Breakthrough System Presents. Breakthrough BLUEPRINT

Considerations for Mobilizing your Lotus Notes Applications

Blog post on updates yesterday and today:

The 21 WORD . That Can Get You More Clients. Ian Brodie

The requirements according to Autodesk are to be using Xcode with the 10.8 SDK(comes with it). Xcode 6 does not have this SDK.

If you ve never used Quicken, begin here. This chapter tells you how to

Windows 7 Will Not Load On My Computer Says Its

setting up LightWave screamernet

Introduction to the Emacs Editor

How to update Windows and Office offline

Using Code Templates in DDE by Julian Robichaux, panagenda originally published on socialbizug.org, July 2013

SOLIDWORKS PDM Taming the PDF Preview

SIS offline. Getting Started

How Often Should I Shutdown My Macbook Air

If Statements, For Loops, Functions

Fractions and their Equivalent Forms

Spectroscopic Analysis: Peak Detector

How To Clone, Backup & Move Your WordPress Blog! Step By Step Guide by Marian Krajcovic

Version 6.3 Upgrade Guide

Life, the Universe, and CSS Tests XML Prague 2018

Installing the WHI Virtual Private Network (VPN) for WHIX Users Updated 12/16/2016

Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Git Workbook. Self-Study Guide to Git. Lorna Mitchell. This book is for sale at

Arduino IDE Friday, 26 October 2018

Chapter01.fm Page 1 Monday, August 23, :52 PM. Part I of Change. The Mechanics. of Change

Yahoo Messenger Error Code 7 Latest Version

Creating a new form with check boxes, drop-down list boxes, and text box fill-ins. Customizing each of the three form fields.

Spam. Time: five years from now Place: England

(Refer Slide Time: 02.06)

Guides for Installing MS SQL Server and Creating Your First Database. Please see more guidelines on installing procedure on the class webpage

Java/RealJ Troubleshooting Guide

Using Images in FF&EZ within a Citrix Environment

Getting Started With Squeeze Server

Fractions and their Equivalent Forms

Warnock on PDF: Its Past, Present and Future

Lecture 16. Today: Start looking into memory hierarchy Cache$! Yay!

LeakDAS Version 4 The Complete Guide

Introduction to Programming

Essbase Installation Tutorial Tim Tow, President and Oracle ACE Director. Applied OLAP, Inc

Delete Songs From Iphone Without Itunes Ios 5 >>>CLICK HERE<<<

TRS2006 Content Manager Plus (CMP)

Running Wordstar 6 on Windows 7 Using vdos

Learn Ninja-Like Spreadsheet Skills with LESSON 9. Math, Step by Step

Configuring GNS3 for CCNA Security Exam (for Windows) Software Requirements to Run GNS3

12 Follow-up Templates

Market Insight Launcher. Technical Details of the Market Insight Launcher Mechanism

Heuristic Evaluation of Covalence

The most underrated quality of Steve Jobs: Presentation Skills. I never saw anyone doing better than him.

FROM 4D WRITE TO 4D WRITE PRO INTRODUCTION. Presented by: Achim W. Peschke

COPYRIGHTED MATERIAL. Starting Strong with Visual C# 2005 Express Edition

XP: Backup Your Important Files for Safety

It s possible to get your inbox to zero and keep it there, even if you get hundreds of s a day.

In today s video I'm going show you how you can set up your own online business using marketing and affiliate marketing.

Yup, left blank on purpose. You can use it to draw whatever you want :-)

15 Minute Traffic Formula. Contents HOW TO GET MORE TRAFFIC IN 15 MINUTES WITH SEO... 3

CONVERSION TRACKING PIXEL GUIDE

Powered by. How did trying to give apples away for free change the world?

the NXT-G programming environment

Devel::Cover - An Introduction

Subversion was not there a minute ago. Then I went through a couple of menus and eventually it showed up. Why is it there sometimes and sometimes not?

The Problem, the Solution and the End FinalPart

Text Only Version of Lessons

Cadence Verilog Simulation Tutorial Mark L. Chang Last revision: September 18, 2005 Cadence version: Cadence IUS s011

Case study on PhoneGap / Apache Cordova

TABLE OF CONTENTS CHANGES IN 2.0 FROM 1.O

How to Get Your Inbox to Zero Every Day

TestComplete 3.0 Overview for Non-developers

Validating Your PSQL Database Backups

2

The smarter, faster guide to Microsoft Outlook

Transcriber(s): Aboelnaga, Eman Verifier(s): Yedman, Madeline Date Transcribed: Fall 2010 Page: 1 of 9

Control Structures. Code can be purely arithmetic assignments. At some point we will need some kind of control or decision making process to occur

QUICK EXCEL TUTORIAL. The Very Basics

Exercise 6 - Addressing a Message

EchoSub v1.2 EchoStyle

4HOnline has a powerful report system that allows you to take an existing report, customize it to suit your needs, and then save it to use again.

What Are CSS and DHTML?

This chapter is intended to take you through the basic steps of using the Visual Basic

Transcription:

Troubleshooting An Embedded Sametime Install by Julian Robichaux, panagenda originally published on socialbizug.org, November 2013 I was testing the new IBM Sametime 9 client on a few different virtual machines recently, and there was one IBM Notes client I had where the embedded Sametime client would not install. I finally got it working (yay!), but it wasn t obvious how to troubleshoot and fix the problem so I thought I would share some of the steps I went through and describe how the whole process works. While I am specifically talking about the Sametime 9 embedded client install below, the information is also relevant to any kind of Notes client plugin that uses an MSI or an EXE to install, like the IBM Connections plugins. Step 1: An Install That Hangs To install the Sametime embedded client, I extracted the sametime.embedded.addon.win32_20130911-1333.zip file from the whopping 2+ GB SametimeConnectClient download from the IBM software catalog. After unzipping this file, I closed the Notes client and ran the SametimeEmbedded.msi installer. I went through a few verification screens and finally got to a progress bar dialog that seemed to indicate that the embedded client was indeed installing. But then it got to this screen and froze up:

After 5 or 10 minutes of staring at the Validating the configuration message and watching my CPU stay pegged at 90%, I decided that the install was hung and I killed it in Task Manager. Killing the install didn t stop the high CPU utilization though, and I also had to kill the notes2.exe process:

The setup I had was an IBM Notes 9.0.0 client on Windows 7. I have used this VM for testing many times before, so I knew that the client itself worked and I had been able to install plugins and use Sametime in the past. I was also relatively sure that it wasn t a permissions issue because the Windows security dialog popped up and asked me to continue. So where to look for problems? Step 2: Finding the Logs For this type of MSI/EXE based plugin install, it is helpful to understand how it works before you start troubleshooting. The Expeditor (Eclipse) part of the Notes client uses a process called Provisioning in order to install plugins. An MSI/EXE installer works by running the Expeditor launcher in the background, using special command line options that trigger the provisioning operations. When the provisioning is finished (either successfully or unsuccessfully), the Notes process associated with the Expeditor launcher is shut down. This is why you can t have the Notes client running when you use the installer, because the running Notes client would conflict with the background Notes client that is launched

and used for provisioning. It also explains why we had to kill the notes2.exe process before. More importantly, it is an indication of where to look for log files about what happened: in the [notes_data]\workspace\logs directory, the same place where the normal Notes Eclipse logs are found. I sorted the files in my logs directory by date to show you which ones changed during the failed install process: The.prov2Install and rcplauncher.log files give a tiny bit of information about what happened during the install process, but nothing really useful. The good stuff is in the trace-log files. Step 3: Looking at the Log Files If you open the trace log files as XML files, either in a text editor or an XML editor, they are pretty hard to read. The easiest way to look at them is by opening them in Internet Explorer directly from the logs directory. YES, I SAID INTERNET EXPLORER. This is because IE will use the XSL stylesheet that also resides in the logs directory to format the XML log files for easy reading. Old versions of IE would do this automatically, but newer versions (starting with IE 8 or 9) have the local security settings cranked up a bit higher so we have to do a little trick.

I had IE 10 on this particular machine. When I initially opened the trace log file in that browser, it looked like a bunch of unformatted Times New Roman text. To trick IE into using the XSL transform, we need to put it into compatibility mode. Here s how: 1. Open the Developer Tools from the Tools menu. 2. Switch the browser mode from Internet Explorer 10 to Internet Explorer 10 Compatibility View.

3. Watch in amazement as the plain text in the browser magically transforms into a nicely structured table with alternating color rows.

Step 4: Understanding the Logs The trace log really ends up showing the same 5 messages over and over. This is because the installer keeps attempting the install, then the install fails, and then it attempts the install again, and it fails again, and on and on. The messages even have an incrementing number next to each install attempt so you can keep count. In my case, the installer was on its 700th attempt before I finally killed it. In a pleasant turn of events, if you actually read the install message it tells you exactly what caused the install to fail: Julian s Secret Troubleshooting Tip: reading the error message often tells you what the error is. Here we can see the message Requested operation cannot be performed because it would invalidate the current configuration followed by: [0] DepTest Feature (1.0.1) requires feature "com.ibm.collaboration.realtime.activitymonitor.feature (8.0.0.20080130-1459)", or compatible. OOPS! Do you remember that I told you I use this VM for a lot of testing? Well, one time long ago I was testing the effect of dependency declarations in plugins, and I created a plugin (cleverly named DepTest ) that had several dependencies on other plugins. One of the dependencies I used for testing just happened to be a Sametime plugin, and

because of the way I declared the dependency the provisioning engine wouldn t allow the Sametime installer to break my plugin by replacing the 8.0 version of the activitymonitor feature with the 9.0 version. Unfortunately, this also put the installer into a death loop of trying to install over and over again. This seems to be a programming bug to my untrained eye, but it s at least a bug I can work around. Just uninstall the troublesome DepTest plugin (which I don t really need anyway) and try again. Step 5: Why Won t My Notes Client Start? In order to fix this I just have to open my Notes client and uninstall that plugin and wait, why won t my Notes client start? Now when I launch Notes, I login and it just hangs at the splash screen with the Loading please wait message. Hilariously, when the Loading progress bar gets all the way to 100% it starts over. I love when progress bars do that. To understand what s going on here, you need to navigate to the Notes\framework\rcp\deploy directory (and you ll also want to kill the still-running Notes processes in Task Manager).

As part of the provisioning process, the new Sametime embedded client plugins were added to the install.xml file. When the Notes client starts up it reads the install.xml file and tries to use the new Sametime plugins and well, at this point I m honestly not sure what happens. I don t know if it tries to reinstall the plugins (because it still knows the path to the installer files) or if it just gets sad and curls up into a little ball or what. All I know is that Notes won t start. However, the Notes client keeps backups of old install.xml files. A lucky break! All you have to do is find an old install.123456789.xml file in the deploy directory that does not contain references to the new Sametime plugins and rename it to install.xml. Now the Notes client should start and all is back to normal. In Conclusion While I seriously doubt that anyone else would have exactly the same problem as me in this situation I am quite sure that no one else has my DepTest plugin it s always good to know how things work, how the pieces fit together, and especially how to troubleshoot. And even if no one else does have my troublesome plugin, it s not too much of a stretch to think that there might be other plugins in the wild that have Sametime dependencies and might exhibit similar behaviors.