cancel
Showing results for 
Search instead for 
Did you mean: 

JSPM Outdated-Need Help

tamil_arasan
Active Contributor
0 Kudos

Dear Experts,

we have installed Netweaver 7.4 for PI which was delivered with SPS05. we have updated Netweaver ABAP components into SP06 successfully. when we tried to apply the JAVA patches through JSPM, it shows no longer in maintenance, you have to use SUM tool. we have checked in the note 1589311 and it says JSPM is supported until Netweaver 7.4 SP03.

can you please let us know, is there any way to by-bass sum tool and apply the Java patches using JSPM (totally 76 components need to be updated).

Thanks in advance!

Regards,

Pradeep

Accepted Solutions (0)

Answers (4)

Answers (4)

tamil_arasan
Active Contributor
0 Kudos

Thanks a lot Ashish,

I will check this in sandbox. Thanks once again.

Regards,

Pradeep

Former Member
0 Kudos

Hi Pradeep,

Just One more thing.

In the bootstrap.bat file at the 8th Line

set JAVA_CMD="E:\usr\sap\ED1\J01\exe\sapjvm_6\bin\java.exe"

In your case , take care of the Drive letter and SID .

Regards,

Ashish .A. Poojary

Former Member
0 Kudos

Hi Ashish,

I have followed the above mentioned steps on one of our test servers and faced the below issue,

Also, When I directly click on the go.bat file it opens up for a second and closes immediately.

Can you please help me with this?

Regards,

Nikilesh

tamil_arasan
Active Contributor
0 Kudos

Hi Ashish,

I have also faced issues when I tried the alternate method. I have used SUM tool finally.

Kindly use SUM tool but if just only few or one java patch need to be deployed you can use telnet command line to deploy.

Thanks and regards,

Pradeep

tamil_arasan
Active Contributor
0 Kudos

Dear Experts,

We have not imported JAVA components and reverted the ABAP packages into its old level. We really don't have time to update Solman SPS, doing other configurations to generate stack XML file. We have done PI initial configuration wizard run without any issues( We thought to apply latest support packages before run PI wizard to minimize the errors)

Thanks a lot Hemanth and Asish!

@Asish, if you know the work around to start the JSPM, please post here as it will be useful for the SAP customers who don't have time to update the solman SPS and do the JAVA update through SUM. I accept that it is risky way but users will be having backup of the SAP system before they start the activity so that they can easily revert to old stage if SAP doesn't support or if issues occur.

Thanks once again!

Regards,

Pradeep

Former Member
0 Kudos

Hi Pradeep ,

Here you go ...

But again please dont use this now as you will Not get any Support from SAP in case you get stuck in your upgrade

I'll be explaning this for JSPM on Windows . The Same procedure applies for UNIX Flavours.(Of course take care of seperator and environement Varaible in UNIX)

SAP Bundles the JSPM package in a folder <Drive>:\usr\sap\<SID>\J<Instance No>\JSPM

What SAP has really done in latest patches is changed the script go.bat and removed the bootstrap.bat which has been deleted. It hasn't really done anything much with the other files.Hence it becomes easier to trace back and START JSPM

Steps: -

Login to Windows using <SID>adm User

1) Backup the JSPM Folder

2) Open the go.bat file

Remove all entries and add the below entries in BOLD

@echo off
set rc_restart=42
set OLDDIR=%CD%
set rootdir=%~dp0

cd /D %rootdir%

:restar_jspm

call %rootdir%\exe\bootstrap.bat %*

if ERRORLEVEL 1 (
  set rc=%ERRORLEVEL%
  goto exit_jspm
)

call %rootdir%\exe\jspm.bat %*

set rc=%ERRORLEVEL%
if %rc%==%rc_restart% (
  echo Restarting JSPM...
  goto restar_jspm
)

:exit_jspm
cd /D %OLDDIR%
exit /B %rc%

Save the File

3) In the JSPM DIrectory goto exe folder

4) Create a file bootstrap.bat and add the below entries in the file

@echo off

Rem Determine JSPM directory
set rootdir=%~dp0
cd /D %rootdir%
cd..
set rootdir=%CD%

Rem Determine java executable
set JAVA_CMD="E:\usr\sap\ED1\J01\exe\sapjvm_6\bin\java.exe"
set JSPM_JAVA_CMD="%JSPM_JAVA_HOME%\bin\java.exe"
set LOCAL_JAVA=%rootdir%\sapjvm\jre\bin\java.exe

set useParentJVM=

if EXIST %JSPM_JAVA_CMD% (
  set JAVA_CMD=%JSPM_JAVA_CMD%
  set LOCAL_JAVA=%JSPM_JAVA_CMD%
  set useParentJVM=-useParentJVM
) else (
if NOT EXIST %JAVA_CMD% (
   set JAVA_CMD="%JAVA_HOME%\bin\java.exe"
)
if NOT EXIST %JAVA_CMD% (
   set JAVA_CMD=java
)
if NOT EXIST %LOCAL_JAVA% (
   set LOCAL_JAVA=%JAVA_CMD%
)
)

