Friday, November 6, 2009

Incorrect version of application

Today we had an issue where we deployed new version of the application but still the version page was showing old version number. We had checked the directory location and archive file name from the console, every thing looked fine. We had also extracted archive file on Admin Server and checked "version" page info which displayed the correct version but the same page was displaying in-correct version from the browser.

Finally we checked "version" page in the "DOMAIN_HOME/servers/ManagedServer/data/stage/ApplicatioName/ApplicationName.ear" on the Managed Server, and this page had old version number. This is when we figured it out that we forgot to select "stage" option during deployment, where Admin Server copies the archive file to Managed Server "stage" directory when we select "stage" option.

So we had deleted current application and made sure we had selected "stage" option and deployed the application again. Once this was done we were getting correct version number from the "version" jsp page.

Vijay Bheemineni.

0 comments: