cancel
Showing results for 
Search instead for 
Did you mean: 

Probleum in Deploying existing WAR file

Former Member
0 Kudos

We are trying to deploy the existing WAR file of our web application on SAP NetWeaver AS 7.0 through SAP NetWeaver Developer Studio. What we are doing is creating the workspace in that by import we are importing the war file of our application ? It is unzipping the war file and placing it in the project name folder which we have created in the workspace. When we are trying to run the application on server it is saying "IT CANNOT BE PUBLISHED". Do we have any solution for this problem. Could you guys please explain me how to deploy and run the existing war file on the SAP NetWeaver AS 7.0 through SAP NetWeaver Developer Studio. I will appreciate your reply.

Thank You

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Even if you want to deploy a web application you need to package it as an EAR file. So the typical steps would be :

1. Import your web application project content into NWDS in a Web Module.Create a fresh war after compilation from the J2EE perspective / J2EE view.

2. Create an Enterprise application project and reference this web module project into that. Create an EAR in the J2EE perspective and then deploy the EAR.

Rgds,

Amol

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Rakesh,

Check this link too:<a href="http://help.sap.com/saphelp_nw04/helpdata/en/f4/6c9962da317549a05919ce926b5196/frameset.htm">here</a>

Regards, Suresh