set JSPM_CONFIG="jspm_config.txt"
if "%1" == "-remoteui" set JSPM_CONFIG="jspm-rui_config.txt"

Rem Update JSPM and sync local copy of SAPJVM
%JAVA_CMD% -ea -cp %rootdir%\bootstrap\lib\sdt_jspm_bootstrap.jar Jspm -boot=win -rootdir=%rootdir% %useParentJVM% %*

set rc=%ERRORLEVEL%
if ERRORLEVEL 1 (
  echo ERROR: could not update JSPM
)

exit /B %rc%


Save the File

5) Now you are Good to Start JSPM .

6) Right Click on go.bat and select Run as Administrator

AGAIN , A humble request to everyone , Do not attempt this procedure in PRODUCTION Environment.

Regards,

Ashish .A. Poojary

Former Member
0 Kudos

Hi Pradeep,

Correction .

Before Step 5) do the following

Append the below Line in the PATH Variable for SYSTEM in Windows: -

<Drive>:\usr\sap\<SID>\J<Instance No>\exe\sapjvm_6\bin

Only then Execute Step Number 6

Regards,

Ashish .A. Poojary

Former Member
0 Kudos

Hi Pradeep,

The Munaul Prepared Directory option will not work in case of an SP Upgrade of AS Java Core Components.

You will have Upgrade via SUM.

I suggest you Upgrade your Solution Manager First and then start the process for upgrading PI.

Although there is a way (Work Around) to Start JSPM here , but I wouldn't put it up here as it would be a risky option to go for.

Because, in case you get stuck in the upgrade, and you have to raise an OSS , you WILL NOT get any Support from SAP.

Regards,

Ashish .A. Poojary


yogeshibmbasis
Explorer
0 Kudos

Hi Pardeep,

You have to use only SUM tool for upgrading the Java Patched in your PI System.

With the SUM tool you can easily upgrade the Java component.

If you are facing any issue with the SUM tool,then provide the error screen shot.

Regards

Yogesh Kumar

tamil_arasan
Active Contributor
0 Kudos

Hi Yogesh,

Thanks! our solman 7.1 is in low level (SPS04) it is not supporting to assign the product instance and getting an error "no CR contend available" if we start to update solman, it will take time to complete the update, product assignment and generate XML file for SUM. That's the reason I am asking any alternate way.


Regards,

Pradeep

yogeshibmbasis
Explorer
0 Kudos

Hi Pardeep,

XML file not required for this.

While you are running the SUM tool in step 3(Select Target) their are two options.

1. Stack Configuration File

2. Manually Prepared directory

So you have to select the 2nd option( Manually Prepared directory) and continue.

Regards

Yogesh

tamil_arasan
Active Contributor
0 Kudos

Hi Yogesh,

I have selected Manual Prepared directory but it is not showing the *.SCA files from the manual prepared directory. reason ID is 002 and 005. can you please confirm it needs stack XML?

Thanks!

Pradeep


yogeshibmbasis
Explorer
0 Kudos

Hi Pradeep,

You have to place all required software in the USR/SAP/TRANS/EPS/IN directory.you have to give the location of the directory in SUM.

Also check the permission and owner of all the software in USR/SAP/TRANS/EPS/IN directory.

If still issue not resolved,attached the error screen shot.

Regards

Yogesh

tamil_arasan
Active Contributor
0 Kudos

Hi Yogesh,

The files are able to scan however it was getting rejected. please find the note 1641062 for more information.

Thanks!,

Pradeep

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pradeep,

Hope you are doing good.

If there is no other option and you really do not want to use SUM, then try with the telnet tool.

More info:sap note 1715441. If you wish to deploy many files:

1. Create new directory /tmp/dpl

2. Add all the files that are to be deployed into /tmp/dpl directory.

3. connect to the telnet service of the NetWeaver J2EE server

   goto cmd-> telnet <hostname> 5<instance number>08 (you will need to

  login with an administrator user of the J2ee engine; not the

  <SID>adm user.

4. jump 0 (to server node)

5. execute following command

   deploy /tmp/dpl version_rule=all

6. The system will restart (telnet will take care of this).

Thank you!

_____________

Kind Regards,

Hemanth

SAP AGS
 

Former Member
0 Kudos

I would not suggest TELNET for upgrading an Entire Stack

Since , the core Components would require a restart of Java Stack it wont be feasible to use TELNET Tool.

Regards,

Ashish .A. Poojary

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ashish,

I would not suggest it myself. But if someone is hell bent not to use SUM and JSPM is not available, that leaves pretty much no other option other than telnet.

Kind Regards,

Hemanth