Difference: AppxHTMLClient (1 vs. 18)

Revision 182015-02-13 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives installation instructions and an overview of the Appx HTML client.

Changed:
<
<

>
>

 

Overview

The Appx HTML client is designed to allow you to connect to an Appx server and run Appx applications using a browser, either on the desktop, a tablet or a smartphone. When running the client in a browser, no software is required on the desktop, tablet or smart phone. When the user logs on, the necessary code is downloaded to their device as required.

Line: 61 to 61
  Assuming the web server to which we installed the client is 192.168.0.15, and that we installed everything into an 'appx' folder on the web server, then we should be able to get a client login dialog box via:
Changed:
<
<
http://192.168.0.15/appx/client.html
>
>
http://192.168.0.15/appx/client.html
  You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the section on 'Tunneling/Forwarding'. NOTE: You cannot use 'localhost' for the host name here, you must use the IP address or the actual host name.

LocalConnector

Line: 112 to 112
 

Styles

Many aspects of the presentation of the Appx Client are controlled by the APPX.css style sheet in the 'css' folder. If you are familiar with working with style sheets, feel free to experiment with different settings.

Added:
>
>
You can also add a CUSTOM.css style sheet with your own settings. This will override the standard settings in the HTML client.
 

Troubleshooting

Changed:
<
<
  • If the client login dialog box does not display, check your web server error logs for any error messages & correct as required.
  • If you are getting "[proxy:error] [pid xxxx] (13)Permission denied:" errors, you might have a selinux security issue that prevents apache from initiating any outgoing network connections to the web socket server port. In that case, try the following command:
    # setsebool -P httpd_can_network_connect 1
  • Some browsers (like IE) will not run the client successfully if you double click the 'client.html' file. You should always access the web page via http://servername/client.html, even if the page is installed on your local system.
>
>
  • If the client login dialog box does not display, check your web server error logs for any error messages & correct as required.
  • If you are getting "[proxy:error] [pid xxxx] (13)Permission denied:" errors, you might have a selinux security issue that prevents apache from initiating any outgoing network connections to the web socket server port. In that case, try the following command:
    # setsebool -P httpd_can_network_connect 1
  • Some browsers (like IE) will not run the client successfully if you double click the 'client.html' file. You should always access the web page via http://servername/client.html, even if the page is installed on your local system.
 
  • Check to make sure your Appx Server Connector is still running. If not, restart it via 'nohup ./node appxConnector.js &' for Linux or 'node appxConnector.js' for Windows.

Known Issues

Line: 137 to 139
 
Changed:
<
<
>
>
 
Changed:
<
<
>
>
 
Line: 151 to 153
 Read what other users have said about this page or add your own comments.
Changed:
<
<

<--/commentPlugin-->
>
>

<--/commentPlugin-->
  -- JeanNeron - 2014-11-10

Revision 172015-02-06 - JoeOrtagus

Line: 1 to 1
 

APPX HTML Client

This page gives installation instructions and an overview of the Appx HTML client.

Line: 102 to 102
  var sslEnabled = true;
Changed:
<
<
var sslPrivateKey = "/etc/pki/tls/private/appx.key";
var sslCertificate = "/etc/pki/tls/certs/appx.com.crt";
var sslCertAuthority = "/etc/pki/tls/certs/gd_bundle.crt";
>
>
var sslPrivateKey = "/etc/pki/tls/private/example.key";
var sslCertificate = "/etc/pki/tls/certs/example.com.crt";
var sslCertAuthority = "/etc/pki/tls/certs/gd_bundle.crt";
 
Changed:
<
<
Change the file paths to point to your SSL certificates.
>
>
The SSL key values above are examples, you will need to change the file paths to point to your own SSL certificates.
  Once you have made the above changes, restart the Server Connector and refresh the Appx Login page in your browser (if it was still loaded when you made these changes).

Revision 162015-02-05 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives installation instructions and an overview of the Appx HTML client.

Line: 63 to 63
  http://192.168.0.15/appx/client.html
Changed:
<
<
You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the next section 'Tunneling/Forwarding'.
>
>
You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the section on 'Tunneling/Forwarding'. NOTE: You cannot use 'localhost' for the host name here, you must use the IP address or the actual host name.
 

LocalConnector

As mentioned above, you can suppress the requirement for the LocalConnector by changing the following line in "client.html":

Line: 82 to 82
 
    • Start the connector running by:
      • cd $HOME/AppxLocalConnector
      • sh ./start-nw.sh
Changed:
<
<
    • The user has to manually start the local connector every time they log in, or they can add the script to their programs that start automatically when the log in. The steps vary by Linux distribution, consult your documentation.
>
>
    • The user has to manually start the local connector every time they log in, or they can add the script to their programs that start automatically when they log in. The steps vary by Linux distribution, consult your documentation.
 

Tunneling/Forwarding

If you do not want to open port 3014 and would rather use port 80, you can use forwarding instead. For example, to configure Apache 2.4 on Linux you would do the following:

Revision 152015-02-04 - JoeOrtagus

Line: 1 to 1
 

APPX HTML Client

This page gives installation instructions and an overview of the Appx HTML client.

Line: 57 to 57
  <meta name="appx-proxy-host" content="HOSTNAME"> <!-- Server Connector hostname or web server if tunneling -->
Changed:
<
<
Change HOSTNAME to the name or IP address of the server running the Appx Server Connector.
>
>
Change HOSTNAME to the name or IP address of the server running the Appx Server Connector. Do not use localhost.
  Assuming the web server to which we installed the client is 192.168.0.15, and that we installed everything into an 'appx' folder on the web server, then we should be able to get a client login dialog box via:

