Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error on deplying

 
abhay jain
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Module directory is locked and cant be deleted


Seems clear enough -- you've got a file permissions problem.
 
abhay jain
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic