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 anything 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