开发者

Glassfish 3.1 deployment error

I'm developing a JavaEE application on Glasfish Application Server. I'm developing so I'm continously deployig/undeploying the application.

Everything has worked great until few hours ago when I got this error while deploying:

error in opening zip file --  file zip non valid:

and

com.sun.enterprise.deployment.deploy.shared.InputJarArchive
cannot be cast to
com.sun.enterprise.deploy.shared.FileArchive

the server log doesn't report a开发者_Python百科nything else, id did search on the net but seems noone has encoured on the same problem.

My war file doesn't contains any zip file!

Has anyone an idea on how to solve this?

Thank you in andvace


Here is the solution:

RENAME WAR FILE

seems amazing but after that everything worked again!

Probably some earlier deploy failed leaving some references to the broken application. This is just a guess anyway


This happens when you have a file with the same name created int the deploy folder. You cleanup that file and redeploy it will work. You should probably do a restart before redeploying.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