Ignition 8 32-bit Vision ClientsPosted by Paul Scott, Last modified by Paul Scott on 10/22/2019 12:12 PM
|
|
As of Ignition 8, 32-bit Vision Client support was dropped; the availability of 32-bit Java Runtime Environments (JRE) will diminish overtime as the technology is slowly deprecated. However, in an effort to aid architectures making heavy use of 32-bit hardware, Ignition 8.0.3+ includes some batch and bash scripts that can be used to launch 32-bit clients. These launchers are unsupported, but are useful in cases where 32-bit Vision Clients are the only option. PrerequisitesThe following steps must be repeated on each piece of hardware that will run a 32-bit client.
Legacy LaunchersUsing the Legacy Launchers involves retrieving a "legacyClient" file via one of the means listed below (based on operating system of the computer that will run the client)Linux & MacDownload the legacy launcherRun one of the following commands to download the legacyClient.sh file, replacing "localhost:8088 " with the address of the gateway that's hosting the Vision project you wish to launch.
Run the LaunchClient file from terminal. The launcher will attempt to download a JAR from the gateway which will be used to run the Vision client. legacyClient.sh address=GATEWAY_ADDRESS scope=SCOPE windowmode=WINDOW_MODE project=PROJECT certificate=CERTIFICATE
Example Launch Commands: ./legacyClient.sh address=http://localhost:8088 scope=D ./legacyClient.sh address=http://localhost:8088 scope=C project=testing windowmode=F -Djavaws.launchparams="LaunchTag;LaunchTag2" -Djavaws.launchparam.LaunchTag="AAA" -Djavaws.launchparam.LaunchTag2="ZZZ" -Xmx2048M ./legacyClient.sh address=https://Ignition:8043 scope=D certificate=mycert.pem ./legacyClient.sh address=https://Ignition:8043 scope=D skipcertcheck
WindowsDownload the legacy launcherUsing a web-browser, visit the following address to download the legacyClient.bat file, replacing "localhost:8088 " with the address of the gateway that's hosting the Vision project you wish to launch.
Usage run the LaunchClient file from command line. Running it for the first time on a system will take a moment, as the launcher has to download some necessary files from the gateway first. launchClient.bat GATEWAY_ADDRESS SCOPE PROJECT WINDOW_MODE ARGUMENT_FILE
legacyClient.bat http://localhost:8088 D legacyClient.bat http://localhost:8088 C myProject legacyClient.bat http://localhost:8088 C myProject F cmd.exe /c legacyClient.bat http://10.10.70.68:9500 C myProject W C:\Users\myUser\Desktop\args.txt
A Word on SSL/TLSSSL/TLS support is only available on linux/mac OS X for these launchers. Should a user wants to enable this feature, they must modify the legacyclient.bat to not download the launchclient.jar each time.To Convert cert to a PEM cert for curl or wget openssl x509 -inform der -in certs.der -out certs.pem NOTE: you still need to have the x509 certificate in the ~/.ignition/clientlauncher-data/certificates directory | |
|