on 12-11-2007 3:17 PM
I have a WAR which runs quite well under Tomcat. I want now to deploy it onto the SAP NW AS. With which tool can I do this?
Hi,
The easiest way is to create an ear file in the NWDS encapsulating the WAR file and deploying the ear in the J2EE Server.
Regards
Srinivasan T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Thomas,
It is actually the only way. You cannot deploy a WAR file as it is on the WAS. You need to import the files into NWDS, and create a new WAR out of it, then an EAR archive and then deploy it.
The reason for the new archives is that the NWDS adds new descriptors specific to the Web Application Server.
Here is how you can do it. Unzip the WAR into a temporary folder somewhere. Then in NWDS, you create a project of type Web Module and import your contents into the webContent folder of your NWDS project.
Now create a project of type Enterprise Module and add a reference to the Web Module Project. If the reference has been set correctly, you should be able to see module reference unter the tab "modules" in your application.xml (Enterprise Project). After that, right click on the Enterprise Project and click "Build Application Archive" and the EAR file will be built. Just right click on the EAR file to deploy it on the server.
In case you do not have administrator rights for deployment, you can send the new EAR file to the concerned Administrator.
Bye,
Sameer
Thanks!
I find the related info from:
http://help.sap.com/saphelp_erp2005/helpdata/en/d7/24503e0fbfc04ae10000000a114084/frameset.htm
Message was edited by:
Thomas Roland
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.