pdfJSViewer not being uploaded to server with war deployment

Forum to discuss the new web client version of Servoy.

pdfJSViewer not being uploaded to server with war deployment

Postby skrizvi » Tue Jul 02, 2019 1:32 am

Hello all!

I am trying to use the pdfJSViewer in a ng client solution but when I try to launch a window containing the pdfJSViewer servoy doesn't find the plugin for the pdfJSViewer. I have checked my export settings for the War export and I see that pdfViewer-pdf-Js-Viewer and pdfViewer-pdf-viewer are both selected, and on my application_server I see that in my solution both the pdfJSViewer and the pdfViewer are included as well as the corresponding manifest files. The error that I am getting is the following:

Code: Select all
   Component spec for pdfviewer-pdf-Js-Viewer not found; please check your component spec file(s).
   at ARM_core/forms/JasperPrintPreview/showJasperReport2:221 (showJasperReport2)
   at ARM_core/forms/JasperPrintPreview/showJasperReport:33 (showJasperReport)
   at ARM_protocol/forms/protocol_report_selector/REPORT_protocol_detail:908 (REPORT_protocol_detail)
   at ARM_protocol/forms/protocol_report_selector/compileReportData:682 (compileReportData)
   at ARM_main/forms/arm_main/busyDialogStart:502 (busyDialogStart)
   at ARM_protocol/forms/protocol_report_selector/ACTION_print:352 (ACTION_print)
   at ARM_core/scopes/globals/showInModalWindow:2655 (showInModalWindow)
   at ARM_protocol/forms/protocol/showSelectorReport:374 (showSelectorReport)


I have been able to run this without any issues from the developer so I am fairly sure it is due to the pdfJSViewer not being uploaded to the application server.

Thanks!
skrizvi
 
Posts: 17
Joined: Wed Jun 12, 2019 10:13 pm

Re: pdfJSViewer not being uploaded to server with war deploy

Postby skrizvi » Wed Jul 03, 2019 7:13 pm

Just in case any servoy engineers happen to be on the forum, I have checked the WAR files by unzipping them and I see that the pdfViewer files are there. I have tried changing the modules from which I am referencing the pdfJSViewer but the component spec is still not being found regardless of which module I reference my component from.
skrizvi
 
Posts: 17
Joined: Wed Jun 12, 2019 10:13 pm

Re: pdfJSViewer not being uploaded to server with war deploy

Postby skrizvi » Thu Jul 11, 2019 1:56 am

Anyone? Still really need help with this. This is preventing us from changing to NG
skrizvi
 
Posts: 17
Joined: Wed Jun 12, 2019 10:13 pm

Re: pdfJSViewer not being uploaded to server with war deploy

Postby mboegem » Thu Jul 11, 2019 3:44 pm

Hi skrizvi,

better create a JIRA case for this at support.servoy.com, which is the official support channel.
As you already checked that the component is in the WAR export, it seems like the import is not correct.
Servoy people can most likely give you more pointers on what is wrong.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: pdfJSViewer not being uploaded to server with war deploy

Postby skrizvi » Fri Jul 12, 2019 6:58 pm

Will do, created a case here: https://support.servoy.com/browse/SVY-13972
skrizvi
 
Posts: 17
Joined: Wed Jun 12, 2019 10:13 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 5 guests