Subscribe for automatic updates: RSS icon RSS

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

Pages: 1 ... 8 9 [10]
 91 
 on: May 13, 2020, 08:47:06 pm 
Started by Brad D. - Last post by Sebastien F.
There is a confusing/wrong sentence in the FGLPROFILE env var topic:

Quote
If FGLPROFILE is not set, the runtime system reads entries from the default configuration file located in $FGLDIR/etc/fglprofile.

FGLDIR/etc/fglprofile is always read first no matter if FGLPROFILE env var is defined or not.

This will be fixed.

Sorry for that.
Seb

 92 
 on: May 13, 2020, 08:37:42 pm 
Started by Brad D. - Last post by Sebastien F.
Is this the page you are looking for regarding the loading of FGLDIR/etc/fglprofile ?

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_fglprofile_005.html

Seb

 93 
 on: May 13, 2020, 08:35:03 pm 
Started by Brad D. - Last post by Sebastien F.
Please check also:

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_fglprofile_001.html

There is a link at the bottom of the page of the FGLPROFILE environment variable.

You can also type "FGLPROFILE" in the search field or index field to find these topics.

What is missing?

Seb

 94 
 on: May 13, 2020, 07:12:12 pm 
Started by Brad D. - Last post by Laurent G.
Duh ... sorry

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_EnvVariables_FGLPROFILE.html

I guess it could be more specific about the fact that it always reads it no matter what FGLPROFILE is set to.

Cheers,

Laurent

 95 
 on: May 13, 2020, 07:09:33 pm 
Started by Brad D. - Last post by Laurent G.
YW Brad and agreed,

I was looking to send a link to the doc page in my last comment that explains that rule and couldn't find it ... I swear it used to be there or is somewhere still buried

Laurent

 96 
 on: May 13, 2020, 06:57:28 pm 
Started by Brad D. - Last post by Brad D.
Ok.  That works.  I would suggest that you change the documentation to reflect the fact that the fglprofile must be there and that additional files can be added if necessary.  It certainly does not read that way now.

Thanks for your help Laurent.

 97 
 on: May 13, 2020, 06:52:15 pm 
Started by Brad D. - Last post by Laurent G.
Ok that's expected

When starting a Genero program, the runtime will always try to load the 'factory' $FGLDIR/etc/fglprofile no matter what so it needs to be there regardless of what you set your FGLPROFILE environment variable to.

The best practice is to leave config file that comes with the install under $FGLDIR, $FGLASDIR, ... intact and just add/replace your specific settings in your own custom files. So put your 2 .rt and .dev files along where your application files are and point FGLPROFILE to it

Note also that you can split your custom entries into several logical files. For example, I have one just with license entries and one for ODI entries (same could go for Web Services, Mobile, ...)

Laurent

 98 
 on: May 13, 2020, 06:31:39 pm 
Started by Brad D. - Last post by Brad D.
This is what I get:

# echo $FGLPROFILE
/var/opt/fourjs/fglgws-3.10.09/etc/fglprofile.dev
# ls -l /var/opt/fitrix_610/fourjs_dev/etc/fglprofile.dev
-rw-r--r-- 1 root root 10303 2020-04-01 11:57 /var/opt/fitrix_610/fourjs_dev/etc/fglprofile.dev
# fglrun *42r -d sample
ERROR(-6323):Can't load factory profile '/var/opt/fourjs/fglgws-3.10.09/etc/fglprofile'.
SYS ERROR(2):No such file or directory
# ls -l /var/opt/fourjs/fglgws-3.10.09/etc
total 52
drwxrwxr-x  2 fitrix fitrix  4096 2020-05-13 12:17 .
drwxr-xr-x 20 fitrix    502  4096 2018-01-18 14:04 ..
-rw-r--r--  1 fitrix fitrix  4011 2017-11-08 12:12 charmap.alias
-rw-r--r--  1 fitrix fitrix  8282 2017-11-08 12:13 dbdinfo.xml
-rw-r--r--  1 root   root   10303 2020-04-01 11:57 fglprofile.dev
-rw-r--r--  1 fitrix fitrix 10303 2018-01-18 14:06 fglprofile.rt
-rw-r--r--  1 fitrix fitrix  3890 2017-11-08 12:12 termcap
# ls -l $FGLPROFILE
-rw-r--r-- 1 root root 10303 2020-04-01 11:57 /var/opt/fourjs/fglgws-3.10.09/etc/fglprofile.dev

Laurent:
I am not trying to use only one license but am segregating them by using separate fglprofile files which identify the license to use.  I have only one FGLDIR and the license manager includes both licenses but only one should be used at a time if the proper file was found through the use of the FGLPROFILE environment variable.

 99 
 on: May 13, 2020, 06:23:28 pm 
Started by Brad D. - Last post by Laurent G.
Hi Brad,

This is strange indeed as it should work as documented + the License Manager will allow you to only install one FGLDIR directory.

However, the FLM doesn't mix license types indeed: so one unique license wouldn't be able to be runtime and dev at the same time and several licenses of different types can't be bundled to create a bigger pool.

If you get stuck, contact your local support and we will take a closer look at your environment with you

Cheers,

Laurent

 100 
 on: May 13, 2020, 06:14:55 pm 
Started by Brad D. - Last post by Gary C.
Hi
That is strange. I have just amended the settings in my test environment to set FGLPROFILE to point to a different file to mimic your requirement:

Code
  1. gary@nancy:/opt3/teq/bin$ echo $FGLPROFILE
  2. /opt3/teq/etc/fglprofile.rt
  3.  

I then copied the original file to the new one and the applications still ran OK.

Pages: 1 ... 8 9 [10]
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines