This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes CLI171 Command deploy failed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "CLI171 Command deploy failed" Watch "CLI171 Command deploy failed" New topic

CLI171 Command deploy failed

rami el hadi

Joined: Nov 05, 2008
Posts: 1

i am having a problem with Sun Application Server 8.2

every time i deploy my application it gives me this error:

"CLI171 Command deploy failed : Deploying application in domain failed; Cannot delete existing directory..."

the only work around i found to be working is to delete files manually after shutting down the "Sun AS 8.2" from:

install_dir/domains/domain1/application/{j2ee-apps|j2ee-modules}/{app|module} :

and from :

install_dir/domains/domain1/generated/ejb/{j2ee-apps|j2ee-modules}/{app|module} :

but i am in an development status, so i need to do this every time i want to test new upgrades for the code (like 50 times a day), and it's taking me a lot of time.

i found another work around about this issue that is:

add the parameter --precompilejsp=false, but where to add this?, in wich file ... a .xml or .xmi, and in wich directory of my .war or .ear ??
I agree. Here's the link:
subject: CLI171 Command deploy failed
It's not a secret anymore!