I have a program that will build a PDF, and it runs when I call the program. When a user tries to use the program they get an error. Here is the detail of the Java exception error:
Java exception received when calling Java method.
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure AIRPDF_GET in program AIRLIB/SVAIRPDF
received Java exception "java.io.FileNotFoundException: Permission denied.
/www/zendcore/htdocs/commcorr/Pics/NoPhoto.jpg" when calling method
"getInstance" with signature "(Ljava.lang.String
Lcom.lowagie.text.Image;"
in class "com.lowagie.text.Image".
Recovery . . . : Contact the person responsible for program maintenance to
determine the cause of the problem.
Technical description . . . . . . . . : If the exception indicates that the
Java class was not found, ensure the class for the method is in the class
path. If the exception indicates that the Java method was not found, check
the method name and signature. If the signature is not correct, change the
RPG prototype for the method, or change the Java method, so that the return
type and parameter types match. You can determine the signatures for all the
methods in class XYZ using command QSH CMD('javap -s XYZ').
Any help will be greatly appreciated.
Java exception received when calling Java method.
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure AIRPDF_GET in program AIRLIB/SVAIRPDF
received Java exception "java.io.FileNotFoundException: Permission denied.
/www/zendcore/htdocs/commcorr/Pics/NoPhoto.jpg" when calling method
"getInstance" with signature "(Ljava.lang.String
![Wink](http://www.mcpressonline.com/forum/images/smilies/wink.png)
in class "com.lowagie.text.Image".
Recovery . . . : Contact the person responsible for program maintenance to
determine the cause of the problem.
Technical description . . . . . . . . : If the exception indicates that the
Java class was not found, ensure the class for the method is in the class
path. If the exception indicates that the Java method was not found, check
the method name and signature. If the signature is not correct, change the
RPG prototype for the method, or change the Java method, so that the return
type and parameter types match. You can determine the signatures for all the
methods in class XYZ using command QSH CMD('javap -s XYZ').
Any help will be greatly appreciated.
Comment