Changing the JVM....

Hello,
We need to change the JVM for our IS 6.0.1 but whenever we edit the JAVA HOME variable in the IS server.bat and start it we get the following error. I guess this is something to do with the security policy of JVM. Can anyone help us out…

Current JVM version is JVM 1.6
We want to point to JVM 1.4.2

java.lang.ExceptionInInitializerError
at javax.crypto.Cipher.a(DashoA6275)
at javax.crypto.Cipher.getInstance(DashoA6275)
at com.entrust.toolkit.security.provider.AnsiRandom1.engineSetSeed(AnsiR
andom1.java)
at java.security.SecureRandom.(SecureRandom.java:174)
at iaik.security.random.SecRandom.(SecRandom.java)
at com.entrust.toolkit.security.provider.AnsiRandom.(AnsiRandom.ja
va)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.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 iaik.security.random.SecRandom.a(SecRandom.java)
at iaik.security.random.SecRandom.getDefault(SecRandom.java)
at com.wm.app.b2b.server.StateManager.init(StateManager.java:63)
at com.wm.app.b2b.server.Server.run(Server.java:215)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.SunJCE_b.(DashoA6275)
… 16 more
Caused by: java.security.PrivilegedActionException: java.security.InvalidKeyExce
ption: InitVerify error: java.security.NoSuchAlgorithmException: Cannot find any
provider supporting RSA/ECB/PKCS1Padding
at java.security.AccessController.doPrivileged(Native Method)
… 17 more
Caused by: java.security.InvalidKeyException: InitVerify error: java.security.No
SuchAlgorithmException: Cannot find any provider supporting RSA/ECB/PKCS1Padding
at iaik.security.rsa.RSASignature.engineInitVerify(RSASignature.java)
at java.security.Signature.initVerify(Signature.java:297)
at iaik.x509.X509Certificate.verify(X509Certificate.java)
at iaik.x509.X509Certificate.verify(X509Certificate.java)
at javax.crypto.SunJCE_b.c(DashoA6275)
at javax.crypto.SunJCE_b.b(DashoA6275)
at javax.crypto.SunJCE_s.run(DashoA6275)
… 18 more

Regards,
Vijit J

check to see if the file jce.jar is present in the \jre\lib folder. I have had that problem once and removing this file from the folder seemed to resolve this problem. The file jce.jar is what causes this problem.

just rename the file to jce.jar.bak in 1.4.2 JVM home\jre\lib, edit server.bat to point to JVM home and restart your IS. It should resolve your problem.

HTH,
Z