Revision 142014-12-22 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives installation instructions and an overview of the Appx HTML client.

Line: 36 to 36
  If you plan to use an SSL connection, your web server must be configured to accept both SSL and non-SSL connections.
Changed:
<
<
We have tested the HTML client on current versions of IE, Chrome and Safari.
>
>
We have tested the HTML client on current versions of IE, Chrome, Firefox and Safari.
 

Installation

First extract the Web Server File (webhost.zip) into the document folder for your web server. Depending on your web site layout, you may want to put this in its own folder within the web server documents, i.e., /var/www/html/appx.

Revision 132014-12-22 - AlKalter

Line: 1 to 1
 

APPX HTML Client

This page gives installation instructions and an overview of the Appx HTML client.

Line: 10 to 10
  In this release, you can only run the applications, you cannot design them. Specifically, the ILF editor, old ILF Debugger and Image Editor are not supported. You may be able to work in Application Design so long as you avoid those.
Changed:
<
<
The client will support SSL connections if your web server is configured appropriately. If not, the client will use it's own built in AES encryption but be aware that this is not sufficient to protect sensitive data.
>
>
The client will support SSL connections if your web server is configured appropriately. If not, the client will use its own built in AES encryption but be aware that this is not sufficient to protect sensitive data.
  The Appx HTML client consists of two modules:
Changed:
<
<
  • Web Server Files. These are the javascipt libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independent.
>
>
  • Web Server Files. These are the javascript libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independent.
 
  • APPX Server connector. This is a small javascript library that connects the client running in your browser to the actual Appx engine. The Appx Server Connector is platform specific, you will need the one that matches the O/S under which your web server is running.
Changed:
<
<
Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maxium flexibility in configuring your installation.
>
>
Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maximum flexibility in configuring your installation.
  Once the HTML client is working, you can connect to any Appx 5.4+ server, just as you can with the Appx Desktop Client. Due to the engine changes that were made in 5.4 to support the HTML client, you cannot connect to an earlier Appx engine.

Local Connector

Line: 24 to 24
  If your application does not require the ability to upload/download/open files on the desktop, you can turn this off (see Installation below).
Changed:
<
<
There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green with a "+", it means the local connector is installed & runnning. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green with a "+" for any connection to work.
>
>
There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green with a "+", it means the local connector is installed & running. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green with a "+" for any connection to work.
 

Differences between ADC and HTML Clients

The HTML client has a different presentation for most non-Appx elements such as Date Choosers, File Upload/download dialog boxes, Tables, etc. The goal of the HTML client was to replicate the presentation of your screens as accurately as possible as far as the Appx elements are concerned (i.e., the widgets and fields you use in the Image Editor). Since we use different 3rd party tools and runtimes for other elements, they will look different compared to the Appx Desktop Client.

Line: 39 to 39
 We have tested the HTML client on current versions of IE, Chrome and Safari.

Installation

Changed:
<
<
First extract the Web Server File (webhost.zip) into the document folder for your web server. Depending on your web site layout, you may want to put this in it's own folder within the web server documents, i.e., /var/www/html/appx.
>
>
First extract the Web Server File (webhost.zip) into the document folder for your web server. Depending on your web site layout, you may want to put this in its own folder within the web server documents, i.e., /var/www/html/appx.
  Next, extract the Appx Server Connector to a location of your choice. This is the software that will connect your browser client to the Appx Login Manager. A folder in the /opt directory would be a good choice on a Linux server. Once the software is extracted, you must manually start the connector running. For example, if you installed the connector in /opt/appxConnector, then you would (as root):

Revision 122014-12-19 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives installation instructions and an overview of the Appx HTML client.

Line: 121 to 121
  The following are the known problems with the HTML client. We are continuing to enhance the client, watch the download page for updates!
Added:
>
>
 
Line: 131 to 132
 
Deleted:
<
<
 
Deleted:
<
<
 
Changed:
<
<
>
>
 
Changed:
<
<
>
>
 
Changed:
<
<
>
>
 
Deleted:
<
<
(Add any from the 'Being Fixed' status!)
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 112014-12-15 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

Changed:
<
<
This page gives an overview of and installation instructions for the Appx HTML client.
>
>
This page gives installation instructions and an overview of the Appx HTML client.
 
Changed:
<
<

>
>

 

Overview

The Appx HTML client is designed to allow you to connect to an Appx server and run Appx applications using a browser, either on the desktop, a tablet or a smartphone. When running the client in a browser, no software is required on the desktop, tablet or smart phone. When the user logs on, the necessary code is downloaded to their device as required.

Revision 102014-12-15 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives an overview of and installation instructions for the Appx HTML client.

Line: 24 to 24
  If your application does not require the ability to upload/download/open files on the desktop, you can turn this off (see Installation below).
Changed:
<
<
There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green with a "+", it means the l ocal connector is installed & runnning. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green with a "+" for any connection to work.
>
>
There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green with a "+", it means the local connector is installed & runnning. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green with a "+" for any connection to work.
 

Differences between ADC and HTML Clients

The HTML client has a different presentation for most non-Appx elements such as Date Choosers, File Upload/download dialog boxes, Tables, etc. The goal of the HTML client was to replicate the presentation of your screens as accurately as possible as far as the Appx elements are concerned (i.e., the widgets and fields you use in the Image Editor). Since we use different 3rd party tools and runtimes for other elements, they will look different compared to the Appx Desktop Client.

