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] hard-coded server names

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] hard-coded server names
 Login/Join
 
Gold member
posted
We are testing WebFocus version 8.1.04. I have successfully exported and
imported all data from WebFocus 7.7.05 to the the testing server.

As users are testing their code, they are running into issues with the server name being
hard-coded into some of their fexes or html launch pages. When users run a report they get a message, to login to Managed Reporting, which still points to the old server.

Is there a way to globally replace the server name from webfocus:8080 to
wf8sandbox:8080, or will they need to edit each file individually? I've tried
using Wild Edit, but no matter what I do, the server name does not change.

Is this because the repository is now stored in the database?

Does anyone know of another way to accomplish this?

Any help you can offer would be greatly appreciated.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.2.02M, App Studio 8.2.02M
Windows 2012 Server, Excel
 
Posts: 55 | Location: Massachusetts, USA | Registered: March 25, 2011Report This Post
Expert
posted Hide Post
Go to each of the Reporting Servers and add this to edasprof.prf file:

-SET &&SERVER = 'HTTP://AAA.YYY.xx.XXX:8080';
or
-SET &&SERVER = 'HTTPS://AAA.YYY.xx.XXX:8080';

Then, replace the hard-coding in the fex's to the &&SERVER variable...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Gold member
posted Hide Post
Thanks, Tom.

Just so I am clear, users would need to edit each fex or html file manually?


WebFOCUS 8.2.02M, App Studio 8.2.02M
Windows 2012 Server, Excel
 
Posts: 55 | Location: Massachusetts, USA | Registered: March 25, 2011Report This Post
Expert
posted Hide Post
Yes, there is currently no easy method to automate updating files that are located in the Repository.

The only way I can think of doing this is to:

- use Developer Studio or App Studio to drag the files to a folder on the PC desktop
- use a smart, programmer's text editor to make the changes to the files
- use Developer Studio or App Studio to drag the files from the desktop folder to the Repository folder

This would have to be done one folder at a time and carefully.

This message has been edited. Last edited by: Francis Mariani,


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
Gold member
posted Hide Post
Francis,

thank you so much for your input. I'm sure my users won't be pleased, but there isn't much we can do about it.

thanks again!


WebFOCUS 8.2.02M, App Studio 8.2.02M
Windows 2012 Server, Excel
 
Posts: 55 | Location: Massachusetts, USA | Registered: March 25, 2011Report This Post
Expert
posted Hide Post
The only way we have "globally" update anything is to do an export (with IBI_CM_Format_Raw set to True so the export is text files), then use some editor, etc to effect the change, then re-inport.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
We don't use MRE, so things could be different there, but we've seen this happen when deploying projects from incorrectly configured Developer Studio environments.

Basically, the user's Dev Studio environment (mine) was set up to use port 8080 directly, while we deploy our HTML (and other static content) to a server at port 80. The deploy process noticed this discrepancy and prepended URL's in the HTML with http://servername:8080/


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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] hard-coded server names

Copyright © 1996-2020 Information Builders