aspose file tools*
The moose likes Servlets and the fly likes error on deplying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "error on deplying " Watch "error on deplying " New topic
Author

error on deplying

abhay jain
Ranch Hand

Joined: Jun 03, 2011
Posts: 130
i am trying to deploy two java servlet classes and an html file which should invoke to one of the two servlet


on deploy it it gives this message (using sun deployment tool )

----------------------------------------------------------------------
distribute: D:\project\wara.war
deployment started : 0%
Deploying application in domain failed; Cannot deploy. Module directory is locked and cant be deleted: {1}
; requested operation cannot be completed

!!! Operation Failed !!!
!!! With The Following Failure Messages !!!
Deploying application in domain failed; Cannot deploy. Module directory is locked and cant be deleted: {1}
; requested operation cannot be completed
Cannot deploy. Module directory is locked and cant be deleted: {1}


**********************************************************************
[Completed (time=10.4sec, status=13)]
**********************************************************************

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61063
    
  66

Module directory is locked and cant be deleted


Seems clear enough -- you've got a file permissions problem.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
abhay jain
Ranch Hand

Joined: Jun 03, 2011
Posts: 130
Seems clear enough -- you've got a file permissions problem.


yes.. but strange thing is that whenever i close all applications and start again it gets deployed easily
 
Consider Paul's rocket mass heater.
 
subject: error on deplying