Line: 34 to 34
  The web server does not have to be on the same server as Appx.
Changed:
<
<
If you plan to use an SSL connection, your web server must be configured to accept both SSL and non-SSL connecions.
>
>
If you plan to use an SSL connection, your web server must be configured to accept both SSL and non-SSL connections.
  We have tested the HTML client on current versions of IE, Chrome and Safari.

Installation

Line: 51 to 51
  Note that this will appear to 'hang', but it is actually running and waiting for connections. Just minimize the DOS box and leave it running.
Changed:
<
<
We will automate this step, but for now you must manually start the connector upon first installation and after every reboot.
>
>
Eventually this will be a service, but for now you must manually start the connector upon first installation and after every reboot.
  Finally, you need to set the name of the host running the Appx Server Connector in the 'client.html' web page:
Line: 85 to 85
 
    • The user has to manually start the local connector every time they log in, or they can add the script to their programs that start automatically when the log in. The steps vary by Linux distribution, consult your documentation.

Tunneling/Forwarding

Changed:
<
<
If you do not want to open port 3014 and would rather use port 80, you can use forwarding instead. For example, to configure Apache 2.4 you would do the following:
>
>
If you do not want to open port 3014 and would rather use port 80, you can use forwarding instead. For example, to configure Apache 2.4 on Linux you would do the following:
 
  • In /etc/httpd/conf.modules.d/00-proxy.conf, add (if not already loaded):
    LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

  • Create the /etc/httpd/conf.d/appx.conf file with the following lines (or just add these to httpd.conf)
    ProxyPass /appxws/ ws://localhost:3014
    ProxyPass /appxwss/ wss://localhost:3014

Changed:
<
<
  • Change /var/www/html/appx/client.html settings to:

    appx-proxy-host = hostname of httpd server (i.e., 192.168.1.11)
    appx-proxy-port = “80"
    appx-proxy-path = /appxws/
    appx-encryption = “aes”

>
>
  • Change 'client.html' settings to:

    appx-proxy-host = hostname of httpd server (i.e., 192.168.1.11)
    appx-proxy-port = “80"
    appx-proxy-path = /appxws/
    appx-encryption = “aes”

 
  • Restart your web server

SSL

Line: 119 to 119
 
  • Check to make sure your Appx Server Connector is still running. If not, restart it via 'nohup ./node appxConnector.js &' for Linux or 'node appxConnector.js' for Windows.

Known Issues

Changed:
<
<
The following are the known problems with the HTML client. These are being worked and we hope to have them addressed by the final release.
>
>
The following are the known problems with the HTML client. We are continuing to enhance the client, watch the download page for updates!
 
Changed:
<
<
>
>
 
Changed:
<
<
>
>
 
Added:
>
>

(Add any from the 'Being Fixed' status!)

 

Comments:

Read what other users have said about this page or add your own comments.

Revision 92014-12-15 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives an overview of and installation instructions for the Appx HTML client.

Line: 141 to 141
 
<--/commentPlugin-->

-- JeanNeron - 2014-11-10

Added:
>
>
META TOPICMOVED by="JeanNeron" date="1418669136" from="Sandbox.AppxHTMLClient" to="Main.AppxHTMLClient"

Revision 82014-12-12 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives an overview of and installation instructions for the Appx HTML client.

Line: 20 to 20
 Once the HTML client is working, you can connect to any Appx 5.4+ server, just as you can with the Appx Desktop Client. Due to the engine changes that were made in 5.4 to support the HTML client, you cannot connect to an earlier Appx engine.

LocalConnector

Changed:
<
<
Because of the tighter security in web browsers, it is not possible for HTML 5/javascript to seamlessly upload, download or open files on the users desktop the way it can be done with the Appx Desktop Client. To address this, the HTML client includes a small 'helper' program that supports this. By default, the HTML client will check to see if this helper program is installed when the user logs in. If it is not installed, it will offer to install it, and if the user cancels they will be nagged the next time they log in.
>
>
Because of the tighter security in web browsers, it is not possible for HTML 5/javascript to seamlessly upload, download or open files on the users desktop the way it can be done with the Appx Desktop Client. To address this, the HTML client includes a small 'helper' program that supports this. This is called the 'LocalConnector'. By default, the HTML client will check to see if the local connector program is running when the user logs in. If it is not running, it will offer to install it, and if the user cancels they will be nagged the next time they log in.
  If your application does not require the ability to upload/download/open files on the desktop, you can turn this off (see Installation below).
Changed:
<
<
There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green with a "+", it means the LocalConnector is installed & runnning. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green with a "+" for any connection to work.
>
>
There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green with a "+", it means the l ocal connector is installed & runnning. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green with a "+" for any connection to work.
 

Differences between ADC and HTML Clients

The HTML client has a different presentation for most non-Appx elements such as Date Choosers, File Upload/download dialog boxes, Tables, etc. The goal of the HTML client was to replicate the presentation of your screens as accurately as possible as far as the Appx elements are concerned (i.e., the widgets and fields you use in the Image Editor). Since we use different 3rd party tools and runtimes for other elements, they will look different compared to the Appx Desktop Client.

Line: 34 to 34
  The web server does not have to be on the same server as Appx.
Added:
>
>
If you plan to use an SSL connection, your web server must be configured to accept both SSL and non-SSL connecions.
 We have tested the HTML client on current versions of IE, Chrome and Safari.

Installation

