VMware server stops with HTTP 0 error
Posted on 2009-05-13
For my first foray into virtualization outside of the lab, I decided to virtualize three XP workstations that were running the email-to-case Java application from SalesForce. These have been humming along for the past year or so on their own workstations, but I wanted to free up space in the network room and cut power consumption.
I am using a new HP workstation with 8 GB of RAM. It is currently running Vista Home Premium, 64-bit. I have ordered the upgrade to Vista Ultimate to allow it to join the domain, etc.
I installed VMware Server 2.0 and then built three VM guests running XP Pro. Things went fine for the first few hours, but it began crashing pretty regularly with this error on the VMware console session:
"The server could not compete a request (HTTP 0)
The server encountered an unexpected condition that prevented it from fulfilling the request. If this problem persists, please contact your network administrator."
I found very few things on EE or in Google regarding this error. One article suggested that there is a mismatch between the version of Java installed on the base machine and that used by the application. A check showed that to be the case. The Vista box had the version 6 of the JRE and the SalesForce application installed teh verino 5 of the JRE. I uninstalled version 6 and then downloaded and installed version 5 on the base machine. This made no difference. I also made an environment varible, JAVA_HOME, and pointed it to the bin directory in the Java installation, and also defined this in the PATH variable. That made no difference.
I am unable to say what triggers the error. I rebuilt the Outlook profiles in case they were corrupt and were causing the problem. This had no effect either.
When the error occurs, connectivity is cut off. The Java application is started with a batch file and runs in a shell and posts messages about what it is doing. When it runs OK, you get a message every two minutes saying it is processing messages along with a count. When the error happens it says:
"ERROR Unable to connect to mail service." There are lot of additional error messages specifying that it cannot connect to the SMTP server. The operation of the application is straightforward. It logs on the the Exchange server (hosted externally) and checks the Inbox. If it finds a message, it parses the information and ships a structured message to SalesForce where it is turned into a case.
I am assuming the error messages are because the HTTP 0 error has caused the network connectivity to be interrupted. A check of that from a shell on any of the three VM'sconfirms that it has no connectivity.
To get things going again, I have to say OK to the error message in the VMware console and then re-login. After that I need to stop and restart the three XP VMs.
Any suggestions on what to check or change next?