Smartclient bootstrapper (alternative downloader)

Servoy announcements

Re: Smartclient bootstrapper (alternative downloader)

Postby jcompagner » Mon May 02, 2016 10:08 am

that could be because i just dropped the jar in the existing zip.

If you look inside the jar you do see new class files from 29-4
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8117
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smartclient bootstrapper (alternative downloader)

Postby lwjwillemsen » Wed Mar 14, 2018 7:39 pm

I am testing with the bootstrap.jar.
In Servoy we catch the startup parameters with application.getStartupArguments().

In Windows shortcut
Code: Select all
"C:\ProgramData\Oracle\Java\javapath\javaws.exe http://ig-visiontest7:8080/bootstrap.jnlp?argument=owner_id:4B584706-68AE-44AE-A8D9-D7984BA418C8
"
the argument owner_id is not returned by application.getStartupArguments().

I also tested with <argument></argument> in the bootstrap.jnlp but with no result.

Is it possible to pass arguments to the Servoy client via the bootstrap.jar and if yes how?

Regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 605
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smartclient bootstrapper (alternative downloader)

Postby mboegem » Wed Mar 14, 2018 11:07 pm

Hi Lambert,

Interesting question.
didn't try yet, but according to this https://stackoverflow.com/questions/137 ... s-via-jnlp it should be possible.

Hope that helps.
_____________________
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

Image
User avatar
mboegem
 
Posts: 1449
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Re: Smartclient bootstrapper (alternative downloader)

Postby jcompagner » Thu Mar 15, 2018 10:17 am

no this is not possible, you need a bootstrap.jnlp jar per argument and add those arguments you want to pickup in the jnlp itself
By default we already have a few arguments in it under the section: <application-desc main-class="com.servoy.bootstrapper.Bootstrap">
it should be something like this:

<argument>argument:ownerid:xxxxx</argument>

only those arguments can be get inside the client. So if you need special arguments like and owner_id then you need a bootstrap.jnlp file per owner..

bootstrap.jnlp is just a file on disk in the app server, it is not generated everytime you request it.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8117
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smartclient bootstrapper (alternative downloader)

Postby lwjwillemsen » Thu Mar 15, 2018 2:20 pm

Thanks, Johan!

I was looking for that "<argument>argument:ownerid:xxxxx</argument>" notation.
That works fine.
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 605
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Java permission problem

Postby Bernd.N » Thu Aug 02, 2018 11:04 am

Since today we have a permission problem when a new user starts our smartclient bootstrapper

See picture below, it says that we have to meet the security levels "high" or "very high", implying that we do not meet them currently.

What we did so far without success is:
a) Sign the jnlp with our current certificate, which we used already for all plugins without any problems
b) Put the web location to the java exception list

Is there anything else we could do, except of not using the bootstrapper and turn to the traditional webstart method?

javaproblem.jpg
You do not have the required permissions to view the files attached to this post.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 502
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Smartclient bootstrapper (alternative downloader)

Postby jcompagner » Thu Aug 02, 2018 11:17 am

it would be very weird if traditional does work
Then there is something different between the signing.. Because why would that work? Its just another jar that is started up
And with the traditional startup you really have to sign everything correctly, and with the bootstrapper you really only have to make sure that the bootstrapper is signed correctly

What does "Mehr Information" tell you? Does it tell a bit more what really is the problem? (then only that problem in "Ursache" that still doesn't really tell us what is wrong

Are you sure the boostrap.jar is signed correctly? and does verify?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8117
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smartclient bootstrapper (alternative downloader)

Postby Bernd.N » Fri Aug 03, 2018 1:41 pm

Yes, signing is correct with a valid certificate.
It looks like I should have reading the screen on "More Information" better.
Because that shows a screen that a tool called FortiGuard from FORTINET shows, telling it blocked the call and one should call support when thinking the block is not ok.

So my current assumption is that a new rule of that security software does not like the call of the bootstrapper due to some reason.
I already created a ticket for the responsible support team.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 502
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Smartclient bootstrapper (alternative downloader)

Postby jcompagner » Fri Aug 03, 2018 2:39 pm

i wonder why, that is a very small applicaiton that does nothing more then some download of other stuff and start it up
I can't make it much simpler then that..

quite a small app: https://github.com/Servoy/Bootstrapper/ ... strap.java
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8117
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Previous

Return to Announcements

Who is online

Users browsing this forum: No registered users and 5 guests

cron