cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy EAR file through command line

Former Member
0 Kudos

Hello Gurus,

We have external consultants helping us with Java development of a certain application on our CRM system. Usually I would deploy this file through SDM (RemoteGUI). Is there a way to do this on a command line?

Thanks much.

Arvind.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Arvind,

The only way to do this is thru, CTS+ (transport non-ABAP request thru STMS). In which, you create a TR of non-abap objects and use TP command (thru STMS) to import the request into the system.

Refer below link for more information.

[Transporting Non-ABAP Objects in Change and Transport System|http://help.sap.com/saphelp_nw70/helpdata/en/45/ec25370fdc3481e10000000a1553f6/frameset.htm]

PS:- The enhanced CTS functions are available when you import Support Package Stack (SPS) 15 of SAP NetWeaver 7.0. You also require an SAP Application Server Java with the same Support Package level.

This require some system configurations.

Hope this info, helps you.

with regards,

Rajesh

Former Member
0 Kudos

Hello Rajesh,

Thanks much for your response.

I do understand that CTS+ is the way to go to have everything centralized for Transport management but I am surprised that there is no way in which we can import an EAR file through command line. I know that we could use sdm deploy file=<file-name> for .sda and .sca files and that we cannot use the same for .ear files. So is there no utility at the OS level that could do an ear deployment?

Thanks,

Arvind.

Former Member
0 Kudos

Hi Arvind,

If understand your question correctly, you want to deploy EAR files like a SDA or SCA file, rite? If so, convert the EAR file to SDA file then deploy them thru command line.

How to do that???

You can find the u201AMakeu2019 utilities in the portal with System Administration ® Support ® Support Desk. Click on the top-level area for Transport. The SAP u201AMakeu2019 utilities are provided for downloading under the test and configuration tools.

For information about installing and using the command line u201AMakeu2019 utilities, see Note 696084.

CTS+ is not just centrally transporting. You can add, Java transportable object, like your EAR files to a TR and import them using TP command.

Hope this info helps you.

with regds,

Rajesh

valeriocicchiel
Contributor
0 Kudos

Hello Community,

the sdm utility allow this, but it can be executed only if SDM server is stopped and it is in standalone mode... a bit too complicated, but it works

StopServer.sh

sdm.sh jstartup mode="standalone"

sdm.sh deploy file=<full path to file to be deployed>

sdm.sh jstartup mode="integrated"

StartServer.sh

You can find the sdm utility in <sdm_home>/program and the documentation in <sdm_home>/program/doc

Regards,

Valerio