Page 1 of 1

Couldn't get remote service: 'servoy.IJasperReportService'

PostPosted: Tue Aug 30, 2016 3:09 pm
by Bernd.N
The complete message says:
Couldn't get remote service: 'servoy.IJasperReportService' for a not authenticated client

I know you have to put 'servoy.IJasperReportService' into the Server configuration field trustedRemotePlugins, and we did that.
But that seems not to help, our clients get that message above in their console and on the server log when they start up.

Could it be that the core-problem is that Java loads all the plugins from the cache already, while the client's user is not authenticated so far by login?

Re: Couldn't get remote service: 'servoy.IJasperReportServic

PostPosted: Thu Sep 01, 2016 11:07 am
by Harjo
No, you are touching the plugin somehow in your code, without being logged in!
than you will get this message!

Re: Couldn't get remote service: 'servoy.IJasperReportServic

PostPosted: Thu Sep 01, 2016 10:39 pm
by Bernd.N
Ok, we will investigate how that could be. We are not calling the plugin before a user is logged in, as we would not know which report the user might want to print. :?
Maybe that message is generated by Servoy when it builds up the complete system and sees that the plugin is referenced in the code?

Re: Couldn't get remote service: 'servoy.IJasperReportServic

PostPosted: Mon Apr 10, 2017 6:37 pm
by ellenmeserow
Did you guys figure this out? I am having the same error. I have changed the client's authentication procedure, using an authentication and login module... But why would it interfere with loading plugins I don't need yet?

Couldn't get remote service: 'servoy.IJasperReportService' for a not authenticated client

Re: Couldn't get remote service: 'servoy.IJasperReportServic

PostPosted: Mon Apr 10, 2017 7:35 pm
by Bernd.N
No, we could not figure it out and classified this server log message as not critical, as printing with Jasper works fine.
It is just not first priority for us at the moment.

Re: Couldn't get remote service: 'servoy.IJasperReportServic

PostPosted: Mon Apr 10, 2017 7:39 pm
by ellenmeserow
I just solved it by adding it on the admin page as a trustedremoteplugin

Hope that helps