Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Master Files distinction

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Master Files distinction
 Login/Join
 
Guru
posted
Hi,

I have 2 folders under application one is called Production and one is called developpment.
Under producion i have all the FEX files and the master filed pointing to our poduction sql server database using a prod adapter.
Under Development I have the same FEX files and master files but pointing to our development sql server using a dev adapter.
Since Both Production folder and Development folder are in the apppath, how can I be sure that when running the Fex file under production it will use the maste file from production and no the one undre developement.

Thanks in advance for any explaination.

Majid.

This message has been edited. Last edited by: Kerry,


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Platinum Member
posted Hide Post
Generally it uses the one that it finds first.

If you need to be sure you can use something like
WHENCE MASTER
and figure out where it really came from.

Alternatively, if in MR, you can specify the APP Folder that should be used for the Domain. Via Self service you can code IBIAPP_app in the URL
 
Posts: 140 | Registered: May 02, 2007Report This Post
Guru
posted Hide Post
Hi FortuneCookie,

Thanks for your reply.

I was expecting that it would start with the master files in the application folder from where it was launched.

Majid.


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Guru
posted Hide Post
i think it follows the windows directory convention in that it will search the directories in order- to test this you could temporarily rename your dir 'Aproduction' and see if it finds that one first...


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
<JG>
posted
WebFOCUS always takes the files it requires from the folder highest in the APP PATH
or from BASEAPP if they are there.

A solution is totally based on what sort of WebFOCUS solution you are providing to your users,
MRE/dashboard or canned reporting.

The best solution is to actually have 2 environments however if you can not do that because
of the cost involved.

Then prefix or suffix everything so that they are unique.

e.g. car_prod & car_dev
 
Report This Post
Expert
posted Hide Post
I have a similar dev/prod environment. I do not put the dev app folder in the app path. In my dev launch programs, I use the APP PREPENDPATH command to add the dev app folder to the front of the app path.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
Hi Thanks to All of you.

The solution that close to what i am lokking for is the one of Francis.
I will go ahead with it.

Thanks again to all of you.


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Francis Mariani:
I have a similar dev/prod environment. I do not put the dev app folder in the app path. In my dev launch programs, I use the APP PREPENDPATH command to add the dev app folder to the front of the app path.

Can this PREPENDPATH be "included" in an FEX so you could have variable paths based on what is in the particular "include" FEX in that domain?


________________________________________________________________________________________
WebFOCUS 7.6.8 + Windows Server 2003 + DB2/400
 
Posts: 66 | Location: Nashville, TN, USA | Registered: January 16, 2008Report This Post
<JG>
posted
PREPENDPATH and or APPENDPATH can be in the fex that you are running or if you use individual user profiles in there.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Master Files distinction

Copyright © 1996-2020 Information Builders