facebook

Undeploying WebApp fails due to read lock [Closed]

💡
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 IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #218802 Reply

    Kevin_L
    Member

    Hi,

    I would like to know why I cannot remove the exploded war project files from tomcat 5.0 server without shutting down. It keep saying that some of the jar files are being used. Thus it doesn’t let me remove the webapp without shutting down the server. This is really hassel.

    K~

    #218809

    Riyad Kalla
    Member

    Kevin,
    This has been covered quite a few times in other threads; the reason is stated in the deployment tool when you try and remove the deployment: The file is locked. 9 times out of 10 this means your application server has a read-lock on the JAR files for class loading purposes, and the way FAT and NTFS work is that you cannot gain a write-lock on the file to delete it until all the read-locks are released… in this case, they are not so your delete operation fails.

    On *nix this problem does not exist as the filesystems are typically implemented to allow deferred operations (the delete operation will succeed and be queued up).

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Undeploying WebApp fails due to read lock [Closed]

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