Skip to Content

Access Remote SDM

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Oct 10, 2006 at 01:40 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2006 at 02:42 PM

    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^

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 12, 2006 at 10:16 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      i need develop an application which will instal my software(ears) in remote system by taking IP address of that system.

      finally my goal is to develop an application like as RemoteGUI.

      pls guide me to do this.

      regards

      Guru

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 10:40 AM

    HI

    You can deploy using Ant Task by writing a Java class . Have a look an this link

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1ca44e78-0801-0010-fa9d-a760d921b12f

    Hope this helps

    regards

    rajesh kr

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.