File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes deployment of WAR file from ANT fails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "deployment of WAR file from ANT fails" Watch "deployment of WAR file from ANT fails" New topic

deployment of WAR file from ANT fails

Vicenç Aleix

Joined: Jun 05, 2009
Posts: 4

I have a war file that I can deploy just fine from the WebLogic console.

When I use ANT to deploy it I get an error.


The error:

In the upload folder of the server I see this structure

I am not sure where is that structure coming from....

However, when I deploy it from a war folder as an expanded WAR (source="${dist}/war") it works fine.

Thank you!
German Gonzalez-Morris
Ranch Hand

Joined: Nov 16, 2009
Posts: 167

I remember that wldeploy cannot deploy war files. You need to package it into an ear file.
I agree. Here's the link:
subject: deployment of WAR file from ANT fails