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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Don't get me started about those stupid light bulbs.
subject: How to create WAR file.
Similar Threads
Help Needed : EAR Creation and Deployment Steps for WAS 6.0
Error deploying simple servlet
how to create war file
How to generate a .war file in Eclipse ?
Creating a WAR in Eclipse