Skip to Content
Author's profile photo Former Member

Deploy .sda Files without JSPM

Hi All,

Sometimes happend that you’re going to patch the system, or deploying an upgrade… and something critical goes wrong.

You would like to re-deploy the package again, but the system cannot be started again, and neither the JSPM works… so…

This is an alternative way to deploy packages on a SAP system, rather using the JSPM tool:

  1. Loging in to Telnet Administrator from your SAP system on OS level (with your <sidadm> user)
    1. Command: telnet localhost 5<SystNumber>08
    2. Login with your <j2ee_admin> user

Pic1.jpg

  1. Create a file “deploylist.txt” on your file system and on separate lines enter the full path anf file name of the package which you wish to deploy: SERVERCORE, ENGINEAPI, BASETABLES, J2EEAPPS, J2EEFRMW, etc…
    1. Example:     /usr/sap/trans/EPS/in/com.sap.aii.af.axisproviderlib.sda
  2. Run Command:deploy list=\<path>\deploylist.txt version_rule=all
  3. System should start the deployment (Java Stack will be rebooted)

Assigned Tags

      11 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Andy Silvey
      Andy Silvey

      Hi Simone,

       

      this is a very useful blog, I use the command line deployment a lot as it is much faster for small sda's and patches.

       

      A few more tips, in NW 7.1 onwards, the command line deployment is made using the TextConsole which is located in:

       

      /usr/sap/SID/Jxy/j2ee/console

       

      ./textconsole.sh

       

      (another tip, I have observed with new 7.31 installations that the textconsole.sh file contains bad ^M characters at the end of each line, these characters need to be removed otherwise the textconsole.sh will not execute)

       

      regarding the actual deploy command, the switch at the end, version_rule=all is used to OVERWRITE any version, so be careful with that one.

       

      Also, this OSS Note

       

      OSS 1677600 - How to undeploy the BI4.0 application from SAP Netweaver 7.3

       

      discusses using the same tool for undeployments.

       

      And one more thing, it is not necessary to list your sda's in a text file you can directly point to your sda with the deploy command.

       

      All the best,

       

      Andy.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Andy,

       

      Many Thanks for your hints, will be really usefull for other users!

       

       

      ps. I forgot to mention everything!

      Author's profile photo Andy Silvey
      Andy Silvey

      Hi Simone,

       

      thanks

       

      it really is a useful tool, I use it a lot, and if you need to do small patches, .sda's ,  .ear's  , non-core sca'

      s  then it is great and fast

       

      if you deploy core sca's with it, eg wdruntime etc, and the sca requires an instance restart then you will lose focus on the tool and have to login again

       

      All the best,

       

      Andy.

      Author's profile photo Hemanth Kumar
      Hemanth Kumar

      Hi,

       

      If the system doesn't start, then even telnet would not work.

      In that case only the extramile tool would be useful.

      Also check:

      sap note 1715441 - How to deploy .SDA files on J2EE servers on

                         Netweaver release 7.1 and higher

       

      Regards,

      Hemanth

      Author's profile photo Former Member
      Former Member

      Hi. It's help me today. Tks a lot.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Great!

      Author's profile photo Charles Koekemoer
      Charles Koekemoer

      Great one Simone, It helped me as well.

      Author's profile photo Former Member
      Former Member

      Hi Simone,

       

      can you please tell me in case of an error during a deployment using telnet where can I find the logs ?!

       

      Thank you and best regards!

      Author's profile photo Andy Silvey
      Andy Silvey

      try the default trace

       

      Andy.

      Author's profile photo Hemanth Kumar
      Hemanth Kumar

      Hi ,

       

       

      Hope you are doing good.

      You will get more info in:

      -> the telnet log itself.
      ->the deploy* files in the work directory
      -> and as Andy mentioned, in the default traces.

       

       

      Thank you!

       

      ____________

       

      Kind Regards,

       

      Hemanth

       

      SAP AGS

      Author's profile photo Former Member
      Former Member

      thank you very much!