File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deployment of WAR file from ANT fails

 
Vicenç Aleix
Greenhorn
Posts: 4
Firefox Browser Java Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

ANT:

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
Posts: 233
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember that wldeploy cannot deploy war files. You need to package it into an ear file.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic