on 04-20-2006 4:07 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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.
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
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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.