Line: 49 to 51
  Note that this will appear to 'hang', but it is actually running and waiting for connections. Just minimize the DOS box and leave it running.
Changed:
<
<
At some point we will automate this step, but for now you must manually start the connector upon first installation and after every reboot.
>
>
We will automate this step, but for now you must manually start the connector upon first installation and after every reboot.
  Finally, you need to set the name of the host running the Appx Server Connector in the 'client.html' web page:
Line: 64 to 66
 You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the next section 'Tunneling/Forwarding'.

LocalConnector

Changed:
<
<
As mentioned above, you can suppress the requirement for the LocalConnector by changing the following line in /var/www/html/appx/client.html:
>
>
As mentioned above, you can suppress the requirement for the LocalConnector by changing the following line in "client.html":
  <meta name="appx-local-required" content="true" >

Change the "true" to "false" to supress the requirement.

Added:
>
>

LocalConnector Installation

If you do not turn off the LocalConnector requirement as above, then when the 'client.html' page is loaded it will check to see if the local connector is running on the users desktop. If not, they will get a dialog box offering to download the local connector. The actual installation of the local connector varies by the O/S on the user's desktop:

  • Windows: Once the download is complete, run the installer. The local connector will be installed, started and Windows will be configured to automatically start on a reboot. No further action is required.
  • Mac O/S: Once the download is complete, open the disk image and double click the installer. The local connector will be installed and started. The local connector will have to manually started after each login by opening a terminal window and entering the command "cd AppxLocalConnector;open node-webkit.app". Alternatively, the user can add 'node-webkit.app' in their AppxLocalConnector folder to their Login Items in System Preferences.
  • Linux: Once the download is complete, open a terminal window and enter:
    • cd Downloads (or wherever the file was saved to)
    • sh localConnector_linux32.sh or sh localConnector_linux64.sh, depending on whether you have 32 or 64 bit Linux. The connector will be installed.
    • Start the connector running by:
      • cd $HOME/AppxLocalConnector
      • sh ./start-nw.sh
    • The user has to manually start the local connector every time they log in, or they can add the script to their programs that start automatically when the log in. The steps vary by Linux distribution, consult your documentation.
 

Tunneling/Forwarding

If you do not want to open port 3014 and would rather use port 80, you can use forwarding instead. For example, to configure Apache 2.4 you would do the following:

Revision 72014-12-12 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives an overview of and installation instructions for the Appx HTML client.

Changed:
<
<

>
>

 

Overview

The Appx HTML client is designed to allow you to connect to an Appx server and run Appx applications using a browser, either on the desktop, a tablet or a smartphone. When running the client in a browser, no software is required on the desktop, tablet or smart phone. When the user logs on, the necessary code is downloaded to their device as required.

In this release, you can only run the applications, you cannot design them. Specifically, the ILF editor, old ILF Debugger and Image Editor are not supported. You may be able to work in Application Design so long as you avoid those.

Changed:
<
<
The client will support SSL connections if your web server is configured appropriately. If not, the client will use it's own built in AES encryption so your data is still protected.
>
>
The client will support SSL connections if your web server is configured appropriately. If not, the client will use it's own built in AES encryption but be aware that this is not sufficient to protect sensitive data.
  The Appx HTML client consists of two modules:
  • Web Server Files. These are the javascipt libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independent.
Line: 24 to 24
  If your application does not require the ability to upload/download/open files on the desktop, you can turn this off (see Installation below).
Changed:
<
<
There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green, it means the LocalConnector is installed & runnning. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green for any connection to work.
>
>
There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green with a "+", it means the LocalConnector is installed & runnning. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green with a "+" for any connection to work.
 

Differences between ADC and HTML Clients

The HTML client has a different presentation for most non-Appx elements such as Date Choosers, File Upload/download dialog boxes, Tables, etc. The goal of the HTML client was to replicate the presentation of your screens as accurately as possible as far as the Appx elements are concerned (i.e., the widgets and fields you use in the Image Editor). Since we use different 3rd party tools and runtimes for other elements, they will look different compared to the Appx Desktop Client.

Line: 59 to 59
  Assuming the web server to which we installed the client is 192.168.0.15, and that we installed everything into an 'appx' folder on the web server, then we should be able to get a client login dialog box via:
Changed:
<
<
http://192.168.0.15/appx/client.html
>
>
http://192.168.0.15/appx/client.html
  You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the next section 'Tunneling/Forwarding'.

LocalConnector

Line: 68 to 68
  <meta name="appx-local-required" content="true" >
Added:
>
>
Change the "true" to "false" to supress the requirement.
 

Tunneling/Forwarding

If you do not want to open port 3014 and would rather use port 80, you can use forwarding instead. For example, to configure Apache 2.4 you would do the following:

Line: 77 to 78
 
  • Restart your web server

SSL

Changed:
<
<
If you are running a secure web server (https), you can configure the Appx HTML client to use your SSL connection. Change your /var/www/html/appx/client.html settings as follows:
>
>
If you are running a secure web server (https), you can configure the Appx HTML client to use your SSL connection. Your web server must to configured to accept both SSL (https:) and non-SSL (http:) connections.

Change your "client.html" settings as follows:

  appx-proxy-host = hostname of httpd server (i.e., 192.168.1.11)
appx-proxy-port = “443"
appx-proxy-path = /appxwss/
appx-encryption = “ssl”
Changed:
<
<
Then change the sslEnabled setting in 'appxConnector.js':
>
>
In 'appxConnector.js' change:
  var sslEnabled = true;
