Skip to Main Content

Java and JavaScript in the Database

Announcement

Testing banner

Error while execute java procedure from Database

Sameh M. SewilamNov 25 2022

Dears
i have a java code that to read certificate from usb token. the code is working properly as stand alone java class

after importing java class into Oracle Database (19c). with loadjava utility. the java class is imported successfully . but after execution it gives the below error
"java.security.KeyStoreException: PKCS11 not found"

the above error means the security provider not added. in the stand alone java class to fix this error just add the following line to java.security file in java directory
security.provider.13=SunPKCS11 configration_file.cfg

i also added the above line to java.security in javavm folder in the database home but didn't fix the error.

Anybody has an idea.
Thanks in advance

Comments
Post Details
Added on Nov 25 2022
2 comments
39 views