File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error on deplying

 
abhay jain
Ranch Hand
Posts: 130
  • 0
  • 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: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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
  • 0
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic