cancel
Showing results for 
Search instead for 
Did you mean: 

CJS-30050 Cannot create the secure store

Former Member
0 Kudos

Hy all,

I'm tryng to installa SolMan 4.0 SR3, when sapinst goes to create the securstore I get this error.

This is the Sapinst log:

INFO 2008-04-09 17:02:56.765

Copied file 'Z:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/inifile.xml' to 'Z:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/inifile.6.xml'.

INFO 2008-04-09 17:02:57.343

Copied file 'Z:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/inifile.xml' to 'Z:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/inifile.7.xml'.

INFO 2008-04-09 17:03:13.984

Copied file 'Z:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/keydb.xml' to 'Z:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/keydb.4.xml'.

INFO 2008-04-09 17:03:17.500

Execute step createSecureStore of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0.

INFO 2008-04-09 17:03:36.421

Creating file Z:\usr\sap\SAPinst\SOLMAN\SYSTEM\DB4\CENTRAL\AS\SecureStoreCreate.log.

INFO 2008-04-09 17:03:39.171

Working directory changed to Z:\usr\sap\SAPinst\SOLMAN\SYSTEM\DB4\CENTRAL\AS.

INFO 2008-04-09 17:03:39.187

Removed environment variable JANITOR_400 from current process environment.

INFO 2008-04-09 17:03:39.593

Output of \QIBM\ProdData\Java400\jdk14\bin\java -classpath /usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/sharedlib/launcher.jar -Xms256m -Xmx1536m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/lib/iaik_jce.jar:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/sharedlib/exception.jar:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/sharedlib/logging.jar:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s SOM -f /usr/sap/SOM/SYS/global/security/data/SecStore.properties -k /usr/sap/SOM/SYS/global/security/data/SecStore.key -enc -p XXXXXX is written to the logfile SecureStoreCreate.log.

WARNING 2008-04-09 17:03:42.484

Execution of the command "\QIBM\ProdData\Java400\jdk14\bin\java -classpath /usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/sharedlib/launcher.jar -Xms256m -Xmx1536m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/lib/iaik_jce.jar:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/sharedlib/exception.jar:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/sharedlib/logging.jar:/usr/sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s SOM -f /usr/sap/SOM/SYS/global/security/data/SecStore.properties -k /usr/sap/SOM/SYS/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 7. Output:

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

java.lang.reflect.InvocationTargetException

at java.lang.Exception.<init>(Exception.java:77)

at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)

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

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

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

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

Caused by: java.lang.ExceptionInInitializerError

at java.lang.Throwable.<init>(Throwable.java:180)

at java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializerError.java:61)

at javax.crypto.Cipher.a(Unknown Source)

at javax.crypto.Cipher.getInstance(Unknown Source)

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:82)

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

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

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

... 4 more

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

at java.lang.Throwable.<init>(Throwable.java:195)

at java.lang.Exception.<init>(Exception.java:41)

at java.lang.RuntimeException.<init>(RuntimeException.java:43)

at java.lang.SecurityException.<init>(SecurityException.java:32)

at javax.crypto.b.<clinit>(Unknown Source)

... 13 more

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

at java.lang.Throwable.<init>(Throwable.java:195)

at java.lang.Exception.<init>(Exception.java:41)

at java.lang.RuntimeException.<init>(RuntimeException.java:43)

at java.lang.SecurityException.<init>(SecurityException.java:32)

at javax.crypto.b.a(Unknown Source)

at javax.crypto.b.g(Unknown Source)

at javax.crypto.b$0.run(Unknown Source)

... 14 more

ERROR 2008-04-09 17:03:42.500

CJS-30050 Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:

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

java.lang.reflect.InvocationTargetException

at java.lang.Exception.<init>(Exception.java:77)

at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)

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

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

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

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

Caused by: java.lang.ExceptionInInitializerError

at java.lang.Throwable.<init>(Throwable.java:180)

at java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializerError.java:61)

at javax.crypto.Cipher.a(Unknown Source)

at javax.crypto.Cipher.getInstance(Unknown Source)

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:82)

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

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

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

... 4 more

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

at java.lang.Throwable.<init>(Throwable.java:195)

at java.lang.Exception.<init>(Exception.java:41)

at java.lang.RuntimeException.<init>(RuntimeException.java:43)

at java.lang.SecurityException.<init>(SecurityException.java:32)

at javax.crypto.b.<clinit>(Unknown Source)

... 13 more

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

at java.lang.Throwable.<init>(Throwable.java:195)

at java.lang.Exception.<init>(Exception.java:41)

at java.lang.RuntimeException.<init>(RuntimeException.java:43)

at java.lang.SecurityException.<init>(SecurityException.java:32)

at javax.crypto.b.a(Unknown Source)

at javax.crypto.b.g(Unknown Source)

at javax.crypto.b$0.run(Unknown Source)

... 14 more.

ERROR 2008-04-09 17:03:42.531

FCO-00011 The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR .

INFO 2008-04-09 17:03:51.578

An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore".

and the SecureStoreCreate.log:

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

java.lang.reflect.InvocationTargetException

at java.lang.Exception.<init>(Exception.java:77)

at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)

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

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

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

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

Caused by: java.lang.ExceptionInInitializerError

at java.lang.Throwable.<init>(Throwable.java:180)

at java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializerError.java:61)

at javax.crypto.Cipher.a(Unknown Source)

at javax.crypto.Cipher.getInstance(Unknown Source)

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:82)

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

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

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

... 4 more

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

at java.lang.Throwable.<init>(Throwable.java:195)

at java.lang.Exception.<init>(Exception.java:41)

at java.lang.RuntimeException.<init>(RuntimeException.java:43)

at java.lang.SecurityException.<init>(SecurityException.java:32)

at javax.crypto.b.<clinit>(Unknown Source)

... 13 more

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

at java.lang.Throwable.<init>(Throwable.java:195)

at java.lang.Exception.<init>(Exception.java:41)

at java.lang.RuntimeException.<init>(RuntimeException.java:43)

at java.lang.SecurityException.<init>(SecurityException.java:32)

at javax.crypto.b.a(Unknown Source)

at javax.crypto.b.g(Unknown Source)

at javax.crypto.b$0.run(Unknown Source)

... 14 more

After the first error I've uninstalled and applied all Iseries patches, but the result is the same.

Any suggestion?

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hy Alan,

I asked to IBM to install from the CDs the xxxxAR3 program ( the java cryptolibrary ).

It solved !!

It's an issue of the V5R3 level of OS/400 ( in V5R4 it's included in the Java package ).

I think that the system vas installed by a SAVSYS - RSTSYS. It is faster,but in this case we was stopped for a few months.

Thank you for the answer

Kind regards

Former Member
0 Kudos

Thanks Alan,

I had an answer from SAP, they told me to check if Java was installed from original CDs or from a system copy ( with the syscopy seems that all the links not to be done ).

I have no answers, IBM has done the installation, and I installed a BI ( without java AS ) system a few months ago, and now the solution manager.

I think that I will check your suggestion and try to place the the jt400.jar file was in the /sapmnt/<sid>/jdbc/tbx directory.

Next week I will try.

Thanks again.

Former Member
0 Kudos

Michele,

I had a similar error message. The solution was to make sure that the jt400.jar file was in the /sapmnt/<sid>/jdbc/tbx directory.

Alan

Former Member
0 Kudos

Michele,

I am running into a very similar error and opened up a message with SAP. Did you ever get a resolution to your issue?

Alan