Added:
>
>
var sslPrivateKey = "/etc/pki/tls/private/appx.key";
var sslCertificate = "/etc/pki/tls/certs/appx.com.crt";
var sslCertAuthority = "/etc/pki/tls/certs/gd_bundle.crt";

Change the file paths to point to your SSL certificates.

Once you have made the above changes, restart the Server Connector and refresh the Appx Login page in your browser (if it was still loaded when you made these changes).

NOTE: You still use 'http://' to connect to the client page. The client will switch to the SSL connection once the page is loaded.

 

Styles

Many aspects of the presentation of the Appx Client are controlled by the APPX.css style sheet in the 'css' folder. If you are familiar with working with style sheets, feel free to experiment with different settings.

Troubleshooting

Changed:
<
<
  • If the client login dialog box does not display, check your web server error logs for any error messages & correct as required.
  • If you are getting "[proxy:error] [pid xxxx] (13)Permission denied:" errors, you might have a selinux security issue that prevents apache from initiating any outgoing network connections to the web socket server port. In that case, try the following command:
    # setsebool -P httpd_can_network_connect 1
  • Some browsers (like IE) will not run the client successfully if you double click the 'client.html' file. You should always access the web page via http://servername/client.html, even if the page is installed on your local system.
  • Check to make sure your Appx Server Connector is still running. If not, restart it via 'nohup ./node appxConnector.js &' for Linux or 'node appxConnector.js' for Windows.
>
>
  • If the client login dialog box does not display, check your web server error logs for any error messages & correct as required.
  • If you are getting "[proxy:error] [pid xxxx] (13)Permission denied:" errors, you might have a selinux security issue that prevents apache from initiating any outgoing network connections to the web socket server port. In that case, try the following command:
    # setsebool -P httpd_can_network_connect 1
  • Some browsers (like IE) will not run the client successfully if you double click the 'client.html' file. You should always access the web page via http://servername/client.html, even if the page is installed on your local system.
  • Check to make sure your Appx Server Connector is still running. If not, restart it via 'nohup ./node appxConnector.js &' for Linux or 'node appxConnector.js' for Windows.
 

Known Issues

The following are the known problems with the HTML client. These are being worked and we hope to have them addressed by the final release.

Changed:
<
<
>
>
 
Changed:
<
<
>
>
 
Changed:
<
<
>
>
 
Line: 119 to 124
 Read what other users have said about this page or add your own comments.
Changed:
<
<

<--/commentPlugin-->
>
>

<--/commentPlugin-->
  -- JeanNeron - 2014-11-10

Revision 62014-11-12 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives an overview of and installation instructions for the Appx HTML client.

Changed:
<
<

>
>

 

Overview

The Appx HTML client is designed to allow you to connect to an Appx server and run Appx applications using a browser, either on the desktop, a tablet or a smartphone. When running the client in a browser, no software is required on the desktop, tablet or smart phone. When the user logs on, the necessary code is downloaded to their device as required.

Line: 47 to 47
  cd \appxConnector
node appxConnector.js
Added:
>
>
Note that this will appear to 'hang', but it is actually running and waiting for connections. Just minimize the DOS box and leave it running.
 At some point we will automate this step, but for now you must manually start the connector upon first installation and after every reboot.

Finally, you need to set the name of the host running the Appx Server Connector in the 'client.html' web page:

Line: 57 to 59
  Assuming the web server to which we installed the client is 192.168.0.15, and that we installed everything into an 'appx' folder on the web server, then we should be able to get a client login dialog box via:
Changed:
<
<
http://192.168.0.15/appx/client.html
>
>
http://192.168.0.15/appx/client.html
  You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the next section 'Tunneling/Forwarding'.

LocalConnector

Line: 86 to 88
  Many aspects of the presentation of the Appx Client are controlled by the APPX.css style sheet in the 'css' folder. If you are familiar with working with style sheets, feel free to experiment with different settings.

Troubleshooting

Changed:
<
<
If the client login dialog box does not display, check your web server error logs for any error messages & correct as required.

If you are getting "[proxy:error] [pid xxxx] (13)Permission denied:" errors, you might have a selinux security issue that prevents apache from initiating any outgoing network connections to the web socket server port. In that case, try the following command:

# setsebool -P httpd_can_network_connect 1

>
>
  • If the client login dialog box does not display, check your web server error logs for any error messages & correct as required.
  • If you are getting "[proxy:error] [pid xxxx] (13)Permission denied:" errors, you might have a selinux security issue that prevents apache from initiating any outgoing network connections to the web socket server port. In that case, try the following command:
    # setsebool -P httpd_can_network_connect 1
  • Some browsers (like IE) will not run the client successfully if you double click the 'client.html' file. You should always access the web page via http://servername/client.html, even if the page is installed on your local system.
  • Check to make sure your Appx Server Connector is still running. If not, restart it via 'nohup ./node appxConnector.js &' for Linux or 'node appxConnector.js' for Windows.
 

Known Issues

The following are the known problems with the HTML client. These are being worked and we hope to have them addressed by the final release.

  • Tab Order and Tab Groups are not functional
Changed:
<
<
>
>
 

Comments:

Read what other users have said about this page or add your own comments.


Changed:
<
<

<--/commentPlugin-->
>
>

<--/commentPlugin-->
  -- JeanNeron - 2014-11-10

Revision 52014-11-11 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives an overview of and installation instructions for the Appx HTML client.

Changed:
<
<

>
>

 

Overview

