Forum Stats

  • 3,836,754 Users
  • 2,262,182 Discussions
  • 7,900,094 Comments

Discussions

java.io.IOException: Invalid secret key format

hello,

after (succesfull) patch of OJVM (JAVAVM) October 2020 (on 12.2.0.1.0 base without OJVM patches). I see that after starting the database, some jobs (one of the jobs is using the begin ctx_ddl.sync_index function) get following error in the database:


punting ioc_access_IU hd: 8ec92ca8 java/lang/CharacterDataLatin1


*** 2020-11-27T09:45:15.916961+01:00 (PELDBTSTPDB(3))

Nov 27, 2020 9:45:15 AM java.io.ObjectInputStream filterCheck


INFO: ObjectInputFilter REJECTED: null, array length: -1, nRefs: 1, depth: 1, bytes: 89, ex: n/a


java.io.IOException: Invalid secret key format


at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:850)


at java.security.KeyStore.load(KeyStore.java:1445)


at com.acesw.utilities.KeyLoadProcess.loadKeyStore(KeyLoadProcess.java)


at com.acesw.utilities.KeyLoadProcess.performKeyLoadProcess(KeyLoadProcess.java)


at com.acesw.utilities.KeyLoadProcess.getInternalKeyID(KeyLoadProcess.java)


java.io.IOException: Invalid secret key format


at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:850)


at java.security.KeyStore.load(KeyStore.java:1445)


at com.acesw.utilities.KeyLoadProcess.loadKeyStore(KeyLoadProcess.java)


at com.acesw.utilities.KeyLoadProcess.performKeyLoadProcess(KeyLoadProcess.java)


at com.acesw.utilities.KeyLoadProcess.getInternalKeyID(KeyLoadProcess.java)


Exception in thread "Root Thread" java.io.IOException: Invalid secret key format


at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:850)


at java.security.KeyStore.load(KeyStore.java:1445)


at com.acesw.utilities.KeyLoadProcess.loadKeyStore(KeyLoadProcess.java)


at com.acesw.utilities.KeyLoadProcess.performKeyLoadProcess(KeyLoadProcess.java)


at com.acesw.utilities.KeyLoadProcess.getInternalKeyID(KeyLoadProcess.java)


what is causing this and what is best solution?


I rolled back the patch now. But if there is a solution to fix this, I can re do the patch again.


thanks.