facebook

Deployment to Weblogic 8 fails: MyEclipse locking files.

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253931 Reply

    andben
    Member

    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?

    #253944

    Riyad Kalla
    Member

    The file isn’t gettnig locked by Eclipse but rather locked by your running application server. What I would suggest is using an exploded deployment, that was every time you save your file it is deployed out to your application server automatically by MyEclipse and you don’t need to keep rerunning the delpoyment step.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deployment to Weblogic 8 fails: MyEclipse locking files.

You must be logged in to post in the forum log in