Well, I lost a day that I'll never get back. No, not through a drinking binge. I had to set up two identical IBM Wintel servers this weekend. Each is a quad-processor 3.8ghz machine with 4gb of ram running Win2k. They had IBM Director, CA Unicenter, and Oracle 8i configured.
The requirement was to set up with 6.02cf2 as that was the most stable version when the migration plan was approved (6.5 is waiting for the current servers to go live, then will be introduced to the test environment). The install went well on both machines, but I messed up on the Notes id's so I wanted to remove it and start over. I did that, and re-created the ID files then re-edited the server documents and tried again.
Each of these boxes will actually be running two partitions, so when I finished with the installer, I went to run the server setup program by kicking off nserver.exe on each box. On the second box, no problem. On the first box, I got an MSVC Runtime error.
Uninstalling & reinstalling did not help. I did it several times. I even tried it to a different directory. I tried searching the registry for any leftover information. I tried a lot of things. Nothing changed the behavior. Just as I was about to cheat, and copy the install directory from another machine and just change the Notes.INI file, I found a reference on-line to the problem. It was the JVM that comes with the Domino server -- particularly, JAVAW.EXE was crashing.
Further searching found references to two reasons why javaw.exe doesn't load (usually). The first is simple. It needs 256 colors and 800x600 screen resolution or it does not run. The second, is a bad FONT directory. Particularly, a font directory with links to other files in it. Neither seemed to be my case. I did a great deal of searching on the drive, on the net, everywhere -- and finally found that the same JVM when run from the IBM Director folder worked fine. No errors. That told me the problem was specific to the Domino server install. I solved the problem then, by copying the entire JVM directory (\lotus\domino\jvm\*) from another working Domino server of the same version. That step magically solved the issue.
So, whatever was broken was in that directory. Why then, would reinstalling from scratch not fix the issue? My only guess comes from the fact that the one difference I found on the two machines was the PATH environment variable. The two machines were otherwise alike. If I had to make a guess, I'd say the installer looks in the path to see if some file exists already, and if it does it will not load that file. That seems like a very dangerous way to do the install, since it makes your Domino server dependant on some other program not being removed from the machine. I have no idea if this is a 6.02cf2 only issue, or if installing a later version would avoid that dangerous assumption.
Anyway, I thought you all might be saved from wasting several hours the way I did, if I posted this. Have fun.
btw: Since the behavior of the Notes Client and the Domino Server clearly indicate that the JVM is loaded right from that directory, and the JVM installation in that directory (actually a JRE I believe) is clearly pretty standard -- I wonder what would happen if you REPLACED it with say, a JRE 1.4 version? Would it run? Would you get Java 1.4 functionality on the Domino server?
Comment Entry |
Please wait while your document is saved.