Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

Error in Create secure store phase (installation of SAP NW CE 7.2)

$
0
0

Hello,

 

I´m doing an installation of SAP NW CE 7.2 with the latest version of SWPM. The operation system is a Windows Server 2008 (R2) with MS SQL Server 2008 (R2).

 

The installation stopped with an error during the phase "Create secure store", the error show the following text:

 

An error occurred while processing option SAP NetWeaver Composition Environment (CE) 7.2 > MS SQL Server > SAP Systems > Application Server Java> Standard System > Standard System( Last error reported by the step: Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log: INFO: Loading tool launcher... INFO: [OS: Windows Server 2008] [VM vendor: SAP AG] [VM version: 1.6.0_07] [VM type: SAP Java Server VM] INFO: Main class to start: "com.sap.security.core.server.secstorefs.SecSt    oreFS" INFO: Loading 8 JAR files: [\\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \iaik_jce.jar, \\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \iaik_jsse.jar, \\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \iaik_smime.jar, \\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \iaik_ssl.jar, \\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \w3c_http.jar, C:\Program Files\sapinst_instdir\CE720\MSS\INSTALL\CE720\MSS\      STD\install\lib\sap

.com~tc~exception~impl.jar, C:\Program Files\sapinst_instdir\CE720\MSS\INSTALL\CE720\MSS\      STD\install\lib\sap.com~tc~logging~java~impl.jar,   C:\Program Files\sapinst_instdir\CE720\MSS\INSTALL\CE720\MSS\      STD\install\lib\sap.com~tc~sec~secstorefs~java~co  re.jar] INFO: Start SAP Secure Store in the File System - Copyright (c) 2003 SAP AG FATAL: Main class "com.sap.security.core.server.secstorefs.SecSt    oreFS" cannot be started: FATAL: java.lang.ExceptionInInitializerError at javax.crypto.Cipher.getInstance(DashoA13*..) at javax.crypto.Cipher.getInstance(DashoA13*..) at iaik.security.provider.IAIK.a(Unknown Source) at iaik.security.provider.IAIK.addAsJDK14Provider(Unk    nown Source) at iaik.security.provider.IAIK.addAsJDK14Provider(Unk    nown Source) at com.sap.security.core.server.secstorefs.Crypt. (Crypt.java:85) at com.sap.security.core.server.secstorefs.SecStoreFS      .setSID(SecStoreFS.java:177) at com.sap.security.core.server.secstorefs.SecStoreFS      .handleCreate(SecStoreFS.java:838

) at com.sap.security.core.server.secstorefs.SecStoreFS      .main(SecStoreFS.java:1308) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ  e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native  MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De  legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sap.engine.offline.OfflineToolStart.main(Offli  neToolStart.java:161) Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs at javax.crypto.SunJCE_b. (DashoA13*..) ... 14 more Caused by: java.lang.SecurityException: Cannot locate policy or framework files! at javax.crypto.SunJCE_b.i(DashoA13*..) at javax.crypto.SunJCE_b.g(DashoA13*..) at javax.crypto.SunJCE_b$1.run(DashoA13*..) at java.security.AccessController.doPrivileged(Native   Method) ... 15 more FATAL: com.sap.engine.offline.OfflineToolStart will abort now with exitcode 2.)

 

 

When I open the file SecureStoreCreate.log I see the following text:

 

   INFO: Loading tool launcher...

   INFO: [OS: Windows Server 2008] [VM vendor: SAP AG] [VM version: 1.6.0_07] [VM type: SAP Java Server VM]

   INFO: Main class to start: "com.sap.security.core.server.secstorefs.SecSt    oreFS"

   INFO: Loading 8 JAR files: [\\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \iaik_jce.jar, \\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \iaik_jsse.jar, \\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \iaik_smime.jar, \\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \iaik_ssl.jar, \\SAPWD01CE\sapmnt\CED\SYS\global\security\lib\tools          \w3c_http.jar, C:\Program Files\sapinst_instdir\CE720\MSS\INSTALL\CE720\MSS\      STD\install\lib\sap.com~tc~exception~impl.jar, C:\Program Files\sapinst_instdir\CE720\MSS\INSTALL\CE720\MSS\      STD\install\lib\sap.com~tc~logging~java~impl.jar,   C:\Program Files\sapinst_instdir\CE720\MSS\INSTALL\CE720\MSS\      STD\install\lib\sap.com~tc~sec~secstorefs~java~co  re.jar]

   INFO: Start

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG

 

  FATAL: Main class "com.sap.security.core.server.secstorefs.SecSt    oreFS" cannot be started: 

  FATAL: java.lang.ExceptionInInitializerError

at javax.crypto.Cipher.getInstance(DashoA13*..)

at javax.crypto.Cipher.getInstance(DashoA13*..)

at iaik.security.provider.IAIK.a(Unknown Source)

at iaik.security.provider.IAIK.addAsJDK14Provider(Unk    nown Source)

at iaik.security.provider.IAIK.addAsJDK14Provider(Unk    nown Source)

at com.sap.security.core.server.secstorefs.Crypt.< clinit>(Crypt.java:85)

at com.sap.security.core.server.secstorefs.SecStoreFS      .setSID(SecStoreFS.java:177)

at com.sap.security.core.server.secstorefs.SecStoreFS      .handleCreate(SecStoreFS.java:838)

at com.sap.security.core.server.secstorefs.SecStoreFS      .main(SecStoreFS.java:1308)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ  e Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Native  MethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(De  legatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sap.engine.offline.OfflineToolStart.main(Offli  neToolStart.java:161)

Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs

at javax.crypto.SunJCE_b.<clinit>(DashoA13*..)

... 14 more

Caused by: java.lang.SecurityException: Cannot locate policy or framework files!

at javax.crypto.SunJCE_b.i(DashoA13*..)

at javax.crypto.SunJCE_b.g(DashoA13*..)

at javax.crypto.SunJCE_b$1.run(DashoA13*..)

at java.security.AccessController.doPrivileged(Native   Method)

... 15 more

 

  FATAL: com.sap.engine.offline.OfflineToolStart will abort now with exitcode 2

 

During the SWPM in preparation phase I inserted some values, one of them was the path of JCE Policy (UnlimitedJCEPolicyJDK7.zip). I download this file in oracle site in the url that is mentioned in sap note 1240081 (Java Cryptography Extension Jurisdiction Policy" files) - http://www.oracle.com/technetwork/java/javase/down loads/index.html

 

I don´t know if this is the correct file... but this is the only JCE Policy file that I see in there!

Look at the following image:

http://img7.imageshack.us/img7/4673/0on3.jpg

 

I don´t know what´s the problem and how can I correct this error! I searched for a solution and I found the following SDN post:

http://scn.sap.com/thread/999352

I tried to solve the problem with that solution described in that post:

 

"I have resolved the problem by copy the

local_policy.jar

US_export_policy.jar

to

sapinst_instdir\CE71_DEV_ADA\INSTALL\sapjvm\sapjvm _5\jre\lib\security

"

But unfortunately that not solved the problem, it continues with the same error!

 

 

Can you help me please?


regards
samid


Viewing all articles
Browse latest Browse all 5139

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>