This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 217

I remember that wldeploy cannot deploy war files. You need to package it into an ear file.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: deployment of WAR file from ANT fails
It's not a secret anymore!