cancel
Showing results for 
Search instead for 
Did you mean: 

Registry error installing Java System to SAP Netweaver 04

Former Member
0 Kudos

I got an error when installing a Java system to SAP Netweaver 04.

Please tell me what I need to do to continue with the installation.

The error and log information is below.

Thank you.

The install was from the SAP Netweaver 04 Installation Master DVD from the following menu:

Java system -> database -> Central System -> Default Installation -> Java System

I have already installed

Oracle 91

The SAP Central Instance

The SAP Database Instance

The SAP Dialog Instance

This is being installed on a Microsoft Windows 2000 5.00.2195 (Service Pack 4) machine.

I am logged in as administrator with all priveleges.

The error occurred when "Checking for free SAP Instance Numbers for SAP System J2EE..."

Here is the log message:

INFO 2006-01-06 10:27:16

Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/DEFAULT/keydb.xml to: q0w9e9r8t7.1.xml.

INFO 2006-01-06 10:27:16

Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/DEFAULT/keydb.xml to: q0w9e9r8t7.1.xml.

INFO 2006-01-06 10:27:16

Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\DEFAULT\q0w9e9r8t7.1.xml.

INFO 2006-01-06 10:27:21

Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/DEFAULT/keydb.xml to: C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/DEFAULT/keydb.1.xml.

INFO 2006-01-06 10:27:21

Copying file C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/DEFAULT/keydb.xml to: C:/Program Files/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/DEFAULT/keydb.1.xml.

INFO 2006-01-06 10:27:21

Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\DEFAULT\keydb.1.xml.

INFO 2006-01-06 10:27:22

Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\DEFAULT\change.log.

INFO 2006-01-06 10:27:22

Output of change 'user' '/install' is written to the logfile change.log.

WARNING 2006-01-06 10:27:22

Execution of the command "change 'user' '/install'" finished with return code 1. Output: This utility needs Terminal Services to be running.

INFO 2006-01-06 10:27:22

Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'SCS-QA5\Administrator' on host '.'.

INFO 2006-01-06 10:27:23

Creating file C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\DEFAULT\summary.html.

PHASE 2006-01-06 10:27:23

Prepare the installation program.

INFO 2006-01-06 10:27:28

Installation start: Friday, 06 January 2006, 10:27:14; installation directory: C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\DEFAULT; product to be installed: SAP NetWeaver '04 Support Release 1> Java System> Oracle> Central System> Default Installation - Java System

INFO 2006-01-06 10:27:29

DNS is configured correctly.

INFO 2006-01-06 10:27:33

Looking for SAP system instances installed on this host...

WARNING 2006-01-06 10:27:33

Error 5 (Access is denied.

) in execution of a 'RegOpenKeyEx' function, line (67), with parameter (SYSTEM\CurrentControlSet\Services\Disk).

WARNING 2006-01-06 10:27:33

The subkey 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk' does not exist on the 'localhost' host.

WARNING 2006-01-06 10:27:33

The step setDefaults with step key J2EE_EngineEnterpriseDefault|ind|ind|ind|WebAS|630|0|setDefaults was executed with status ERROR.

I looked at the registry and the 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk' directory does exist.

-Chris

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi, i guess Paulo Martins posted a similar problem on Sept. 29th last year. The solution works well. You should give it a try.

Best,

Markus

leif_almgren
Participant
0 Kudos

In case someone else comes across this thread: I found another solution (because running in Safe Mode did not solve the problem for me). I deleted the permission for group SYSTEM for this key, and the assigned full rights to group Administrators. It was neccessary to go into the advanced view to do this, because simply adding Administrators did not work. After this change, the installation worked fine.

Former Member
0 Kudos

Actually the Java Add-in gives the exact same error.

It appears that SYSTEM\CurrentControlSet\Services\Disk

is not an editable key in the registry.

Any ideas on how to proceed?

Former Member
0 Kudos

I think I found the problem.

I need to install the Java Add-in for ABAP

not the Java System