Skip to Content
author's profile photo Former Member
Former Member

problem installing EH1 CE7.1

I tried to install several times, but failed. step: create secure store.

error message :

WARNING    2008-10-25 23:27:35.234 
           CJSlibModule::writeWarning_impl() 
Execution of the command ""D:\Program Files\sapinst_instdir\CE71_DEV_ADA\INSTALL\sapjvm\sapjvm_5\bin\java.exe" -classpath "D:/Program Files/sapinst_instdir/CE71_DEV_ADA/INSTALL/install/lib/sap.com~tc~bl~offline_launcher~impl.jar" -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS "D:/usr/sap/CE1/SYS/global/security/lib/tools/iaik_jce.jar;D:/usr/sap/CE1/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/CE1/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/CE1/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/CE1/SYS/global/security/lib/tools/w3c_http.jar;D:/Program Files/sapinst_instdir/CE71_DEV_ADA/INSTALL/install/lib/sap.com~tc~exception~impl.jar;D:/Program Files/sapinst_instdir/CE71_DEV_ADA/INSTALL/install/lib/sap.com~tc~logging~java~impl.jar;D:/Program Files/sapinst_instdir/CE71_DEV_ADA/INSTALL/install/lib/sap.com~tc~sec~secstorefs~java~core.jar" create -s CE1 -f D:/usr/sap/CE1/SYS/global/security/data/SecStore.properties -k D:/usr/sap/CE1/SYS/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 2. Output: 
   INFO: Loading tool launcher...
   INFO: [OS: Windows XP] [VM vendor: SAP AG] [VM version: 1.5.0_14] [VM type: SAP Java Server VM]
   INFO: Main class to start: "com.sap.security.core.server.secstorefs.SecStoreFS"
   INFO: Loading 8 JAR files: [D:\usr\sap\CE1\SYS\global\security\lib\tools\iaik_jce.jar, D:\usr\sap\CE1\SYS\global\security\lib\tools\iaik_jsse.jar, D:\usr\sap\CE1\SYS\global\security\lib\tools\iaik_smime.jar, D:\usr\sap\CE1\SYS\global\security\lib\tools\iaik_ssl.jar, D:\usr\sap\CE1\SYS\global\security\lib\tools\w3c_http.jar, D:\Program Files\sapinst_instdir\CE71_DEV_ADA\INSTALL\install\lib\sap.com~tc~exception~impl.jar, D:\Program Files\sapinst_instdir\CE71_DEV_ADA\INSTALL\install\lib\sap.com~tc~logging~java~impl.jar, D:\Program Files\sapinst_instdir\CE71_DEV_ADA\INSTALL\install\lib\sap.com~tc~sec~secstorefs~java~core.jar]
   INFO: Start
SAP Secure Store in the File System - Copyright (c) 2003 SAP AG

  FATAL: Main class "com.sap.security.core.server.secstorefs.SecStoreFS" cannot be started: 
  FATAL: java.lang.ExceptionInInitializerError
	at javax.crypto.Cipher.getInstance(DashoA12275)
	at javax.crypto.Cipher.getInstance(DashoA12275)
	at iaik.security.provider.IAIK.a(Unknown Source)
	at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)
	at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)
	at com.sap.security.core.server.secstorefs.Crypt.<clinit>(Crypt.java:85)
	at com.sap.security.core.server.secstorefs.SecStoreFS.setSID(SecStoreFS.java:175)
	at com.sap.security.core.server.secstorefs.SecStoreFS.handleCreate(SecStoreFS.java:836)
	at com.sap.security.core.server.secstorefs.SecStoreFS.main(SecStoreFS.java:1306)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
	at javax.crypto.SunJCE_b.<clinit>(DashoA12275)
	... 14 more
Caused by: java.lang.SecurityException: Cannot locate policy or framework files!
	at javax.crypto.SunJCE_b.i(DashoA12275)
	at javax.crypto.SunJCE_b.g(DashoA12275)
	at javax.crypto.SunJCE_r.run(DashoA12275)
	at java.security.AccessController.doPrivileged(Native Method)
	... 15 more

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Oct 28, 2008 at 02:44 AM

    Hi Shen,

    Just wondering if you specified a proper security policy (jce_policy-1_5_0.zip) during installation?

    Regards,

    Sergey Vlasov

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 28, 2008 at 03:15 AM

    Thanks. I installed the ealier version of CE before.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 06:48 AM

    JDK 5 version >jdk 1.5.0.11

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2008 at 07:09 AM

    I met the same problem in installing EHP1 for CE7.1. the detail error in "SecureStoreCreate.log" as below.

    And I checked the path "D:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_5.1.023\sapjvm_5\jre\lib\security" and can find "java.policy", "java.security" there.

    Also I copied "local_policy.jar" and "US_export_policy.jar" under the upper directory and cannot solve the installation problem.

    INFO: Loading tool launcher...

    INFO: [OS: Windows XP] [VM vendor: SAP AG] [VM version: 1.5.0_14] [VM type: SAP Java Server VM]

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

    INFO: Loading 8 JAR files: [D:\usr\sap\CE1\SYS\global\security\lib\tools\iaik_jce.jar, D:\usr\sap\CE1\SYS\global\security\lib\tools\iaik_jsse.jar, D:\usr\sap\CE1\SYS\global\security\lib\tools\iaik_smime.jar, D:\usr\sap\CE1\SYS\global\security\lib\tools\iaik_ssl.jar, D:\usr\sap\CE1\SYS\global\security\lib\tools\w3c_http.jar, C:\Program Files\sapinst_instdir\CE71_DEV_ADA\INSTALL\install\lib\sap.comtcexceptionimpl.jar, C:\Program Files\sapinst_instdir\CE71_DEV_ADA\INSTALL\install\lib\sap.comtcloggingjavaimpl.jar, C:\Program Files\sapinst_instdir\CE71_DEV_ADA\INSTALL\install\lib\sap.comtcsecsecstorefsjavacore.jar]

    INFO: Start

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

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

    FATAL: java.lang.ExceptionInInitializerError

    at javax.crypto.Cipher.getInstance(DashoA12275)

    at javax.crypto.Cipher.getInstance(DashoA12275)

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

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

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

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

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

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

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

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

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

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

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

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

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

    at javax.crypto.SunJCE_b.<clinit>(DashoA12275)

    ... 14 more

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

    at javax.crypto.SunJCE_b.i(DashoA12275)

    at javax.crypto.SunJCE_b.g(DashoA12275)

    at javax.crypto.SunJCE_r.run(DashoA12275)

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

    ... 15 more

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2008 at 07:11 AM

    To me, this is totally new installation. Not installed the earlier version of CE before.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.