- Vijay Kumar Natarajan
- PowerBuilder
- Monday, 30 September 2024 03:54 AM UTC
Hello,
I have a Powerbuilder application running in Windows 2016 Servers as multiple instances in same server. Application uses Ghostscript Distill Method and data from datawindow is saved as PDF File. This works well for normal scenarios. But when there are multiple Print request comes to these applications on the same server, sometimes, the PDF File generated has the PDF Document title from one instance of PB application and the contents of the PDF file is from another PB Application which has processed. I am unclear on this issue and how to overcome this problem. I am suspecting the Ghostscript is the cause of this issue as the files are saved in same server though multiple application processed PDF Creations.
Unfortunately, I am not able to recreate this issue in Pre-Production environment. This issue happens when there are multiple request coming in exact same times (and again not every time this mix of documents are occurring). If I reprocess the Mixed Print Job, the PDF document is created without any problems.
DataWindow.Print.documentname = Unique FileName is created as Title and set to this Datawindowow
This DataWindow is then SaveAs PDF File.
Application: PB 12.5.2 32-Bit Application (Application will be started as 8 instances in 1 single Windows 2016 Server)
GhostScript: 9.19 Version
Any suggestions would be greatly appreciated. Looking for an immediate solution on this issue.
Thank you.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.