cancel
Showing results for 
Search instead for 
Did you mean: 

EAR Deployment via Script or API

Former Member
0 Kudos

Hello,

I'm looking for a way to deploy EAR files on Netweaver 7.1 CE via the command line or a programmatically via an API. I could only find documentation on how it can be done with Netwaver 6.4 [(PDF)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1ca44e78-0801-0010-fa9d-a760d921b12f]. However, the DeployManager interface is no longer available in 7.1.

I also tried it via JSR88 (JavaEE Deployment API), but the runtime classes do not exist on the application server.

Does anyone have an idea how to do this on Netweaver CE 7.1?

ciao,

Elmar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Use the deployment script

<SAP DRIVE>:\usr\sap\<SID>\<INSTANCE>\j2ee\deployment\scripts>deploy <username>:<password>@<servername>:<p4port> <path of the archive (ear)>

Former Member
0 Kudos

You can use the com.sap.engine.services.deploy.DeployService interface for this. Just do a llokup on the deploy service of the engine and you van start/stop, deploy, remove, etc all applications.

More info on:

http://help.sap.com/saphelp_47x200/helpdata/en/84/7846fd9ab62b449410f2bb915d4792/content.htm

PS. This question is almost the same as your other question.

Former Member
0 Kudos

Hi Elmar

Did you ever get this to work? I'm trying to do the same myself, and was hoping you might be able to help.

The only docs I found on the topic are http://help.sap.com/saphelp_nwce10/helpdata/en/44/f08b76b5190e8fe10000000a11466f/content.htm

Thanks

Stuart

Former Member
0 Kudos

Hi,

Use the deployment script

<SAP DRIVE>:\usr\sap\<SID>\<INSTANCE>\j2ee\deployment\scripts>deploy <username>:<password>@<servername>:<p4port> <path of the archive (ear)>