Symptom
- query was working in ASE 16.0 SP03 PL03
- after upgrade to ASE 16.0 SP03 PL04, query raises 10707 error
DECLARE @digest varchar(1024)
SELECT @digest=com.my_company.passwords.PasswordHash.createStructure("my_login_name")
SELECT @digest
- Msg 10707, Level 16, State 1
Server 'my_server_name', Line 2
Unhandled Java Exception:
java.security.NoSuchAlgorithmException: PBKDF2WithHmacSHA1 SecretKeyFactory not available
at javax.crypto.SecretKeyFactory.<init>(SecretKeyFactory.java:122)
at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:160)
at com.opco.passwords.PasswordHash.pbkdf2(PasswordHash.java:265)
at com.opco.passwords.PasswordHash.createStructure(PasswordHash.java:127)
at com.opco.passwords.PasswordHash.createStructure(PasswordHash.java:81). - After reloading java classes into ASE 16.0 SP03 PL04 receive:
Msg 10707, Level 16, State 1
Server 'my_server_name', Line 2
Unhandled Java Exception:
java.lang.InternalError: java.io.FileNotFoundException: /opt/sybase160/shared/SAPJRE-8_1_037_64BIT/lib/ext/sunec.jar (Permission denied)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:904)
at sun.misc.URLClassPath.getResource(URLClassPath.java:239)
at java.net.URLClassLoader$1.run(URLClassLoader.java:427)
at java.net.URLClassLoader$1.run(URLClassLoader.java:424)
at java.security.AccessController.doPrivileged(Native Method)
at.
Read more...
Environment
Adaptive Server Enterprise 16.0 SP03 PL04
Product
SAP Adaptive Server Enterprise 16.0
Keywords
JRE, JVM, java.lang.InternalError, Security.getAlgorithms, SecretKeyFactory, CR 816677, 816677, sybpcidb, java , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.