Sunday, October 30, 2011

Issues with not getting the effect of code updates


Problem Statement:
Customer is not able to see the effect of latest code updates in Production Environment.

Ok, what is the bug here?
Web-server is not restarted after code deployment.

How the problem was identified?
I got a call from the customer saying that they have deployed the latest code updates.  But, they are not able to see the effects.  Then, I have compared the files of both environments (Development and Production).  Both files are matched including their timestamp.  Later, we have verified the updates in Production environment by converting the class files into java files by using decompiler.  The latest code updates are available.  Once again, I recollected the steps for the deployment of latest source code.  Then, I thought that they might be missed to restart the web-server after completion of deployment.  Then, I have restarted the web-server and verified the system.  Now, everything is fine.