cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Java Crypto Toolkit was not found

mehmetali_celik
Explorer
0 Kudos

Hi,

I m trying to install Netweaver 7.0 BI and portal with SR3 package. Installation is Cluster installation on windows 2008 and sql 2008 platform. When I came to Centarl instance installtion. On Start Java Phase I had the error. I put the error below. I check the notes Note 1071472 - FileSystem SecureStore connection issues, Note 914818 - JSPM: Could not detect database, Note 1154133 - JSPM: SAP Java Crypto Toolkit was not found.

Thank you For your Help.

-


Bootstrap MODE:

<INSTANCE GLOBALS>

determined by parameter [ID0276347].

-


Exception occurred:

com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

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

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

-


==[ Caused by: ]==----


com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:115)

at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

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

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

Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..

at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)

at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)

at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)

at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:112)

... 13 more

Caused by: com.sap.security.core.server.secstorefs.NoEncryptionException: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm.

at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1975)

at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)

at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)

at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)

... 15 more

Caused by: javax.crypto.NoSuchPaddingException: Padding 'PKCS5Padding' not implemented.

at iaik.security.cipher.w.engineSetPadding(Unknown Source)

at iaik.security.cipher.PbeWithSHAAnd3_KeyTripleDES_CBC.<init>(Unknown Source)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

at java.lang.Class.newInstance0(Class.java:308)

at java.lang.Class.newInstance(Class.java:261)

at javax.crypto.SunJCE_b.a(DashoA12275)

at javax.crypto.SunJCE_b.a(DashoA12275)

at javax.crypto.Cipher.a(DashoA12275)

at javax.crypto.Cipher.getInstance(DashoA12275)

at com.sap.security.core.server.secstorefs.Crypt.<init>(Crypt.java:220)

at com.sap.security.core.server.secstorefs.SecStoreFS.<init>(SecStoreFS.java:1346)

at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:798)

... 17 more

[Bootstrap module]> Problem occurred while performing synchronization.

Accepted Solutions (0)

Answers (3)

Answers (3)

sunny_pahuja2
Active Contributor
0 Kudos

Hi

> > Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..

> at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)

> at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)

> at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)

> at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)

> at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:112)

It looks like the JCE file which you have downloaded is not the correct one. As you can see some jar files are missing. Check JCE files.

Check SAP Note 1240081 - "Java Cryptography Extension Jurisdiction Policy" files

Thanks

Sunny

mehmetali_celik
Explorer
0 Kudos

This Note is about 1.5 Java version. my installation is has 1.4.2.21 java version.

0 Kudos

Pls check this link ,may be helpful [SUN JCE|http://java.sun.com/products/archive/jce/]

Check this thread also

Regards

Ajay

Edited by: Ajay Sandal on Jul 28, 2009 3:19 PM

mehmetali_celik
Explorer
0 Kudos

I have already use same jce policy file. but anyway i replace it again and it doesnt work

0 Kudos

Well it behaved appropriately i guess!!

Anyway ,either you upgrade you Java and get the appropriate JCE file or else check which is the lastest installation done in your landscape using the same JDK .

If you are lucky ,you may get it.

Other work around , i have JCE 1.4.2.zip , let me know if you want to give it a try.

Regards

Ajay

mehmetali_celik
Explorer
0 Kudos

Can you please share me your jce.zip for try.

0 Kudos

....

Edited by: Ajay Sandal on Jul 28, 2009 6:46 PM

mehmetali_celik
Explorer
0 Kudos

you can see in my profile

mehmetali_celik
Explorer
0 Kudos

Sorry My friend İt doesnt work same error.

mehmetali_celik
Explorer
0 Kudos

I know that my friend. I have already download. before installation. but I had the error.

Former Member
0 Kudos

Hi,

You can get, SAP JAVA Cryptographic Toolkit and Java Cryptography Extension (JCE) from SAP Marketplace or from Sun (java)website .

Thanks7Regards

Sreedhar