Oracle8 Enterprise Edition Getting Started Release 8.0.6 for Windows NT A69518-01 |
|
This chapter describes Windows NT-specific issues for using Oracle8 ConText Cartridge.
Specific topics discussed are:
Oracle8 ConText Cartridge servers can be started using one of two methods:
To help Oracle8 ConText Cartridge servers survive Windows NT console log off, use the Oracle8 ConText Cartridge control utility CTXCTL80.EXE to start, stop, and view the Oracle8 ConText Cartridge servers running on the Windows NT server/workstation.
The Oracle8 ConText Cartridge control utility interacts with a Windows NT service. This service manages the various Oracle8 ConText Cartridge server processes on that Windows NT server/workstation. The service is called OracleHOME_NAMEConTextService80 and must be started prior to using the Oracle8 ConText Cartridge control utility.
The Oracle8 ConText Cartridge control utility cannot list or stop Oracle8 ConText Cartridge servers started directly by executing CTXSRV80.EXE. It can only manage Oracle8 ConText Cartridge servers through the OracleHOME_NAMEConTextService80 Windows NT service.
To start Oracle8 ConText Cartridge servers using the control utility:
C:\> CTXCTL80
COMMAND> START 1 [DML | DDL | LOAD | LING | QUERY]
To start Oracle8 ConText Cartridge servers from the MS-DOS command prompt:
C:\> START CTXSRV80 -USER CTXSYS/PASSWORD@CONNECT_STRING -PERSONALITY list
where:
External filters extend the filtering capabilities of Oracle8 ConText Cartridge. Oracle8 ConText Cartridge Supplied External Filters are provided as a part of Oracle8 ConText Cartridge. These supplied external filters are installed and used on the server.
The steps to using Oracle8 ConText Cartridge Supplied External Filters are:
You can use the supplied external filters to filter documents manually. See "Using Oracle8 ConText Cartridge Supplied External Filters for Manual Filtering" for more information.
You can also define your own external filters. See "Creating User-Defined External Filters" for more information.
The following Oracle8 ConText Cartridge Supplied External Filters are provided with Oracle8 ConText Cartridge for Windows NT. These filters can be used for filtering documents in many of the popular desktop publishing and word processing formats. The executables for the filters do not provide ConText with the required arguments, so ConText also provides scripts that act as wrappers for the executables.
The supplied external filters and their wrappers are installed automatically when you install Oracle8 ConText Cartridge. If your text file format is not listed in this table, then you need to provide your own external filter and wrapper.
Note: If you have upgraded from a release prior to release 2.3 of ConText, you may have existing external filters supplied by ConText. These external filters are no longer current and need to be replaced by the external filters supplied in this release. You may also need to change your existing wrappers accordingly or use the wrappers provided by ConText in this release. See "Step 2: Modify Release 2.0 Supplied External Filters and Wrappers (Optional)". |
The numbers in the Format ID column are used to create filter preferences for mixed-format columns that require external filters. A format ID is not provided for the following formats, because Oracle8 ConText Cartridge does not support mixed-format columns for these document formats:
However, the Oracle8 ConText Cartridge Supplied External Filters for these formats can be used for single-format columns that contain any one of these formats.
If you have upgraded from release 2.0 of Oracle8 ConText Cartridge, already have wrappers for the supplied external filters provided in release 2.0, already have preferences that call the wrappers, and want to use the new wrappers provided in this release, then do one of the following tasks:
If you do not perform one of these tasks, then you must drop your indexes, policies, and preferences and create new preferences, policies, and indexes.
If you are using the beta PDF filter that was provided for Windows NT in ConText release 2.0 and want to use the new production PDF filter, drop any ConText indexes that you created with the beta PDF filter, as well as the policies and preferences that called the filter. Create new policies and preferences that use the new filter, and create new ConText indexes using those policies.
To specify one or more of the supplied external filters for a column, you first create a Filter preference in which you specify the wrapper for each of the filters to be used, then you create a policy that calls the Filter preference.
You can create filter preferences for:
For single format columns, create a Filter preference that uses the COMMAND attribute (USER FILTER Tile) to specify the wrapper that invokes the filter executable for the format used in your column. The following example illustrates a script which calls PL/SQL packages that create a Filter preference for a column that contains documents only in AmiPro format:
BEGIN CTX_DDL.SET_ATTRIBUTE('COMMAND','AMIPRO.BAT'); CTX_DDL.CREATE_PREFERENCE('AMIPRO_FILT', 'AMIPRO FILTER', 'USER FILTER'); END;
For mixed-format columns, create a Filter preference that sets the EXECUTABLE attribute (BLASTER Tile) once for each of the wrappers that invoke the formats you want to use in your column. The following example illustrates a script which calls PL/SQL packages that create a Filter preference for a column that contains documents in AmiPro, Adobe Acrobat, and WordPerfect 6.0 formats:
BEGIN CTX_DDL.SET_ATTRIBUTE('EXECUTABLE',19,'AMIPRO.BAT', 1); CTX_DDL.SET_ATTRIBUTE('EXECUTABLE',57,'ACROBAT.BAT', 2); CTX_DDL.CREATE_PREFERENCE('MULT_FILT', 'MULTIPLE FILTERS', 'BLASTER'); END;
In this example, you do not have to specify the filter executable for WordPerfect 6.0, because Oracle8 ConText Cartridge provides an internal filter for WordPerfect 6.0. By default, when the Filter preference for a column uses the EXECUTABLE attribute (BLASTER Tile), Oracle8 ConText Cartridge uses internal filters for all supported formats for which an external filter is not explicitly specified.
You can use the supplied external filters to manually filter your documents (files) before storing them in the database.
To use the manual filtering method:
C:\
ORACLE_HOME\BIN> W049B16D TEST.DOC /N /T=OUTPUT.TXT
In the preceding example, a Microsoft Word 6 or 7 document named TEST.DOC is filtered using the W049B16D.EXE filter executable. The filtered output is stored in OUTPUT.TXT.
For a Portable Document Format (PDF) file, the syntax is different. For example:
C:\ORACLE_HOME\BIN> ACRONT TEST.PDF OUTPUT.TXT
Be sure to specify a Filter preference that uses either the ASCII internal filter or no filter.
See Chapter 7 and Chapter 9 of the Oracle8 ConText Cartridge Administrator's Guide for more information on policies.
Additional Information:
If you define your own external filters:
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|