Support Request: Launching a java application makes sitekiosk crash

Description

We have a situation with one of our terminals in which we cant get Java to run within sitekiosk properly.

Sitekiosk is used as part of a ticket system.
We are showing a simple website with a box to enter a "ticket ID" and a Print button.
When the print button is pressed Java is launched and contacts the local printer and gives the customer the ticket.

The problem is that when you run it in sitekiosk and press "Print", the screen freezes and if you press anywhere on the screen the website is closed and you return to Sitekisok Secure desktop.


I have tested the following:

Logging in as administrator, opening IE and testing printing a ticket - OK
Opening a new config file, just entering the website URL > Start Sitekiosk in "Run once" mode > Website crashes.
I also have tried adding the printer monitoring, adding the URL to allow scripts.

Java version is 8 updated 45 (latest)
Sitekiosk is using a prevous version (but i have also tried this one the latest version)
I have not included a config file but its only one URL that is added to the startpage.
included a logfile for today.

How can i proceed to fix this error ?

Answer: (3)

Re: Launching a java application makes sitekiosk crash 4/29/2015 12:52 PM
Hello,

The SiteKiosk Browser just uses the IE Webbrowser Control oft he installed IE version.

Unfortunately I even can’t get this work in Internet Explorer (Java is installed but the page displays: The order can not be printed. You can also get your tickets at the ticket office.).
So I can’t test this further.


Regarding the log there are certain (Java?) application windows/dialogs that are blocked yb SiteKiosk (for security reasons):

20 0000 2015-04-29 11:11:01 +0200 [SiteKiosk] Notification: According to the windows monitoring rule(Title:'*' Class:'CabinetWClass') the window (Title:'Logfiles' Class:'CabinetWClass') will be closed
20 0000 2015-04-29 11:11:02 +0200 [SiteKiosk] Notification: According to the windows monitoring rule(Title:'*' Class:'CabinetWClass') the window (Title:'bin' Class:'CabinetWClass') will be closed

Are these the dialogs from the Java Application you need for the print out?

If yes, you need to allow the corresponding dialogs by adding 2 new entries at “-->Access/Security--> Block system critical windows & dialog boxes-->Settings” with allowing:
Title:'Logfiles' Class:'CabinetWClass'
Title:'bin' Class:'CabinetWClass'

Further information about that feature here:
- http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?windows___dialoge.htm
- http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?handling_of_windows.htm


Secondly you can try taking SiteKiosk out of the user agent header in case the site is performing some type of browser identification.
To do this, open the SiteKiosk configuration tool and go to >Basic >Start Page & Browser >Advanced and uncheck the box labeled Add SiteKiosk to use agent header.


Regards,
Michael Olbrich
Re: Launching a java application makes sitekiosk crash 4/29/2015 4:25 PM
Hi,

I added the two dialog boxes as instructed and removed the sitekiosk page header.
Unfortunately the problem is still happening, the screen freezes and then crashes.

Regarding the dialog boxes, there should be none visible during printing. The only ones that appears are a java "Allow publisher to run java on computer prompt" that appears the first time you run the "java app" on a computer. This is why we always print in IE first to remove this dialog as it may not appear in Sitekiosk.

I have included a link where you can find:
Configuration File for Sitekiosk
Screenshot of how i configured the Access/Security tab
Updated logfile

https://drive.google.com/folderview?id=0B6z2Qy6z_hKNfnd1X0k5X2VjcVM4X0U2OElDSEo4RGRRTUUwYkQ4YTZqUWlTQ1hFTGxMUUU&usp=sharing


I will also send you a e-mail with 1-2 codes that you can use to try to see the problem for yourself.
Re: Launching a java application makes sitekiosk crash 4/29/2015 4:58 PM
Hello,

as there is no space in front of the title I would advice using
Title: Logfiles
Class: CabinetWClass
or even
Title: *ogfiles
Class: CabinetWClass
for allowing that dialog.

Otherwise you are welcome sending example codes via e-mail that I can try to reproduce it
support-europe(at)provisio.com

Regards,
Michael Olbrich
My Account
Login
Language (Tickets):