Changed:
<
<
The Appx HTML client is designed to allow you to connect to an Appx server and run Appx applications using a browser, either on the desktop, a tablet or a smartphone. In this release, you can only run the applications, you cannot design them. Specifically, the ILF editor and Image Editor are not supported. You may be able to work in Application Design so long as you avoid those 2 editors.
>
>
The Appx HTML client is designed to allow you to connect to an Appx server and run Appx applications using a browser, either on the desktop, a tablet or a smartphone. When running the client in a browser, no software is required on the desktop, tablet or smart phone. When the user logs on, the necessary code is downloaded to their device as required.
 
Changed:
<
<
The client will support SSL connections if your web server is configured appropriately. If not, the client will use it's own built in AES encryption so you data is still protected.
>
>
In this release, you can only run the applications, you cannot design them. Specifically, the ILF editor, old ILF Debugger and Image Editor are not supported. You may be able to work in Application Design so long as you avoid those.
 
Changed:
<
<
The Appx HTML client consists of two modules:
>
>
The client will support SSL connections if your web server is configured appropriately. If not, the client will use it's own built in AES encryption so your data is still protected.
 
Added:
>
>
The Appx HTML client consists of two modules:
 
  • Web Server Files. These are the javascipt libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independent.
  • APPX Server connector. This is a small javascript library that connects the client running in your browser to the actual Appx engine. The Appx Server Connector is platform specific, you will need the one that matches the O/S under which your web server is running.
Changed:
<
<
Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maxium flexibility in configuring your installation.
>
>
Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maxium flexibility in configuring your installation.
  Once the HTML client is working, you can connect to any Appx 5.4+ server, just as you can with the Appx Desktop Client. Due to the engine changes that were made in 5.4 to support the HTML client, you cannot connect to an earlier Appx engine.
Added:
>
>

LocalConnector

Because of the tighter security in web browsers, it is not possible for HTML 5/javascript to seamlessly upload, download or open files on the users desktop the way it can be done with the Appx Desktop Client. To address this, the HTML client includes a small 'helper' program that supports this. By default, the HTML client will check to see if this helper program is installed when the user logs in. If it is not installed, it will offer to install it, and if the user cancels they will be nagged the next time they log in.

If your application does not require the ability to upload/download/open files on the desktop, you can turn this off (see Installation below).

There is a 'Connectivity' indicator in the lower right corner of the browser window with the words 'Remote' and 'Local'. If 'Local' is in green, it means the LocalConnector is installed & runnning. Red means the connector is not installed. The 'Remote' connector refers to the connection to the Appx Server Connector. This must be green for any connection to work.

Differences between ADC and HTML Clients

The HTML client has a different presentation for most non-Appx elements such as Date Choosers, File Upload/download dialog boxes, Tables, etc. The goal of the HTML client was to replicate the presentation of your screens as accurately as possible as far as the Appx elements are concerned (i.e., the widgets and fields you use in the Image Editor). Since we use different 3rd party tools and runtimes for other elements, they will look different compared to the Appx Desktop Client.

 

Requirements

You will need a web server, either Linux or Windows based. If you are going to use the Apache web server and you want to use a forwarding proxy, it must be version 2.4 or higher. We have tested IIS on Win 7 with success, earlier versions of IIS have not been tested.

Line: 46 to 57
  Assuming the web server to which we installed the client is 192.168.0.15, and that we installed everything into an 'appx' folder on the web server, then we should be able to get a client login dialog box via:
Changed:
<
<
http://192.168.0.15/appx/client.html
>
>
http://192.168.0.15/appx/client.html

You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the next section 'Tunneling/Forwarding'.

LocalConnector

As mentioned above, you can suppress the requirement for the LocalConnector by changing the following line in /var/www/html/appx/client.html:

<meta name="appx-local-required" content="true" >

 
Deleted:
<
<
You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the next section 'Tunneling'.
 

Tunneling/Forwarding

If you do not want to open port 3014 and would rather use port 80, you can use forwarding instead. For example, to configure Apache 2.4 you would do the following:

Line: 103 to 120
 Read what other users have said about this page or add your own comments.
Changed:
<
<

<--/commentPlugin-->
>
>

<--/commentPlugin-->
  -- JeanNeron - 2014-11-10

Revision 42014-11-11 - AlKalter

Line: 1 to 1
 

APPX HTML Client

This page gives an overview of and installation instructions for the Appx HTML client.

Line: 12 to 12
  The Appx HTML client consists of two modules:
Changed:
<
<
  • Web Server Files. These are the javascipt libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independant.
>
>
  • Web Server Files. These are the javascipt libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independent.
 
  • APPX Server connector. This is a small javascript library that connects the client running in your browser to the actual Appx engine. The Appx Server Connector is platform specific, you will need the one that matches the O/S under which your web server is running.
Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maxium flexibility in configuring your installation.

Revision 32014-11-11 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

This page gives an overview of and installation instructions for the Appx HTML client.

Changed:
<
<

>
>

 

Overview

The Appx HTML client is designed to allow you to connect to an Appx server and run Appx applications using a browser, either on the desktop, a tablet or a smartphone. In this release, you can only run the applications, you cannot design them. Specifically, the ILF editor and Image Editor are not supported. You may be able to work in Application Design so long as you avoid those 2 editors.

Line: 13 to 13
 The Appx HTML client consists of two modules:

  • Web Server Files. These are the javascipt libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independant.
