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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to create WAR file." Watch "How to create WAR file." New topic

How to create WAR file.

Pankaja Shinde
Ranch Hand

Joined: Sep 15, 2006
Posts: 87
I created WAR file in MyEclipse and deployed in WebSphere Application Server 6.0 (WAS) successfully.
I want to create WAR file in Eclipse and want to deploy in WAS 6.0.
Is there any plugin for WAR creation in Eclipse.
I created WAR file by standard command
jar -cvf HelloWorld.war *
But this WAR file doesn't deploy in WAS 6.0. Errors.

Please Help.


Pankaj Shinde
Vicki Amin
Ranch Hand

Joined: Aug 31, 2005
Posts: 32
Hi Pankaj,

Try this. File>Export> Select the WAR file option and select the web project you want to export as a WAR file.


SCJP 1.4 | SCWCD 1.3 | SCBCD 1.4 | Oracle 9i:SQL | TOGAF 9
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: How to create WAR file.
It's not a secret anymore!