Symptom
The JAVA function in the database(ASE JAVA) that accesses the external file fails with the "Permission denied" error even though read permission is granted to the target file.
(Error sample)
java.io.FileNotFoundException: /tmp/sample.properties (Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at ConfigTest.piyo(ConfigTest.java:23)
Read more...
Environment
- SAP Adaptive Server Enterprise(ASE) 16.0 SP01 PL02 or later
- SAP Adaptive Server Enterprise(ASE) 15.7 SP135 or later
Product
Keywords
ASE_JAVA, .properties, property file, pca_jvm_dir_options, TMP_DIR, PCI , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
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.