Configuring Search Crawlers Using WLST

Managing Oracle SES Search in WebCenter 21-63 Service excluded that is, Oracle SES search is not enabled for Documents, Discussions, and Announcements looks similar to the following: req=Search userName=vicki totalSearchTime=1133ms userQuery=0712 -wc_serviceId:oracle.webcenter.doclib -wc_serviceId:oracle.webcenter.collab.forum -wc_serviceId:oracle.webcenter.collab.announcement

21.7.1.3 WebCenter Crawl Configuration

Use Fusion Middleware Control or WLST to confirm that Oracle SES search is enabled in WebCenter, as described in Section 21.6.1, Setting Up WebCenter for Oracle SES Search.

21.7.1.4 Oracle SES Configuration

1. Confirm that you have installed all required patches for Oracle SES. For the latest information on required patches, see Back-End Requirements for the Search Service in Oracle Fusion Middleware Installation Guide for Oracle WebCenter and the Release Notes. 2. Confirm that Oracle SES is configured with an identity management system to validate and authenticate users. Also confirm that WebCenter and Oracle SES use the same identity management system, such as Oracle Internet Directory. All repositories you are using such as WebCenter Spaces, Oracle Content Server, and Oracle WebCenter Discussions must share the same user base as Oracle SES. Additionally, each Oracle SES instance must have a trusted entity for allowing WebCenter end users to be securely propagated at search time. For more information, see Section 21.3.2, Oracle SES - Configuration. To test the Oracle SES is connection with a federated trusted entity user, see Section 21.4.5, Testing Oracle SES Connections.

21.7.1.5 User Authentication

Confirm that the user exists that is, confirm that the user can log on in WebCenter identity plug-ins, Oracle SES, and all configured data repositories, such as Oracle Content Server and Oracle WebCenter Discussions. An Oracle SES proxy login error in the WebCenter diagnostic log looks similar to the following: Received status failed during proxy login with application entity weblogic to Oracle SES at [http:host:portsearchqueryOracleSearch], as search user vicki. Defaulting to public.

21.7.1.6 Oracle SES Crawling

Confirm that Oracle SES crawled successfully in all sources. 1. In the Oracle SES administration tool, go to the Home - Schedules tab. Click the Log File icon to display the log file for the source. To obtain the location of the full log, click the Status link. The Crawler Progress Summary and Log Files by Source section displays the full path to the log file. 2. If Oracle SES fails to log in to the Oracle Content Server crawl endpoint due to an authentication error, then the following errors are logged: EQP-60303: Exiting saxthread due to errors EQP-80330: Unrecognized QName 21-64 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter http:schemas.xmlsoap.orgsoapenvelope:Envelope oracle.search.sdk.crawler.PluginException 3. For the Oracle WebCenter source, verify if the rsscrawl servlet is unavailable. For example: FATAL main EQP-80309: Exception while opening a stream to the URI: https:example.com:portrsscrawl?command=GetControl 4. For the Oracle Content Server source, verify if the password is invalid. For example: XML error 5. Monitor the crawl process in the Oracle SES administration tool with a combination of the following: a. Check the crawler progress and status on the Home - Schedules page. Click Refresh Status. From the Status page, you can view statistics of the crawl. b. Monitor your crawler statistics on the Home - Schedules - Crawler Progress Summary page and the Home - Statistics page. c. Monitor your search statistics on the Home - General page and the Home - Statistics page. See Oracle Secure Enterprise Search Administrators Guide for tips to tune crawl performance. 6. Additionally, examine snapshots and datafeeds on the Oracle Content Server instance, and examine the Oracle WebCenter Discussions database.

21.7.1.7 Oracle SES Authorization

1. In the Oracle SES administration tool, go to the Home - Sources tab.

2. Click the Edit icon for the source to see source configuration tabs.

3. Click the Authorization tab to confirm the authorization connection string, user

name, password, and authorization user ID format. 4. Examine the Oracle SES log file described in a previous step. Look for phrases including the URL value. For example: ORA-01017: invalid usernamepassword error For detailed information on the Oracle SES administration tool, see the Oracle SES documentation included with the product. This is listed in the WebCenter product area on the Oracle Fusion Middleware documentation library.

21.7.2 Search Failure Errors

Problem The following search failure messages may appear inconsistently after a search: Search failure: time out error Search failure: problem preparing search executor Search failure: problem with execution Managing Oracle SES Search in WebCenter 21-65 Solution Wait a moment, and try the search again. These messages appear when the service times out, which largely depends on the system load. If the time out error persists, adjust the executionTimeout parameter in the setSearchConfig command. For command syntax and examples, see the section, setSearchConfig in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

21.7.3 Cannot Grant View Permissions to WebCenter

Problem You get the following error when granting view permissions, as described in Section 21.6.1, Setting Up WebCenter for Oracle SES Search. Command FAILED, Reason: javax.naming.directory.AttributeInUseException: [LDAP: e rror code 20 - uniquemember attribute has duplicate value.]; remaining name orc lguid=F0CC506017B711DFBFFED9EA6A94EAEC,cn=Permissions,cn=JAAS Policy,cn=webcente r,cn=wc_domain,cn=JPSContext,cn=jpsroot_webcenter_dadvmc0057 Solution This error appears if the permission is granted. Ignore the error.

21.7.4 Restricting Oracle SES Results by Source Group or Source Type

Problem You want to restrict search results by source group or source type. Solution In the Oracle SES admin tool, navigate to the Home - Sources - Customize Federated Source - Search Restrictions page to set search restrictions. Alternatively, use filters, where each filter is a restriction on search result. For detailed information about using Oracle SES, see the Oracle SES documentation on the Oracle Fusion Middleware documentation library in the WebCenter product area.