1. Valdas Vaitiekaitis
  2. PowerBuilder
  3. Tuesday, 25 August 2020 13:08 PM UTC

I have PB 2019 R2, I am trying to do as instructed https://docs.appeon.com/pb2019r2/pbug/ch20s03.html#Saving_as_PDF_using_xslfo and I get following error:

---------------------------
Preview - dw_test
---------------------------
Save Rows As failed.
java.lang.NoClassDefFoundError: org/apache/fop/apps/Driver
---------------------------
OK
---------------------------

What am I missing? I checked C:\Program Files\Appeon\Shared\PowerBuilder folder, it has both fop-0.20.5 and jdk1.6.0_24 folders there.

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 25 August 2020 13:28 PM UTC
  2. PowerBuilder
  3. # 1

Why not use NativePDF option instead, which is now the default?

Comment
  1. Valdas Vaitiekaitis
  2. Tuesday, 25 August 2020 13:53 PM UTC
Because NativePDF replaces characters for no reason: https://www.appeon.com/standardsupport/track/view?id=4901
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 25 August 2020 14:50 PM UTC
I see. Seems we need to enhance it to support this particular set of characters.

I would recommend you use GhostScript instead of the Java option as a temporary workaround until we enhance the NativePDF..
  1. Helpful
  1. Valdas Vaitiekaitis
  2. Wednesday, 26 August 2020 05:38 AM UTC
GhostScript gets overwhelmed when there are many PDF files being generated simultaneously and sometimes returns PDF of a wrong DataWindow. This happens when multiple instances of same app try to save different DataWindows as PDF simultaneously on same computer, occasionally one app get same PDF that was generated by another app from another DataWindow. I think it is because all instances or PowerBuilder app use same gsdll32.dll file. Biggest issue is that I can not consistently reproduce this issue, it happens only occasionally, so I did not register this issue to Appeon, but as we are working with sensitive data it is a big deal when people see data that they were not supposed to see.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.