WASServiceMsg.dll is locked when installing fix packs and cumulative fixes on Windows
 Technote (troubleshooting)
 
Problem(Abstract)
The WASServiceMsg.dll file is locked by the Microsoft® Windows® operating system and cannot be updated during the upgrade of WebSphere® Application Server.
 
Cause
The following error can occur when you have WebSphere Application Server set up to run as a service. It does not matter if the service starts automatically or not.

2006-02-09T12:47:14+01:00 Error 79 -- Unable to open destination file:
C:\Program Files\WebSphere\AppServer\\bin\WASServiceMsg.dll : C:\Program

Files\WebSphere\AppServer\\bin\WASServiceMsg.dll (The requested operation cannot be performed on a file with a user-mapped section open)
2006-02-09T12:47:14+01:00 java.io.FileNotFoundException: C:\Program Files\WebSphere\AppServer\\bin\WASServiceMsg.dll (The requested operation cannot be performed on a file with a user-mapped section open)
at java.io.FileOutputStream.open........

In addition, during uninstalling and reinstalling the WASServiceMsg.dll file could remain locked after the uninstall has completed. This will cause the reinstall to fail.
 
Resolving the problem
If you have WebSphere Application Server running as a service to start automatically, change this to start manually. Then reboot your machine and retry the installation.

If you do not have WebSphere Application Server set to start automatically and it is already set to start manually, then reboot your machine to free the locked resource. Then retry the installation.

If you are uninstalling and then reinstalling. Reboot your machine after a successful uninstall before reinstalling.

In addition to the steps above, sometimes it is necessary to shut down the Windows Management Instrumentation service after your system has rebooted. Then retry the installation.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Install
Operating system(s): Windows
Software version: 6.1
Software edition:
Reference #: 1230924
IBM Group: Software Group
Modified date: Feb 20, 2006