cancel
Showing results for 
Search instead for 
Did you mean: 

How can i deploy Dictionary Applications via commandLine

Former Member
0 Kudos

Hi all,

I am able to deploy the ear's (EJB's) from the command line using deploymanager command.

But now my problem is i want to deploy the Dictionary applications from the command line.

The thing is using deploymanager we have to give an .xml file which will give the whole information about the ear and all. But coming to Dictionary application there is no ear file in that. It contains .sda file.

How can i deploy this to server using command line.

Any body pls help.

Regards,

Ramu.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

to deploy a dictionary (sda-file) you must use the SDM.

In this weblog there is a link to a tool which you can use to run SDM deployments from ANT-Scripts:

/people/david.beisert2/blog/2006/02/13/sdm-deployment-as-ant-task

I think it should be possible using this technique to deploy a dictionary-sda-file as well.

Best regards,

Stefan Brauneis

Former Member
0 Kudos

Hi stefan,

Thankyou for your reply.

Can i deploy the .sda (Dictionary Archieve) through command line without using any external tools.

I am doing this for an ear using deploymanager.

c:\usr\j2ee\....\deploying> deploymanager abc.xml

using the above command i am deploying the ear. in the abc.xml i am specifying the ear file path and ear base directory and all. It is working fine.

Now i am asking that is there any way like this to deploy an dictionary object(.sda) to a server.

regards,

Ramu.

Former Member
0 Kudos

Hi Sunil

You can deploy an SDA using SDM.bat commandline option .

The command line syntax :

1) got to D:\usr\sap\J2E\JC01\SDM\program

2) Excecute sdm.bat with the following option

deploy:

Stage the given files and start their deployment

usage:

deploy [list=<...>] [logfile=<...>] [sdmhome=<...>] [onerror=<...>] [fi

le=<...>] [syntaxcheck=<...>] [softwaretype=<...>] [logtoconsole=<...>] [updatev

ersions=<...>]

Hope this helps

regards

rajeshkr

Former Member
0 Kudos

Hi Rajesh,

Thankyou again for your reply.

I didn't understand the procedure you explained above , how to use sdm.bat and deploy with the options.

Can u tell me in details how can i don this step by step.

I am having one Dictionary Project with the structure as follows:

HelloDictionary1

->bin

->gen_ddic

->Model Folder

->src

->.classpath

->.metamodel

->.project

->.tssapinfo

->HelloDictionary1.sda

Can u tell me arguments for the sdm.bat and how to run the deploy command in detail.

Thankyou,

Ramu.

Former Member
0 Kudos

Hi Sunil ,

below is a example of sda deployment using sdm command line

1)First Stop the SDM server using SAP MMC or the NWDS j2ee engine prespective

2)sdm jstartup "mode=standalone" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"

3)sdm deploy "sdmhome=D:\usr\sap\J2E\DVEBMGS00\SDM\program" "file=c:\test.sda" "onerror=stop"

4) sdm jstartup "mode=integrated" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"

The steps 2 and 4 is required since this sdm is integrated with jstartup FW

Hope this helps,do not forget to reward points

regards

rajesh kr

Former Member
0 Kudos

Thank you Rajesh,

Tahnks for your kind help.

regards,

sunil

Former Member
0 Kudos

Hi Sunil

Also you can start and stop the sdm server from comaan line

Starting SDM :

SDM server "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program"

Shutting down

SDM shutdown "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program" "sdmguiport=50018" "sdmhostname=<hostname>" password="<password>" "shutdownmode=abort"

Hope this helps ,do not forget to reward points

regards

rajesh kr

Former Member
0 Kudos

Rajesh,

Can we undeploy sca files in NW2004s with this SDM command line method?

Regards,

James

Answers (0)