• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

error on deplying

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)]
**********************************************************************

 
Sheriff
Posts: 67670
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
A tiny monkey bit me and I got tiny ads:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic