Академический Документы
Профессиональный Документы
Культура Документы
Copyright (c) Oracle Corporation 1998, 1999, 2000. All rights reserved,
worldwide.
2 G e n e r a l C o n s i d e r a t i o n s
Page 6 Thursday, March 23, 2000 9:34am
With Release 6i, providing you are not implementing new 6i-specific
functionality, you get the same benefits as when you take a patch
set. Benefits include no required regeneration of fmx files, a drop-
in installation, and QA certification. You should still schedule
patch-set-level testing, as is recommended when any patch-set is
applied. (Note that this may require upgrading to the latest
certified client and middle-tier stack.
For customers with production systems on these latest patch sets for
Release 6.0 (patch set 5 or 6) or who are waiting for fixes in the
final Release 6.0 patch set 7, it is recommended that you remain on
Release 6.0 and plan to upgrade to Release 6i in the timeframe of
the first 6i patch set.
Release 6.0 customers who (a) do not intend to take advantage of any
6i features, (b) do not have any bugs they consider serious, and (c)
do not intend to upgrade their stack in any way, are not required to
upgrade to 6i.
This path setting has to have been in effect WHEN THE MACHINE WAS
LAST BOOTED, in order for it to be "seen" by the CGI (assuming that
whatever Web Listener the user is using is being run as an NT
service, which will usually be the case).
1. The CGI's may fail to run because one or more DLLs on which they
depend, such as core40.dll, cannot be found. This occurs if the
%ORACLE_HOME%\bin directory is not present in the PATH.
Workarounds:
wdfar.gif
wvalid.gif
3 P r o j e c t B u i l d e r
No known problems.
4 F o r m B u i l d e r
(See the separate Release Notes for the Forms Developer product.)
5 R e p o r t B u i l d e r
When you install the CD contents on Windows NT, a program group item
is created called "Oracle Reports 6i Demos." This group contains
three items: Reports 6i Demo Configuration, Reports Benefits and
Features on the Web, and Reports Benefits and Features -
Client/Server (if Forms runtime is also installed on your system).
When you install the demos on Windows 95, only the client/server
demos are installed.
5.2.1 SRW.SET_XML_PROLOG
Syntax:
SRW.SET_XML_PROLOG(type, 'string');
This procedure replaces the current report's XML prolog. You need to
specify the required XML prolog (<?xml version="1.0"?>), but in
addition, you can specify the encoding and other comments.
See also: XML Prolog Type and XML Prolog Value properties.
5.2.2 SRW.SET_XML_TAG
Syntax:
SRW.SET_XML_TAG(type, 'name', 'string');
Restrictions:
SRW.SET_XML_TAG should be set in a trigger that fires before the
report starts formatting, such as the Before Report trigger.
Example:
return (TRUE);
end;
5.2.3 SRW.SET_XML_TAG_ATTR
Syntax:
SRW.SET_XML_TAG_ATTR(type, 'name', 'attribute');
You can do this for HTML with the following META tag (usually placed
within the <HEAD> and </HEAD> tags):
For XML, you can do this with the following Prolog (the first line):
Note: These settings will work for Netscape and Microsoft IE. Some
other browsers (for example, Opera) do not support dynamic
character-set switching). For more information, please see the W3C
organization's reference on this subject at
http://www.w3.org/International/.
Report developers can find out the character-set the report is being
generated under by obtaining the value of the NLS_LANG
environment variable. This is of the form
LANGUAGE_TERRITORY.CHARACTERSET. (For example:
AMERICAN_AMERICA.WE8ISO8859P1.) The last argument is the character-
set.
Please note this a list of the most common character-sets and their
Oracle equivalents, but it is by no means a definitive list.
reports_nls_lang varchar2(255);
encoding varchar2(30);
meta_tag varchar2(255);
xml_tag varchar2(255);
begin
/* This example gets the NLS_LANG setting from the environment
** and maps it to appropriate IANA character set (encoding).
** This is later used to set the XML encoding attribute and
** HTML charset attribute in the output.
*/
-- read the NLS_LANG env. variable
tool_env.getvar('NLS_LANG',reports_nls_lang);
srw.set_xml_prolog(srw.text_escape, xml_tag);
SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,
'<HTML>'||chr(10)||
meta_tag||
'<body dir=&Direction bgcolor="#ffffff">');
return (TRUE);
end;
This in turn implies that there are two subkeys under the registry
entry HKEY_LOCAL_MACHINE\Software\ORACLE\: HOME0 (corresponding to
the Reports $ORACLE_HOME), and HOME1 (corresponding to the OAS
$ORACLE_HOME). Note that these subkeys are created by the Oracle
Installer.
To work around the issue, there needs to be an entry under the OAS
$ORACLE_HOME (HOME1) that points to the reports60 directory in the
Reports $ORACLE_HOME(HOME0). To achieve this, you must manually
create an entry under the OAS $ORACLE_HOME (HOME1) with the
following properties:
Note that even with this workaround in place, there is a known issue
with OAS that prevents the commands showmap, showenv, help,
etc., from working. This is documented as bug 1046452.
cd /private/oas
mkdir reports60
cd reports60
mkdir mesg
cd mesg
cp /private/oracle/reports60/mesg/*.* .
Finally, you need to copy over several libraries from the Reports
ORACLE_HOME to the OAS ORACLE_HOME. To do this, execute the
following steps:
cd /private/oas/lib
cp /private/oracle/lib/libzrc60.* .
cp /private/oracle/lib/libca60.* .
The Adobe Acrobat Reader cannot read .PDF report files generated by
Report Builder if the report contains certain types of non-English
character set languages (typically multi-byte) or Unicode character
set. However, you could generate the Postscript from Reports
(making sure that Reports is referencing the correct fonts in the
Postscript output), and then feed the resultant Postscript file into
Adobe's Distiller program with the "Embed all fonts" option enabled.
This should result in a PDF file that has the subset fonts
embedded. Then use Acrobat to generate the Postscript with the
embedded fonts.
When using the Web Preview option to view Reports that have
bookmarks, the bookmark frame does not get refreshed. A new bookmark
frame will appear each time you view the report. You must exit and
re-start the browser to remove the extraneous frames.
TNSNAMES.ORA
------------
extproc_connection_data.world =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = EXTPROC%ORACLE_HOME_ID%)
)
(CONNECT_DATA = (SID = extproc)
)
)
SQLNET.ORA
----------
names.default_domain = world
name.default_zone = world
automatic_ipc = off
LISTENER.ORA
------------
PASSWORDS_LISTENER= (oracle)
STARTUP_WAIT_TIME_LISTENER = 0
LISTENER =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = oracle.world))
(ADDRESS = (PROTOCOL = IPC)(KEY = ORCL))
(ADDRESS = (COMMUNITY = NMP.world)(PROTOCOL = NMP)(SERVER =
YourServer)(PIPE = ORAPIPE))
(ADDRESS = (PROTOCOL = TCP)(Host = <my machine>)(Port = 1521))
(ADDRESS = (PROTOCOL = TCP)(Host = <my machine>)(Port = 1526))
(ADDRESS = (PROTOCOL = TCP)(Host = 127.0.0.1)(Port = 1521))
(ADDRESS = (PROTOCOL=IPC)(KEY=EXTPROC %ORACLE_HOME_ID%))
)
CONNECT_TIMEOUT_LISTENER = 10
SID_LIST_LISTENER =
Page 22 Thursday, March 23, 2000 9:34am
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = <my machine>)
(SID_NAME = ORCL)
)
(SID_DESC =
(SID_NAME = extproc)
(PROGRAM = extproc)
)
)
TRACE_LEVEL_LISTENER = 0
Note: The TNS listener must also be running even if the Oracle8/8i
database is installed on the same machine as Reports Developer and
you are not connecting to the database through Net8.
Workaround: None.
scott/tiger@orcl
Note: This has NOTHING to do with the DATA connect string specified
by the 'userid' parameter.
Syntax
See the Publishing Reports manual for more information on the values
associated with the clusterconfig parameter.
Succnotefile
5.28 Heavy Reports Wizard Usage on Windows 95/98 May Cause GPF
Win95 and Win98 may not be able to handle a large number of
applications if those applications use a lot of memory.
In order for the runtime customization feature to work, you must set
the following environment variables to point to the necessary jar
files.
setenv REPORTS60_CLASSPATH
$ORACLE_HOME/network/jre11/lib/rt.jar:
$ORACLE_HOME/reports60/java/myreports60.jar:
$ORACLE_HOME/reports60/java/xmlparser.jar
setenv REPORTS60_JNI_LIB
$ORACLE_HOME/network/jre11/lib/sparc/native_threads/libjava.so
5.31 HTML Parameter Forms Built Before Release 6i Need Line Added
A problem can arise in pre-R6i reports that use parameter form
validation (that is, where the parameter form will report an error).
<font color=red><!--error--></font>
Syntax: [width='size_in_characters']
You can see the font path value by typing the following at the UNIX
command prompt (on the machine pointed to by the DISPLAY environment
variable):
xset q
To put the 75 dpi fonts first in the font path, type the following
at the UNIX command prompt:
formatMask=""£"NNNGNNNGNNNGNN0D99"
To avoid this problem, when registering the report within the WebDB
framework, choose the PARAMETERS option in the Manage Component
screen and choose Save Parameters, even if the report has no user-
defined parameters. If you are using the batch registration utility
to register many reports within WebDB, then you will need to save
the parameters explicitly for each report to avoid this error.
This problem has been registered as Bug 1238387 and will be fixed
in an upcoming patch to Reports 6i. Please contact Oracle Support
Services or refer to Metalink for the latest information on this
issue.
Error: 500
Internal Servlet Error: java.lang.UnsatisfiedLinkError:
rwexec
cp $ORACLE_HOME/bin/rwsvl60.so
$ORACLE_HOME/lib/librwsvl60.so
6 G r a p h i c s B u i l d e r
Symbol Value
______ ______
DE60 %ORACLE_HOME%\TOOLS\COMMON60
GRAPHOGD60 %ORACLE_HOME%\GRAPH60\GWIZ_OGD
GRAPHICS_WEB_DIR %ORACLE_HOME%\GRAPH60\WEB_OGD
MM60 %ORACLE_HOME%\TOOLS\COMMON60
OCL60 %ORACLE_HOME%\GRAPH60
OWS_IMG_DIR %OAS_HOME%\ows\4.0\admin\img
Page 33 Thursday, March 23, 2000 9:34am
TK60 %ORACLE_HOME%\TOOLS\COMMON60
UI60 %ORACLE_HOME%\TOOLS\COMMON60
VGS60 %ORACLE_HOME%\TOOLS\COMMON60
6. The OAS listener must have a virtual path /ows-img that points
to the physical directory $ORACLE_HOME/ows/4.0/admin/img.
After you make the above changes, OAS must be restarted to pick up
the changes to the environmental variables.
7 Q u e r y B u i l d e r
No known problems.
Page 34 Thursday, March 23, 2000 9:34am
8 S c h e m a B u i l d e r
No known problems.
9 T r a n s l a t i o n B u i l d e r
No known problems.
10 P r o c e d u r e B u i l d e r
No known problems.
11 D e m o s
No known problems.
12 O p e n C l i e n t A d a p t e r
No known problems.
13 N a t i o n a l L a n g u a g e S u p p o r t
To do this, set
DEVELOPER_NLS_LANG=AMERICAN_AMERICA.<charset>
USER_NLS_LANG=< Language>_<Territory>.<charset>
Substitute < Language> with the Language you want to run your
report in.
Substitute < Territory> with the Territory you want to run your
report in.
Substitute for <charset> the Oracle character set that you
wish to use.
Page 35 Thursday, March 23, 2000 9:34am
To enable a limited use of the Euro symbol in this release, you must
do the following:
Microsoft has reserved hexcode 0x80 for the Euro symbol. To enter
the Euro symbol on keyboards without an explicit Euro key, click the
NumLock key to enable the Numeric Keypad, then click Alt + 0128.
Workaround: No workaround.
Workaround: None.
Workaround: None.
Workaround: use an ASCII version of the font. For example, use "MS
UIGothic" instead of "MS PGothic."
Workarounds:
(a) prefs.ora files for the American language are required.
They need to be copied from the installation CD.
The Cue Cards are optional. If your storage space is limited, you
may choose to not install the Cue Cards.