Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CLI171 Command deploy failed

 
rami el hadi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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} :
C:\Sun\AppServer\domains\domain1\applications\j2ee-apps\

and from :

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

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 ??
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic