on 10-10-2006 11:24 AM
Hi All,
Is it possible to access(control) the remote sdm using java program , my request is to deploy ear files in to the remote server using java program, can anybody help me about how can i deploy ear files in to the remote server using java program.
Thanks&Regards
Srinivas
HI
You can deploy using Ant Task by writing a Java class . Have a look an this link
Hope this helps
regards
rajesh kr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1) Copy SDM folder from Server ( /usr/sap/<SID>/DVEBMGS<instance number>/SDM
2) change the strings "@call "/usr/sap/<SID>/DVEBMGS03/SDM/program\sdm_prep_com.bat" and "%sdm_com% remotegui "sdmhome=/usr/sap/<SID>/DVEBMGS03/SDM/program" for the file "RemoteGui.bat" as per your remote Pc location
EX: if you have copied SDM at c:/SDM
Strings should looks like
@call "c:\SDM\program\sdm_prep_com.bat
"%sdm_com% remotegui "sdmhome=c:\SDM\program"
3)change "sdm.bat" and "sdm_jdk.bat" ( remote PC java location),"sdm_prep_com.bat", "startSDM.bat" and "StartServer.bat"
4) run "RemoteGui.bat" from your Windows PC to run sDM remotly.
Regards,
Srikanth
Hi Srinvas,
the batch files that you are using are not the recommended way to deploy locally, because the sdm doesn't keeps track of the deployed via deployment manager items.
You should use the command line. For doc on the topic go to:
<instal dir>\usr\sap\J2E\JC01\SDM\program\doc
You can deploy via command line only locally. If you want to deploy remotely in SDM, you can use the remote GUI:
The SDM Server and
the remote GUI can run on different hosts, however they must be connected by a network
connection. Use the command remotegui to start the remote GUI:
sdm remotegui
Since there is no current separate installation for the GUI, you must perform a complete SDM
installation even if you only want to start the remote GUI on the host.
You can find more doc in <instal dir>\usr\sap\J2E\JC01\SDM\program\doc
Best Regards,
Elena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yaneva,
Thank you very much for your reply.
you are specified that deploy remotely in SDM with the remote GUI:
can you specify how the backend process(how ears are deployed in to the remote server with remote gui)is running,what approach they are followed,is it possible with using java program.
Can you give any help links regarding to deploy ears with remote gui
Thanks&Regards
SrinivasaRao
Hi Srinivas,
Follow this steps
1. Open the remotegui.bat you will find under the location
C:\usr\sap\J2E\JC00\SDM\program
2.It will ask for password enter the valid passsowrd.
3. You can see four tabs SDM repository, Deployment, Undeployment and logviewer
4. click on deployment tab and click very first button in menu list "Add SCA SDA for deployment List".
5. select your ear file which you want deploy.
6. click next, start deployment and confirm.
You ear file is deployed now
Regards, Suresh KB
hi
good
go through this link, which ll give you complete idea about the access remoe sdm.
http://docs.sun.com/app/docs/doc/819-5732/6n7pvl3ag?a=view
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Srinivas,
You can deploy files to remote SDM server using one of the following:
-deploy view in NW
-command line
-SDM GUI
for additional information go to:
usr\sap\<SID>\<Instance_Number>\SDM\program\doc
Best Regards, Elena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yaneva,
Thanks for your response.
I have written following batch file to start sdm server in the localsystem.
Now my requirement is to start(access) the remote sdm server how can i write batch file for that.
if EXIST "c:\usr\sap\J2E\JC00\j2ee\deploying\deploymanager.bat" goto CONTC
if EXIST "d:\usr\sap\J2E\JC00\j2ee\deploying\deploymanager.bat" goto CONTD
goto END
:CONTC
cd\
c:
cd\
cd c:\usr\sap\J2E\JC00\SDM\program
startserver
goto END
:CONTD
cd\
d:
cd\
cd d:\usr\sap\J2E\JC00\SDM\program
startserver
goto END
:END
how to write batch file to access the remote sdm server.
Thanks&Regards
Srinivas
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.