Include multiple envFile [message #445725] |
Wed, 03 March 2010 10:23 |
jfsaucier
Messages: 20 Registered: June 2009 Location: Quebec
|
Junior Member |
|
|
Hi,
Here is my problem : I have 7 applications to deploy on Forms server, each with there own applicationsX.env file. In formsweb.cfg, I specify an envFile directive in each applications specific section.
The problem is that I would prefer not to copy default.env 7 times just to add 2-3 specific directives. I would like to always include default.env + applicationsX.env for example.
Is there a way to specify multiple env file in the envFile directive?
Thank you very much for your help.
|
|
|
|
Re: Include multiple envFile [message #447492 is a reply to message #447400] |
Mon, 15 March 2010 07:55 |
jfsaucier
Messages: 20 Registered: June 2009 Location: Quebec
|
Junior Member |
|
|
Hi,
Thanks for the answer. In fact, it's the opposite that I want to do. Let's say for example that I have a different FORMS_PATH in each application, what I would like to do is this in my config block :
[application1]
envFile=/path/to/env/application1.env
[application2]
envFile=/path/to/env/application2.env
...
But, if I do this, the default.env in not included and Forms doesn't work (it cannot find ORACLE_HOME, LD_LIBRARY_PATH, CLASSPATH, etc).
So, in an ideal world, I would do this :
[application1]
envFile=default.env:/path/to/env/application1.env
[application2]
envFile=default.env:/path/to/env/application2.env
But it doesn't work...
So, what I did is to copy the content of default.env in each applicationX.env file... But this is less than optimal for me...
|
|
|
|
Re: Include multiple envFile [message #448892 is a reply to message #445725] |
Thu, 25 March 2010 09:30 |
jfsaucier
Messages: 20 Registered: June 2009 Location: Quebec
|
Junior Member |
|
|
This is on the Application Server that I want to do this.
Anyway, the Developer Server use the same configuration syntax as the Application Server and I didn't find a way to do this on both.
|
|
|
|
Re: Include multiple envFile [message #449400 is a reply to message #445725] |
Mon, 29 March 2010 06:56 |
gregor
Messages: 86 Registered: March 2010 Location: Germany
|
Member |
|
|
Hi jfsaucier,
If your FORMS-Applications have different names,
and The "FORMS_PATH" is the only Differenz you can
add all Dircetories to your FORMS_PATH.
so you need only one .env-file
|
|
|
Re: Include multiple envFile [message #449417 is a reply to message #449400] |
Mon, 29 March 2010 08:24 |
jfsaucier
Messages: 20 Registered: June 2009 Location: Quebec
|
Junior Member |
|
|
djmartin : No, we don't need to install multiple Applications Servers to run multiple applications. We just need to have different env section in formsweb.cfg for each applications.
gregor : That's a good idea but it's not possible here because of the layout the applications are developed. We have files with the same name in each applications but with different versions in each. So, we cannot mix the FORMS_PATH between them. Thanks for the hint anyway, it will serve me at another place!
|
|
|