Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Genero Application Server (GAS) version 5.01.01 issue on Windows platform.  (Read 1579 times)
Olivier E.
Four Js
Posts: 213


« on: April 08, 2025, 06:37:00 pm »


 Genero Application Server (GAS) version 5.01.01 issue on Windows platform



Dear customers,

Four Js has discovered a defect in the Genero Application Server (GAS) version 5.01.01 on Windows platform only.

When you automatically start a Genero Web Service at the dispatcher start, it may remove a directory in c:\


We are working to provide a maintenance release ASAP. We keep you posted in this discussion.

The workaround:

Before starting your dispatcher, set the following environment variable to prevent your web services from starting automatically and remove any directory:

set FGLAS_GWS_SKIP_START=1

Or modify your web services "*.xcf" file(s) to prevent them from starting automatically, and restart the dispatcher to reload its settings.


Thank you for your understanding.



Four Js Development Tools
Olivier E.
Four Js
Posts: 213


« Reply #1 on: April 08, 2025, 06:47:37 pm »



Here is the bug number: https://4js.com/support/issue/?id=GAS-04005
Amy M.
Posts: 4


« Reply #2 on: April 08, 2025, 06:58:22 pm »

If we implement the workaround, what will happen when we need a web service?  Will it work normally, or will there be a delay?
Delane F.
Four Js
Posts: 5


« Reply #3 on: April 08, 2025, 08:56:33 pm »

Hi Amy,

If there's no DVM waiting for requests, the GAS will start a proxy to handle the request and start a new DVM process.

Regards,
Delane
Amy M.
Posts: 4


« Reply #4 on: April 08, 2025, 09:51:56 pm »

Delane,

Thank you. Just to be crystal clear, if we want to modify our xcf files to not start the web service automatically at the start of the dispatch, how do we do that?

I would have thought that the change would be to set the START value to 0, however, the title of the bug #GAS-04005: "Starting a web service where START value is 0 on Windows, may remove directories found on C:\" makes me worried that it's actually the opposite.

So in other words, do we need to change from this:
<START>1</START>
to this:
<START>0</START>
or is it the other way around?

We would like to get this workaround implemented today if at all possible.

Thank you,
Amy Millenson
Delane F.
Four Js
Posts: 5


« Reply #5 on: April 08, 2025, 11:01:05 pm »

Hi Amy,

I have requested a review of the bug description.

The prescribe workaround is as posted:

Before starting your dispatcher, set the following environment variable to prevent your web services from starting automatically and remove any directory:

set FGLAS_GWS_SKIP_START=1

Or modify your web services "*.xcf" file(s) to prevent them from starting automatically, and restart the dispatcher to reload its settings.


Regards,
Delane
Olivier E.
Four Js
Posts: 213


« Reply #6 on: April 09, 2025, 07:11:17 pm »

Hello everyone,


The new package GAS 5.01.02, which fixes the problem, was released today. You can download it from the "Download" -> "Products" website menu.
https://4js.com/download/products/

Another Warning: If you work with Genero Studio 5.01.01 on Windows, it includes the GAS 5.01.01 version. We recommend installing the new GAS 5.01.02 and setting up the GST installation to work with it.

Here is a step by step to achieve this task:

  • Install GAS 5.01.02 in a directory (we will call it <my_gas-50102_path> )
  • Open GST
  • Open the "Genero configuration details"
  • In the “Genero Web” configuration, you find a field named "Use Application Server" → click on the button to open the GAS configuration → it opens a new window.
  • Modify the "GAS 5.01.01" configuration like this
  • "Installation directory" -> must point to the new GAS 5.01.02 directory <my_gas-50102_path>
  • "Use Start Script" -> change the directory to <my_gas-50102_path>/bin/gas
  • Click on the "Application" tab and modify the 2 other entries:
  • "Application directory" -> <my_gas-50102_path>/appdata/app
  • "Services directory" -> <my_gas-50102_path>/appdata/services
  • close this window.
  • Apply and close the configuration window.
  • Inside GST, select the "Genero Web" environment
  • Start a web application
  • Open a browser on the same machine http://localhost:6394/demos.html
  • A page must open, its title must be "Welcome to the Genero Application Server 5.01.02"

We are preparing a Genero Studio Maintenance release.

Sorry for the inconvenient,

Four Js Development Tools
Olivier E.
Four Js
Posts: 213


« Reply #7 on: April 10, 2025, 12:00:39 pm »

Amy,

I apologize, one of the worakround I suggested was wrong: "Or modify your web services "*.xcf" file(s) to prevent them from starting automatically, and restart the dispatcher to reload its settings."

Because in the GAS configuration file *.xcf when the <START>0</START> is set to 0 (='zero') you get the problem. Please set it to 1, and the problem disappears.

Here is the documentation about the START entry in XCf file: https://4js.com/online_documentation/fjs-gas-manual-html/#gas-topics/c_gas_configure_start_service_on_gas_start.html

However, we recommend upgrading to GAS 5.01.02 and avoiding touching the GAS configuration file ("*.xcf").

Olivier Eckert - Four Js Support
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines