Smoothing Over The 7.0.3 Upgrade on Windows
Carl Tyler and others have been pointing out a sticking point in performing the Domino 7.0.3 upgrade: it can create duplicate service entries on Windows servers. It's normal to configure a Domino server for an automatic startup as a Windows service, but now it creates a new one, and the previous entry is invalid.
You have two solutions, and one gotcha to consider.
-
Microsoft includes a tool (sc.exe) which can be used to configure services (this is detailed in the 7.0.3 release notes).
-
Run the ntsvinst.exe tool in the Domino executable directory. We've had the ntsvinst.exe since the days of Notes 4, and it nearly works correctly.
-
The gotcha is working with the excellent Java Controller.
On Windows servers I really like using the Java Controller, but I found that it was difficult to configure with a ND7.0.3 upgrade. On AIX and Linux, I tend to rely on Daniel Nashed's script. In order to automatically load the Java Controller on Windows, the service requires the “-jc” tag at the end of the imagepath parameter in the registry.
If you use the ntsvinst.exe, the syntax is “-d” for deleting ALL Lotus Domino Server registry entries, and “-c” for creating a new one. You can configure the “-c” choice with “-t” for a custom title and “-i” for the imagepath parameter.
The documentation for the Java Controller specifies that you edit the registry entry (using regedit) for placing the “-jc” at the end of the imagepath parameter.
So, why not put “-jc” at the end of the ntsvinst.exe argument? It would look something like this:
ntsvinst -c -i”c:\lotus\domino\notes.ini -jc”
This generates an error, and it will not place an entry in the registry.
On the other hand, if I simply use “ntsvinst -c” with no arguments, then manually making the regedit changes fail.
Here's what worked for me in adding the “-jc” on a ND7.0.3 upgrade. Do both.
-
Run the ntsvinst -c -i”c:\lotus\domino\notes.ini” (without adding the “-jc” tag)
-
Use regedit to add “-jc” to the imagepath for the HKEY_LOCAL_MACHINE, System, CurrentControlSet, Services, Lotus Domino Server.
- 


Comments