cancel
Showing results for 
Search instead for 
Did you mean: 

Applying Java Patches

Former Member
0 Kudos

Hello,

I am trying to aplly java SP stack 9 to our portal running on V5R4.

I start the server by starting "go" from the open session and start "startgui.bat" from windows. But at the start of the JSPM_PROCESS I got error:

ould not detect operating system.

Cannot read environment variable PROCESSOR_ARCHITECTURE.

Could not read environment variables from the operating system.

Could not start process cmd.exe.

Error while executing process cmd.exe.

java.io.IOException: cmd.exe: not found

I want to upgrade JSPM but it not possible because I got error before the required screen.

I wish you can help me with this error.

Best Regards

Sezai

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sezai,

After having updated JSPM with SDM as told in provious message, you will have to start the JSPM server.

<b>Starting SDM will not work if you do not first edit some files:</b>

Edit the SDM file I:\usr\sap\DEV\DVEBMGS24\SDM\program\sdm_jdk.bat

/usr/sap/EPP/JC92/SDM/program/sdm_jdk.bat

set sdm_java_home=/QIBM/ProdData/Java400/jdk14

to

set sdm_java_home=%JAVA_HOME%

en

set sdm_heap_size=512

See also oss 927734

Then you can start sdm from a NT client:

I:\usr\sap\EPP\JC92\SDM\program\RemoteGui.bat

I:\usr\sap\DEV\DVEBMGS24\SDM\program\RemoteGui.bat

<b>To start the JSPM server.</b>

Log on as <SID>OFR

Prevent JSPM from starting on the iSeries:

edit 'I:\usr\sap\EPP\JC92\j2ee\JSPM\param\jspm_config.txt'

edtf '/usr/sap/QAS/DVEBMGS12/j2ee/JSPM/param/jspm_config.txt'

/dialog/SDTServerConnection/SDTGui/launch = false

Adjust access rights

strqsh

cd /usr/sap/EPP/JC92/j2ee/JSPM

chmod 755 go

ls -l

Set the EPS root dir parameter:

edtf '/usr/sap/EPP/SYS/profile/EPP_JC92_GFIS'

edtf '/usr/sap/QAS/SYS/profile/Default.pfl'

DIR_EPS_ROOT=/usr/sap/trans/eps

Start JSPM:

As <SID>ADM:

strqsh cmd('/usr/sap/EPP/JC92/j2ee/JSPM/go')

or better. as a batch job:

SBMJOB CMD(STRQSH

CMD('/usr/sap/EPP/JC92/j2ee/JSPM/go'))

CMD('/usr/sap/QAS/DVEBMGS12/j2ee/JSPM/go'))

JOB(JSPM_SVR)

CPYENVVAR(*YES)

Then you can import a stack.

Good luck,

Paul Hoogendoorn

teddylv_andersen2
Active Participant
0 Kudos

Hi Sezai,

As I remember: To patch NetWeaver to SP09 need these steps:

1. Update JSPM - Is done by deploying the patch through SDM

2. Download the stack - remember also to download the XML file

3. Start go in a QSH on iSeries

4. When ready - you are told so - in the QSH window, run startgui.bat from your windows PC.

5. Follow the instruction given by JSPM

Teddy