I am working on a portlet and most of the time deployment to the application server goes fine (Weblogic 8). However, sometimes deployment from myEclipse fails to the server due to locking of files (jsp files that are open in eclipse) by eclipse. Every time this happens I need to restart the server which is kind of tedious because it takes several minutes for the portal to start up and allow for login.
Does anyone know a workaround for this or am I simply doing something wrong?
Error reads:
Undeployment failure on WebLogic 8. File
c:\bea\…\config.jsp unable to be deleted. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at c:\bea\…
Manually removing the deployment does now work since the file has been locked by eclipse which is still running. Is there any workaround so that I do not have to restart the server evey time this happens?