Changed:
<
<
  • APPX Server connector. This is a small javascript library that connects the web server to the actual Appx engine. There is a Server Connector for each platform on which Appx runs.
Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maxium flexibility in configuring your installation.
>
>
  • APPX Server connector. This is a small javascript library that connects the client running in your browser to the actual Appx engine. The Appx Server Connector is platform specific, you will need the one that matches the O/S under which your web server is running.
Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maxium flexibility in configuring your installation.
  Once the HTML client is working, you can connect to any Appx 5.4+ server, just as you can with the Appx Desktop Client. Due to the engine changes that were made in 5.4 to support the HTML client, you cannot connect to an earlier Appx engine.

Requirements

Changed:
<
<
You will need a web server, either Linux or Windows based. If you are going to use the Apache web server, it must be version 2.4 or higher. We have tested IIS on Win 7 with success, earlier versions of IIS have not been tested.
>
>
You will need a web server, either Linux or Windows based. If you are going to use the Apache web server and you want to use a forwarding proxy, it must be version 2.4 or higher. We have tested IIS on Win 7 with success, earlier versions of IIS have not been tested.
  The web server does not have to be on the same server as Appx.
Line: 28 to 28
  First extract the Web Server File (webhost.zip) into the document folder for your web server. Depending on your web site layout, you may want to put this in it's own folder within the web server documents, i.e., /var/www/html/appx.
Changed:
<
<
Next, extract the Appx Server Connector to a location of your choice. This is the software that will connect your web server to the Appx Login Manager. A folder in the /opt directory would be a good choice on a Linux server. Once the software is extracted, you must manually start the connector running. For example, if you installed the connector in /opt/appxConnector, then you would (as root):
>
>
Next, extract the Appx Server Connector to a location of your choice. This is the software that will connect your browser client to the Appx Login Manager. A folder in the /opt directory would be a good choice on a Linux server. Once the software is extracted, you must manually start the connector running. For example, if you installed the connector in /opt/appxConnector, then you would (as root):
  # cd /opt/appxConnector
# nohup ./node appxConnector.js &
Line: 46 to 46
  Assuming the web server to which we installed the client is 192.168.0.15, and that we installed everything into an 'appx' folder on the web server, then we should be able to get a client login dialog box via:
Changed:
<
<
http://192.168.0.15/appx/client.html:3014

Tunneling

>
>
http://192.168.0.15/appx/client.html
 
Changed:
<
<
If you do not want to open port 3014 and would rather use port 80, you can use web sockets instead. For example, to configure Apache 2.4 you would do the following:
>
>
You must open port 3014 on your web server for this connection to work. If you do not want to open any new ports on your web server, see the next section 'Tunneling'.

Tunneling/Forwarding

If you do not want to open port 3014 and would rather use port 80, you can use forwarding instead. For example, to configure Apache 2.4 you would do the following:

 
  • In /etc/httpd/conf.modules.d/00-proxy.conf, add (if not already loaded):
    LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

  • Create the /etc/httpd/conf.d/appx.conf file with the following lines (or just add these to httpd.conf)
    ProxyPass /appxws/ ws://localhost:3014
    ProxyPass /appxwss/ wss://localhost:3014

  • Change /var/www/html/appx/client.html settings to:

    appx-proxy-host = hostname of httpd server (i.e., 192.168.1.11)
    appx-proxy-port = “80"
    appx-proxy-path = /appxws/
    appx-encryption = “aes”

Line: 76 to 78
 

Known Issues

Changed:
<
<
The following are the known probelms with the HTML client. These are being worked and may be addressed by the final release.
>
>
The following are the known problems with the HTML client. These are being worked and we hope to have them addressed by the final release.
 
Changed:
<
<
Comments:
>
>

Comments:

  Read what other users have said about this page or add your own comments.
Changed:
<
<

<--/commentPlugin-->
>
>

<--/commentPlugin-->
  -- JeanNeron - 2014-11-10

Revision 22014-11-10 - JeanNeron

Line: 1 to 1
 

APPX HTML Client

Changed:
<
<
This page gives an overview of the technology used by the HTML client and installation instructions.
>
>
This page gives an overview of and installation instructions for the Appx HTML client.
 
Changed:
<
<

>
>

 

Overview

Changed:
<
<
The Appx HTML client consists of three modules:
>
>
The Appx HTML client is designed to allow you to connect to an Appx server and run Appx applications using a browser, either on the desktop, a tablet or a smartphone. In this release, you can only run the applications, you cannot design them. Specifically, the ILF editor and Image Editor are not supported. You may be able to work in Application Design so long as you avoid those 2 editors.

The client will support SSL connections if your web server is configured appropriately. If not, the client will use it's own built in AES encryption so you data is still protected.

The Appx HTML client consists of two modules:

 
  • Web Server Files. These are the javascipt libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independant.
  • APPX Server connector. This is a small javascript library that connects the web server to the actual Appx engine. There is a Server Connector for each platform on which Appx runs.
