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’m trying to get a report of Oracle adapter, error message(if any) and tnsname.ora address of the adapters configured in a server. I managed to get the error messages with traces. Now I need to include the tnsnames.ora address – HOST, PORT details for those adapters.. However the traces are not showing the tnsnames address.
This is the code I used for error messages:
-SET &TEMPDIR = TEMPPATH(60,'A60'); -SET &TRACEFILE = &TEMPDIR || 'test.trc'; SET TRACEUSER = ON SET TRACEOFF = ALL
-*SQLDI - SQL physical layer (formerly FSTRACE) -*SQLAGGR - Optimization information (formerly FSTRACE3) -*STMTRACE - SQL statements (formerly FSTRACE4) -*SQLCALL -Commands and data exchange between the physical and the logical layers of the adapter.
-*Tracing SET TRACEON = NWH//FSTRACE
SET TRACEON=SQLDI//FSTRACE SET TRACEON=SQLAGGR//FSTRACE SET TRACEON=STMTRACE//FSTRACE
SET TRACEUSER=&TRACEFILE -RUN
SQL SQLORA SET DEFAULT_CONNECTION xyz SQL SQLORA SELECT TABLE_NAME, OWNER, TABLESPACE_NAME FROM ALL_TABLES; TABLE FILE SQLOUT PRINT * ON TABLE HOLD END -RUN
SET TRACEOFF = ALL SET TRACEUSER = OFF
-*Parsing trace file FILEDEF MASTER DISK test.mas FILEDEF TEST DISK test.trc -RUN -WRITE MASTER FILENAME=TRACE, SUFFIX=FIX -WRITE MASTER SEGNAME=TEST -WRITE MASTER FIELDNAME=LINE, FORMAT=A200, ACTUAL=A200, $ -RUN
TABLE FILE TEST PRINT LINE END -RUN
Can anybody help me find the tnsnames HOST & PORT details for configured oracle adapters…is it possible to find it thru traces or do I have to get it using unix scripts from the tnsnames.ora file configured on the server. I’ve tried using various trace components for SQL adapter – but to no avail. Any help is greatly appreciated! ThanksThis message has been edited. Last edited by: Kerry,
Server:WF 766 Platform: AIX 5.3 pSeries 32on64bit Desktop: Dev Studio 764
That would indeed not be possible by using the webfocus tracing. When you define a connection to the oracle dbms, the only thing you specify is the name as it is registered in tnsnames.ora. This name will then be used by the adapter to sent on to the oracle client software. That last piece of software will access the tnsnames.ora file to find out where to go. The eda server does never ever access the tnsnames.ora file. That is a responsibility of the oracle client program.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007