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     Passing server variables to WF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Passing server variables to WF
 Login/Join
 
Guru
posted
This is our client site.wfs which has worked without any problem for several years. Now we've upgraded to 7.6.4 from 7.1 and the variables RAPP and AUTH_USER are not set.


HTTP_HOST=&HTTP_HOST
SET_IP=&REMOTE_HOST
RAPP=&IBIF_ex
AUTH_USER=&AUTH_USER
WEBROOT = E:\\webroots\\esealmw440\\web\\


Any ideas?

W2003 Server, IIS, Tomcat 5.5

Tia
Håkan


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Expert
posted Hide Post
Try the alternate syntax for this:
WF_PROGRAM=&CGI_PROG
<set> WF_PROGRAM (pass)

Where WF_PROGRAM is the variable passed to WebFOCUS and &CGI_PROG is the server variable.

RAPP=&IBIF_ex
<set> RAPP (pass)


Here's a posting on this subject Pass the URL of the current WF request in a DM variable and another Server Variable

I hope this helps.


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
Platinum Member
posted Hide Post
Håkan,

I can confirm that we have our 7.6.2 site.wfs syntax set as Francis has suggested.

The only difference in our file is that there is no space between the variable name and the (pass) part, but I assume that either way is OK.

Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Guru
posted Hide Post
Francis,

I've modified the site.wfs to use the {SET} syntax instead of {SENDVAR}. The funny? thing is that some variables are passed on, but not AUTH_USER or RAPP. The problem is that we're heavily dependant on AUTH_USER, since we're logging every request.

Håkan

This message has been edited. Last edited by: Håkan,


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Platinum Member
posted Hide Post
Håkan,

We have 2 instances of site.wfs on the client side, but we only use one of them. Is it the ./WebFOCUS76/client/wfc/etc/site.wfs version that you have updated? This is the one we use.

Also, I assume you stopped and restarted the WF and Tomcat processes?

Other than that, I don't know what it could be.

Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Expert
posted Hide Post
Are you sure that AUTH_USER and IBIF_ex are valid server variables?

To find out the fex being executed, you have &FOCFOCEXEC already available as a DM variable. IBIC_user is is usually the server user id, which must be passed by site.wfs.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Passing server variables to WF

Copyright © 1996-2020 Information Builders