This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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
I agree. Here's the link:
subject: How to create WAR file.
It's not a secret anymore!