Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to deploy a war on weblogic9 using an ant task on a Unix box. I am getting the following error :
**[wldeploy] Error opening file [file path] Could not find End Of Central Directory.**
The war file has the name similar to a datasource. This error only occurs if the war file name matches with a datasource. The war gets successfully deployed of the name is different than a datasource in weblogic.

share|improve this question

That sounds a lot like a corrupted JAR / WAR / EAR file. Try to upload it again. Or try to make sure there is no conflicting file on the WL server where it tries to unzip it ...

share|improve this answer
(And try a zip utility (perhaps jar) to see if it is really corrupt.) – Tom Hawtin - tackline Dec 26 '09 at 4:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.