Skip to Content
Author's profile photo Mahesh Kumar Mukkawar

Upgrading JAVA Support Stack through JSPM

Upgrade JAVA Support Stack with JSPM

Applies to: ECC 6.0,SAP Netweaver 7.0

Summary

Java Support Package Manager (JSPM) to apply support packages on deployed software components. JSPM connects to the SDM server to deploy support packages and software components. The SDM server performs additional validation of the support packages and software components for deployment.

JSPM is integrated with the SAP NetWeaver Development Infrastructure (NWDI). JSPM detects SAP software components that have been modified and allows you to apply support packages to them. You can also deploy SAP and third-party software components to which you can then apply support packages and patches.

Author(s):    Mahesh Kumar Mukkawar

Company:    Greatship India Limited

Created on:  31 March 2012

Author Bio

Untitled.pngMahesh Kumar Mukkawar is a Netweaver Consultant with Greatship India Limited and lives in Mumbai, IN. He previously worked for Alkem Laboratories, a leading pharama company in india.Mahesh Kumar is a Post Graduate from Osmania University,IN. He has exposure to SAP BPC in his coursework and interested in enterprise systems.

1.  Introduction

In current document I will demonstrate how to apply patches for JAVA Stack. JSPM connects to the SDM server to deploy support packages and software components. The SDM server performs additional validation of the support packages and software components for deployment.

JSPM is integrated with the SAP NetWeaver Development Infrastructure (NWDI). JSPM detects SAP software components that have been modified and allows you to apply support packages to them.


1A. Download Java Patches

  You can download Java Patches from SAP Service Market Place. Go to http://service.sap.com/swdc and expand SAP  Support Package Stacks and click on SP Stack Download and Side effects report.

/wp-content/uploads/2012/03/1_89089.png

On right hand select your SAP Version. In my case I will choose SP Stack SAP NetWeaver 7.0 In next popup window select your current version of SP Stack and Select Target SP Stack.

/wp-content/uploads/2012/03/1_89089.png

In next screen select the component for which you want to download stack. In my case I will select Application Server Java. In next selection screen you select operating system and proceed to next.


/wp-content/uploads/2012/03/1_89089.png

Once you select the components click on Add To Download Basket. These objects are with .SCA extension. You can download components from download basket by using SAP download manager. For some of the components you will have to confirm from Solution Manager.

It is advisable to upgrade JSPM to its latest version and will be explained in  Section – 2A


1B. Approve Patches in Solution Manager

            The Maintenance Optimizer leads you through the planning, download and implementation of support package stacks, which contain a set of support packages for your systems. You can also install enhancement packages or put them into an upgrade to SAP ERP 6.0 (previously SAP ERP 2005), using the Maintenance Optimizer.

            Patches added to download basket in service market place needs to be approved from solution manager. To approve patches your maintenance optimizer in solution manager needs to be configured. I presume solution manager is configured and will proceed further.

            To approve patches login into solution manager and enter transaction DSWP. Select the solution and create new maintenance transaction.

/wp-content/uploads/2012/03/1_89089.png

A pop will be opened in browser. Select the system to which you want to approve patches and click on continue.

/wp-content/uploads/2012/03/1_89089.png

Untitled.png

Untitled.png

Untitled.png

Check file would like to confirm and you can download approved patches from SAP Download Manager.


1C. Upload Java Patches

Patches downloaded .SCA needs to be uploaded to /usr/sap/trans/EPS/in. From this inbox JSPM will collect all patches and will update the system.


2.  Apply Java Support Stack

You can update all software components of SAP products that are deployed on the system by applying a support package stack. Support package stacks are defined by SAP collections of support packages for software components that work best together. In addition, you can apply a support package stack, which contains newer versions of SAP software components that have been modified in the NWDI. Using Java Support Pack Manager (JSPM) you can apply java patches.


2A. Starting JSPM

     JSPM is located at /usr/sap/SAP-SID/Instance No/J2ee/JSPM. This folder consists of following files and scripts needed to start JSPM. Executing script go will launch JSPM tool. Enter login credentials for SDM and login into tool.

Untitled.png

Untitled.png

Following figure shows outlook of JSPM

Untitled.png

2B. Updating JSPM & Apply SPS

     When JSPM is started it automatically starts its GUI on the local machine, that is the machine JSPM is running on. If SAP system is on UNIX and a Windows PC is used as a client this requires some kind of X server software to run on the Windows PC to display JSPM GUI.

     The update of JSPM does not require a restart of the J2EE Engine and does not affect the system operation. To update JSPM select JSPM and proceed further. In Same way for applying other components select New Software Components and proceed to further.

Untitled.png

JSPM will check if any dependencies

3.  Common Errors

3A. Reset SDM Password


This procedure helps to recover lost SDM Passwords or to just change SDM password. As SDM is default in Integrated Mode, first you have to take it to Standalone Mode and after changing password take it back to Integrated Mode.

  1. Access (Telnet, SSH, DT, XWindows) system with <sid>adm user.
  2. Open Terminal Window
  3. Go to SDM Root folder with : cd /usr/sap/<SID>/JC<no>/SDM/program
  4. Take SDM to Standalone Mode: sdm.sh jstartup mode=standalone
  5. Change SDM Password: sdm changepassword sdmhome=/usr/sap/<SID>/JC<no>/SDM/program newpassword=<newpassword>
  6. Take SDM to Integrated Mode: sdm.sh jstartup mode=integrated

4.  Related Content


http://help.sap.com/SAPHELP_NW04S/helpdata/en/a8/02784278b66255e10000000a155106/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/1f/c45b4211aac353e10000000a1550b0/content.htm

http://help.sap.com/saphelp_smehp1/helpdata/en/46/418970cdb45fabe10000000a1553f7/frameset.htm

 


Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Good Document, Easy to navigate and understand.

      Gowtham

      Author's profile photo Former Member
      Former Member

      Thanks For sharing...

      But i have one doubt in JSPM when to select option single support pack,in this case u have selected new software components.

      Author's profile photo Former Member
      Former Member

      hi,

      when you are upgrading the existing support packs to latest one, then you have to select single support pack.

      Author's profile photo Former Member
      Former Member

      Hi

      Thanks Reply

      In the above case  your upgarding the existing support pack version to new one,then u have to select option 3.

      Author's profile photo Former Member
      Former Member

      Thanks dude 🙂

      Author's profile photo Former Member
      Former Member

      Good Document - Upgrading JAVA SP through JSPM

      Author's profile photo Former Member
      Former Member

      Thank you so much for this helpful tutorial. I really benefit alot from it 🙂