GAS 3.00 upgrade guide
These topics describe product changes you must be aware of when upgrading to version 3.00.
This version of GAS is desupported, use a more recent version of the product.
This incremental upgrade guide covers only topics related to the Genero Application Server (GAS) version specified in the page title. Check prior upgrade guides if you migrate from an earlier version, and complete the migration tasks for all versions between your existing version and the target version, in order. Make sure to also read about the new features for this version.
Corresponding new features page: GAS 3.00 new features.
Previous upgrade guide: GAS 2.50 upgrade guide.
In the Genero Application Server User Guide 3.00 manual, upgrade notes introduced during a maintenance release were part of a separate topic. All content from that topic now appears on this page.
Client scope (protocols)
The FGLGWS package includes both Genero Business Development Language and Genero Web Services.
Protocol | Clients |
---|---|
ua | GDC 3.00, GBC, GMA, GMI |
ws | GWS |
Protocol | Clients |
---|---|
ja | GDC 2.50 |
wa | GWC-HTML5 |
Web services (ws) with GAS 3.00 are supported with FGLGWS 3.00 DVM only.
If you wish to use GWC-HTML5 or GDC 2.50 with GAS 3.00, you must work with FGLGWS DVM 2.50.
What does this mean for your upgrade to 3.00? Links that previously used "wa" should now use "ua" instead. See URI Examples.
IIS configuration no longer automatic
The IIS automatic configuration has been removed from the installation process. Manual configuration is required.
Genero Web Client
Genero Web Client for JavaScript (GWC-JS) applies to the web client 3.00 and lower. From version 3.10, the name GWC-JS is discontinued and replaced by Genero Browser Client (GBC).
Document your existing customization under GWC-HTML5, and determine what needs to be reimplemented with GBC.
Genero Desktop Client ActiveX (GDCAX) is desupported
For new development, use GBC.
Single Sign-On Authentication
The Kerberos authentication mechanism for Single Sign-on authentication is deprecated. Any new development requiring Single Sign-on should plan to use OpenID Connect, SAML or OpenID. See the Single Sign-On User Guide. For alternative solutions, please contact your Four Js support center.
Java Dispatcher
The Java dispatcher is no longer used. Please see Java Servlet Installation and Web Server Configuration topics in the Genero Application Server 3.00 User Guide.
- IBM® WebSphere (since version 8.0). See http://en.wikipedia.org/wiki/IBM_WebSphere_Application_Server
- Apache Tomcat® (since version 7.0.x). See http://tomcat.apache.org/whichversion.html
- Glassfish (since version 3.0). See http://glassfish.java.net/.
Web Server side Resources
gwcproxy
and html5proxy
proxies, the path to
the image directory is configured to fetch resources on the web server side in the
PATH
element, see the Genero Application Server 3.00 Administrator
Guide.<PICTURE>
<PATH type="WEBSERVER">a_uri</PATH>
</PICTURE>
This is usually configured to improve performance. The web server delivers
static files or images instead of the GAS.uaproxy
, all the resources are delivered by the GAS. By
default the application's public directory is defined by the PUBLIC_IMAGEPATH
in
$FGLASDIR/etc/as.xcf configuration file:<PUBLIC_IMAGEPATH>$(res.public.resources)</PUBLIC_IMAGEPATH>
$(res.public.resources)
defaults to the path
appdata/public/common, see PUBLIC_IMAGEPATH.
If you use Genero Archive you can specify public resources for your applications by adding a
RESOURCES
element in the Genero Archive manifest. Then the resources are copied in
$FGLASDIR/appdata/public/deployment/deployappname, where "deployappname" is the
name given to the deployed application directory by the Genero Archive. See Resource deployment.
Web Components
In GAS 2.50, web components are deployed under $FGLASDIR/web/components directory, see WEB_COMPONENT_DIRECTORY.
uaproxy
, the default path for a web component is
appdir/webcomponents, where "appdir" is the application directory. See the
WEB_COMPONENT_DIRECTORY
element in your FGLASDIR/etc/as.xcf
configuration
file:<WEB_APPLICATION_EXECUTION_COMPONENT Id="cpn.wa.execution.local">
[…]
<DVM>$(res.dvm.wa)</DVM>
<WEB_COMPONENT_DIRECTORY>$(application.path)/webcomponents</WEB_COMPONENT_DIRECTORY>
</WEB_APPLICATION_EXECUTION_COMPONENT>
WEB_COMPONENT_DIRECTORY
element in your application's configuration. In this
example, the web component is no longer located in appdir/webcomponents but in
appdir/mycomponents.<APPLICATION Parent="defaultgwc" …>
<EXECUTION>
<PATH>/home/myapp</PATH>
<MODULE>myapp</MODULE>
<WEB_COMPONENT_DIRECTORY>/home/myapp/mycomponents</WEB_COMPONENT_DIRECTORY>
</EXECUTION>
</APPLICATION>
For more details on web component usage, see the Genero Business Development Language User Guide.
Genero Web Client hybrid mode (deprecated)
The GWC hybrid mode feature has been deprecated. Applications for Android™ or iOS mobile platforms which used the GWC hybrid mode will need to use the more-featured GMA or GMI instead. If you do not have equivalent features in GM, contact your local Four Js support center.
GWC-JS LOOKUP PATH
GWC_JS_LOOKUP_PATH
is a new mandatory element in
as.xcf. If you are upgrading to GAS versions 3.00.11 or later and wish to keep
your existing as.xcf configuration file, you need to add this element to the
INTERFACE_TO_CONNECTOR
element. Otherwise, you will see the following error message
at GAS
startup:Application Server startup . ........................................... httpdispatch
"Configuration ERROR" Code:1871 Message:Element 'TEMPORARY_DIRECTORY': This element is not expected.
Expected is ( GBC_LOOKUP_PATH ).
[fail] httpdispatch "Main Configuration"
Cannot build main configuration
gasadmin -V
For more
information on the gasadmin tool, see gasadmin tool topic.Debug mode
Genero Web Client for JavaScript (GWC-JS) applies to the web client 3.00 and lower. From version 3.10, the name GWC-JS is discontinued and replaced by Genero Browser Client (GBC).
"gwc-js.debug"
in a GAS configuration file has been dropped. If you have previously
used gwc-js.debug
to launch GBC applications in debug mode, you must now use an
alternate method. See GBC application in debug mode in the Genero Browser Client
Customization Guide.Genero Report Viewer URLs
Starting with GAS version 3.00.12, the report viewer URL prefix /ua/grv
that was
provided to the Genero Report Engine (GRE) is no longer used.
New URL prefixes provide access to the HTML report viewer implementation and its applications' public and private resources. Different URLs are provided for when the Genero Report Engine is operating in local mode, on the same server as the GAS, or in distributed mode on another server.
- Local /Local Server Mode
/ua/report/viewer
- Distributed Mode
/ua/report-r/viewer
viewer
loads the HTML report viewer implementation.public
provides access to shared resources.private
provides access to resources that are private to the application.
For more information see REPORT_VIEWER_DIRECTORY.
HTTP security header: X-Content-Type-Options="nosniff"
<HEADER Name="X-Content-Type-Options">nosniff</HEADER>
Use
of this header blocks browsers sniffing file types, which is guessing the correct Multipurpose
Internet Mail Extensions (MIME) type by looking at the file. The header blocks sniffing of script
and style type files. On Internet Explorer 11, if an image file does not have an extension, use of this header may cause that image not to display. Make sure your image files have extensions if your applications need to serve images through the Genero Application Server (GAS)
For more information, see HEADER (Common).
Changes to Apache 2.4 configurations
Alias
directive no longer needs to be set in FastCGI configurations using
the mod_proxy_fcgi module. This applies to Apache 2.4 web server. Lines, such as the following, can
be removed from server and virtual host
configurations.Alias /gas /opt/gas/bin/fastcgidispatch
- To ensure application URLs with spaces are decoded correctly,
proxy-fcgi-pathinfo
must be set tounescape
. - The
enablereuse=on
directive can be used in theProxyPass
configuration to recycle connections to the FastCGI dispatcher.
For more information on Apache 2.4 web server configuration, see Configure FastCGI for Apache 2.4.
For more information on the Apache modules and directives, refer to the Apache documentation.
Changes to USER_AGENT timeout settings for GAS
Starting with GAS 3.00.44, how the USER_AGENT
timeout setting is transmitted to
the Genero Browser Client (GBC) has changed. The value is now divided by 2
(USER_AGENT/2
) when sent to the Genero Browser Client at application start up. This
decrease in the timeout interval ensures the GAS has time to receive at least one ping from the
client, in case network traffic is experiencing very high latency.
For more information see USER_AGENT.
REQUEST_RESULT default now 45 seconds
Starting with GAS 3.00.46, the default value for REQUEST_RESULT
changed from 60
seconds to 45 seconds. For more details, see REQUEST_RESULT (for an application).
Changes in earlier versions
Make sure to check the upgrade notes of earlier versions, to not miss changes introduced in maintenance releases.
For more details, see GAS 2.50 upgrade guide.