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.
I am hoping this can be done, but my lite testing is running into issues. I have 2 servers (DEV and PROD). Dev is not strictly development, there are some production jobs there run via ReportCaster in a 'squint your eyes really hard and call it load-balancing' methodology.
Anyway, I'd like to include a file from one server to be executed on the other. Instead of standard inter Domain includes, I want to include from another server, can this be done?
I'm thinking it should go something like this inside my host fex on the Dev server, but I get errors.
Error occurred. ERROR: ERROR_MR_CANT_FIND_OBJECT MR object denoted by provided path IBFS:/PROD_SERVER/MRE/DOMAINS/atempc25/atempc25.htm/STANDARDREPORTS/#reportsh1ttd/app/printcar.fex does not exist
I've verified that the path typed out is the same as what I see in the 'Edit' window of the target fex. Hoping it's just a syntax issue ::fingers crossed::
-ABTThis message has been edited. Last edited by: ABT,
You can't -INCLUDE procedures that exist in an MRE environment on another server. Period. -INCLUDE works for procedure in the same MRE environment (either same domain or other domains) or for server procedures (using a variety of techniques depending on exactly what you need.)
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
You may be able to declare the remote location as a remote application folder -- there's a command for setting the specific disk path to an application . . . can't for the life of me remember it . . . APP MAP maybe? At that point you may be able to -INCLUDE the file as if it's coming from an application that's available to the MRE domain. A bit of a long walk, but it may work. Option 2 would be to (gasp!) make a second copy of the code. You didn't hear that last part from me.
J.
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007
Wow, you're good (http://documentation.informationbuilders.com/masterindex/html/html_wf_761/wf761appslang/index.htm?url=topic23.htm). Will check into this. Thanks!
What happens if you do a dir of \\PRODSERVER\c$\ibi\WebFOCUS76\basedir\atempc25\app? Is there any difference in the outcome of that from within the webfocus environment and outside of it? What happens if you say APP QUERY SW? Just an extra thought on this (haven't tried it myself, but it might work): If this all seems to be ok, but still WF won't pick the file up, there may be another alternative. And that is to not use the UNC naming but to use instead the x:\sw approach. You would then have to use a defined network connection to the remote machine and assign it a drive letter. The drawback of this is that the drive letter has to exist before the server starts or you would have to manually specifiy it when you need it. Possibly you could put it in edasprof. The command would be something like NET USE X: \\PRODSERVER\c$. And then you would code your app map as APP MAP SW x:\ibi\WebFOCUS76\basedir\atempc25\app. Who knows, maybe it works ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
If you don't have one already, you need a -RUN after your APP commands and before your -INCLUDE. You might try APP PREPENDPATH instead of APP PATH. Use the APP SHOWPATH or ? PATH command to see if the your new path has been added to the search PATH. Search Path Management Commands has additional information, if you haven't already seen it.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Originally posted by Dan Satchell: If you don't have one already, you need a -RUN after your APP commands and before your -INCLUDE. You might try APP PREPENDPATH instead of APP PATH. Use the APP SHOWPATH or ? PATH command to see if the your new path has been added to the search PATH. Search Path Management Commands has additional information, if you haven't already seen it.