how to release rhino from glassfish

I have a web app using yuicompressor running on glassfish

however, when I run maven clean, I have the following error

Failed to delete C:.....targetYUI-1.0-SNAPSHOTWEB-INFlibjs-1.7R2.jar -> [Help 1]

it is a bit strange, because if I deploy the app into tomcat, then no problem deleting the file

how to force glassfish divorce rhino?


Almost certainly some process is hanging on to the file.

Get handle.exe [1] and run it like so:

handle js-1

It should show the process.

Another way to check it out is to copy & paste the filename and delete it yourself manually. If YOU can't delete it, neither can maven or GlassFish.

[1] http://technet.microsoft.com/en-us/sysinternals/bb896655

链接地址: http://www.djcxy.com/p/68242.html

上一篇: 在玻璃鱼上运行的詹金斯/哈德森一夜之间无一例外地停止

下一篇: 如何从玻璃鱼释放犀牛