Deleted:
<
<
  • Local Connector. This is small executable file that provides additional support to the HTML client. When running in a web browser, there are more stringent security restrictions in place, so certain operations are not allowed (i.e., open a document on the users desktop, upload/download a file to/from the users' desktop, etc). The Local Connector allows these operations to run as seamlessly as they do on the normal Appx Desktop Client. There is a connector for each desktop platform. These are installed in the web server document folder and will be uploaded to the browser on demand.
 Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maxium flexibility in configuring your installation.
Changed:
<
<
Once the HTML client is working, you can connect to any Appx 5.4+ server, just as you can with the Appx Desktop Client.
>
>
Once the HTML client is working, you can connect to any Appx 5.4+ server, just as you can with the Appx Desktop Client. Due to the engine changes that were made in 5.4 to support the HTML client, you cannot connect to an earlier Appx engine.
 

Requirements

You will need a web server, either Linux or Windows based. If you are going to use the Apache web server, it must be version 2.4 or higher. We have tested IIS on Win 7 with success, earlier versions of IIS have not been tested.

The web server does not have to be on the same server as Appx.

Changed:
<
<

Comments:

>
>
We have tested the HTML client on current versions of IE, Chrome and Safari.

Installation

First extract the Web Server File (webhost.zip) into the document folder for your web server. Depending on your web site layout, you may want to put this in it's own folder within the web server documents, i.e., /var/www/html/appx.

Next, extract the Appx Server Connector to a location of your choice. This is the software that will connect your web server to the Appx Login Manager. A folder in the /opt directory would be a good choice on a Linux server. Once the software is extracted, you must manually start the connector running. For example, if you installed the connector in /opt/appxConnector, then you would (as root):

# cd /opt/appxConnector
# nohup ./node appxConnector.js &

If you are running on Windows, then extract the Appx Server Connector to a folder of your choice and invoke it. For example, if you installed it a folder called "C:\AppxConnector", then you would:

cd \appxConnector
node appxConnector.js

At some point we will automate this step, but for now you must manually start the connector upon first installation and after every reboot.

Finally, you need to set the name of the host running the Appx Server Connector in the 'client.html' web page:

<meta name="appx-proxy-host" content="HOSTNAME"> <!-- Server Connector hostname or web server if tunneling -->

Change HOSTNAME to the name or IP address of the server running the Appx Server Connector.

Assuming the web server to which we installed the client is 192.168.0.15, and that we installed everything into an 'appx' folder on the web server, then we should be able to get a client login dialog box via:

http://192.168.0.15/appx/client.html:3014

Tunneling

If you do not want to open port 3014 and would rather use port 80, you can use web sockets instead. For example, to configure Apache 2.4 you would do the following:

  • In /etc/httpd/conf.modules.d/00-proxy.conf, add (if not already loaded):
    LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

  • Create the /etc/httpd/conf.d/appx.conf file with the following lines (or just add these to httpd.conf)
    ProxyPass /appxws/ ws://localhost:3014
    ProxyPass /appxwss/ wss://localhost:3014

  • Change /var/www/html/appx/client.html settings to:

    appx-proxy-host = hostname of httpd server (i.e., 192.168.1.11)
    appx-proxy-port = “80"
    appx-proxy-path = /appxws/
    appx-encryption = “aes”

  • Restart your web server

SSL

If you are running a secure web server (https), you can configure the Appx HTML client to use your SSL connection. Change your /var/www/html/appx/client.html settings as follows:

appx-proxy-host = hostname of httpd server (i.e., 192.168.1.11)
appx-proxy-port = “443"
appx-proxy-path = /appxwss/
appx-encryption = “ssl”

Then change the sslEnabled setting in 'appxConnector.js':

var sslEnabled = true;

Styles

Many aspects of the presentation of the Appx Client are controlled by the APPX.css style sheet in the 'css' folder. If you are familiar with working with style sheets, feel free to experiment with different settings.

Troubleshooting

If the client login dialog box does not display, check your web server error logs for any error messages & correct as required.

If you are getting "[proxy:error] [pid xxxx] (13)Permission denied:" errors, you might have a selinux security issue that prevents apache from initiating any outgoing network connections to the web socket server port. In that case, try the following command:

# setsebool -P httpd_can_network_connect 1

Known Issues

The following are the known probelms with the HTML client. These are being worked and may be addressed by the final release.

Comments:

  Read what other users have said about this page or add your own comments.
Changed:
<
<

<--/commentPlugin-->
>
>

<--/commentPlugin-->
 
Changed:
<
<
-- JeanNeron - 2013-09-25
>
>
-- JeanNeron - 2014-11-10

Revision 12014-11-10 - JeanNeron

Line: 1 to 1
Added:
>
>

APPX HTML Client

This page gives an overview of the technology used by the HTML client and installation instructions.


Overview

The Appx HTML client consists of three modules:

  • Web Server Files. These are the javascipt libraries and style sheets that make up the HTML client. These must be installed in your web server's document directory. These files are platform independant.
  • APPX Server connector. This is a small javascript library that connects the web server to the actual Appx engine. There is a Server Connector for each platform on which Appx runs.
  • Local Connector. This is small executable file that provides additional support to the HTML client. When running in a web browser, there are more stringent security restrictions in place, so certain operations are not allowed (i.e., open a document on the users desktop, upload/download a file to/from the users' desktop, etc). The Local Connector allows these operations to run as seamlessly as they do on the normal Appx Desktop Client. There is a connector for each desktop platform. These are installed in the web server document folder and will be uploaded to the browser on demand.
Note that Appx does not have to be running on the same server as your web server, and the APPX Server Connector does not have be on the same server as either Appx or your web server. This gives you maxium flexibility in configuring your installation.

Once the HTML client is working, you can connect to any Appx 5.4+ server, just as you can with the Appx Desktop Client.

Requirements

You will need a web server, either Linux or Windows based. If you are going to use the Apache web server, it must be version 2.4 or higher. We have tested IIS on Win 7 with success, earlier versions of IIS have not been tested.

The web server does not have to be on the same server as Appx.

Comments:

Read what other users have said about this page or add your own comments.



<--/commentPlugin-->

-- JeanNeron - 2013-09-25

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback