cancel
Showing results for 
Search instead for 
Did you mean: 

J2ee error: Problem occurred while performing synchronization

Former Member
0 Kudos

Hi gurus,

I have a j2ee engine error. I insttaled NW2004s ABAP+JAVA. After installation j2ee engine was running. But after I restart the machine I never started j2ee engine. ABAP server is running but j2ee engine isn't. I see an error in jvm_bootstrap.out file like this:

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.

Is the problem really abaout SAP Java Crypto Toolkit? How can I resolve it?

Best regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Seems to be the problem is because of <b>SAP Java Crypto Toolkit</b>. You can download this Crypto Toolkit from Service Market place.

Deploy this Crypto Toolkit through <b>SDM</b> and restart your J2EE engine.

Please refer SAP note <b>810159</b>.

Regards,

Srujana.

Former Member
0 Kudos

Hi Arif,

Its not a problem with SAP Crypto Toolkit.What u need to do is just Copy the iaik_jce.jar file for encryption into the <jdk installation directory>\jre\lib\ext directory.

If u don't have the jar file then do tell me.

Regards,

Indu

Please Reward Points if Helpful

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I solved problem like this:

I reinstalled java SDK files 1.4.2_15 . After that I increase the heap size to 1024 from config tool. Now j2ee engine running and I don't have any problem about it. Also Windows regional settings must be English.

Best regards.

Former Member
0 Kudos

Hi,

I also have a similar problem. I have just installed the sneak preview NW2004 SP16. And have j2sdk1.4.2_16 as JDK. Here's the file from the jvm_bootstrap.out

-


Bootstrap MODE:

<INSTANCE GLOBALS>

determined by parameter [ID0016910].

-


Exception occurred:

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

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

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

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

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.createConnection(DBConnectionPool.java:360)

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

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

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

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

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

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.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://ASC-BHM2R1S-D/J2E [Cannot connect to host ASC-BHM2R1S-D [Connection timed out: connect], -813.].

at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:188)

at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)

at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:579)

at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:263)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:302)

... 14 more

[Bootstrap module]> Problem occurred while performing synchronization.

Can anyone help me with this problem. Thanks in advance.

Former Member
0 Kudos

Thanks Indu ,

I solved the problem.

Best regards