cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot read environment variable PROCESSOR_ARCHITECTURE

tj_wilkinson2
Participant
0 Kudos
106

Hello,

I'm trying to patch the java portion of Solution Manager 4.0 and get the following error when trying to connect the GUI to JSPM. Below is the error. I found a similar error posted in the forums a few months ago, but no solution.

I'm using JSPM 10 if that helps.

Any help is appreciated. Thank you.

~TJ

Trouble Ticket Report

Java Support Package Manager for SAP NetWeaver'04s

SID................: SM1

Hostname...........: usalsapd

Install directory..: /usr/sap/SM1

Database...........: DB2 UDB for AS/400

Operating System...: $(/J2EE/StandardSystem/CentralInstance/J2EEEngineInstanceHost/OpSysType)

JDK version........: 1.4.2 IBM Corporation

JSPM version.......: 7.00.10.1.1.5.10

System release.....: 630

ABAP stack present.: false

The execution ended in error.

Could not detect operating system.

Cannot read environment variable PROCESSOR_ARCHITECTURE.

Could not read environment variables from the operating system.

Input output exception has occurred: cmd.exe: not found.

More information can be found in the log file /usr/sap/SM1/DVEBMGS42/j2ee/JSPM/log/log_2007_03_23_15_16_52/JSPM_MAIN_1_01.LOG.

Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:

com.sap.sdt.jspm.phases.PhaseTypeJSPM

com.sap.sdt.jspm.gui.JspmUiException

Could not detect operating system.

JSPM_MAIN

JSPMPhases

NetWeaver Upgrade

SAPJup

Java Upgrade

View Entire Topic
0 Kudos

Hi TJ,

Are you sure you did not start JSPM from Windows the very first time? To my knowledge the Windows related parts of JSPM detect the processor type by checking environment variable PROCESSOR_ARCHITECTURE.

Check whether entry <StringVariable name="OS/CODE"> in file /usr/sap/<SID>/<instance>/j2ee/JSPM/config/BOOTSTRAP.XML is like OS4 or WIN. Unfortunately, JSPM is not smart enough to repair this by itself (at least it was as far as I know). Therefore, you need to repair this entry manually.

Make sure you are familiar with the JSPM documentation, particularly where and how to start JSPM server and GUI, respectively.

HTH,

Thomas

Former Member
0 Kudos

Hi TJ,

Please patch JSPM via SDM. This error is corrected then.

Best Regards

Sezai