Click Search once you have set the fields, as desired.

16-22 Oracle Fusion Middleware Security and Administrators Guide for Web Services cannot be found; it either does not exist or its path is not included in the application classpath. Feb 16, 2009 5:29:56 PM oracle.wsm.common.logging.WsmMessageLogger logSevere SEVERE: Keystore is not properly configured in jps config. Feb 16, 2009 5:29:56 PM oracle.wsm.common.logging.WsmLogUtil log SEVERE: failure in OWSM Agent processRequest, category=security, function=agent.function.client, application=default, composite=pe3test3, modelObj=Service1, + policy=null, policyVersion=null, assertionName=null oracle.wsm.common.sdk.WSMException: WSM-00101 : The specified Keystore file scratchsbollapastage131user_projectsdomainssai131_ domainconfigfmwconfigdefault-keystore.jks cannot be found; it either does not exist or its path is not included in the application classpath. ... Sample Log: Certificate Not Available The following sample log excerpt indicates that an Oracle WSM security policy with message protection was applied that required a security certificate that was not available in the keystore. To resolve this security fault, configure the keystore with a certificate, as described in Obtaining a Trusted Certificate and Importing it into the Keystore on page 10-15. [2009-04-15T04:07:02.821-07:00] [jrfServer] [ERROR] [WSM-000062] [oracle.wsm.resources.security] [tid: [ACTIVE].ExecuteThread: 0 for queue: weblogic.kernel.Default self-tuning] [userId: anonymous] [ecid: 0000I2dTFG7DScT6uBe9UH19tRyv000000,0:1] [WEBSERVICE_PORT.name: NonCAAsCAMessageProtectionPolicyPort] [APP: jaxwsservices] [J2EE_MODULE.name: NonCAAsCAMessageProtectionPolicy] [WEBSERVICE.name: NonCAAsCAMessageProtectionPolicyService] [J2EE_APP.name: jaxwsservices] [arg: oracle.wsm.security.SecurityException: WSM-00062 : The path to the certificate used for the signature is invalid.] [2009-04-15T04:07:02.810-07:00] [jrfServer] [NOTIFICATION] [] [oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor] [tid: [ACTIVE].ExecuteThread: 0 for queue: weblogic.kernel.Default self-tuning] [userId: anonymous] [ecid: 0000I2dTFG7DScT6uBe9UH19tRyv000000,0:1] [WEBSERVICE_PORT.name: NonCAAsCAMessageProtectionPolicyPort] [APP: jaxwsservices] [J2EE_MODULE.name: NonCAAsCAMessageProtectionPolicy] [WEBSERVICE.name: NonCAAsCAMessageProtectionPolicyService] [J2EE_APP.name: jaxwsservices] Certificate path validation failed for signing certificate [2009-04-15T04:07:02.821-07:00] [jrfServer] [ERROR] [WSM-00006] [oracle.wsm.resources.security] [tid: [ACTIVE].ExecuteThread: 0 for queue: weblogic.kernel.Default self-tuning] [userId: anonymous] [ecid: 0000I2dTFG7DScT6uBe9UH19tRyv000000,0:1] [WEBSERVICE_PORT.name: NonCAAsCAMessageProtectionPolicyPort] [APP: jaxwsservices] [J2EE_MODULE.name: NonCAAsCAMessageProtectionPolicy] [WEBSERVICE.name: NonCAAsCAMessageProtectionPolicyService] [J2EE_APP.name: jaxwsservices] [arg: oracle.wsm.security.SecurityException: WSM-00062 : The path to the certificate used for the signature is invalid.] Error in receiving the request: oracle.wsm.security.SecurityException: WSM-00062 : The path to the certificate used for the signature is invalid. Diagnosing Problems 16-23 Configuring Log Files for a Web Service To further organize your logging data, you can configure the log files for a Web service. You can configure log files for SOA, ADF, and Web Center services. The following table defines the default log files that are relevant to Oracle WSM. The following procedure describes how to set the log level for diagnostic logs at the WebLogic Server and Web service endpoint levels. For more information about using Fusion Middleware Control or WLST to set the log levels, see Setting the Level of Information Written to Log Files in Oracle Fusion Middleware Administrators Guide. To configure the log files for a Web service: 1. Navigate to the WebLogic Server for which you want to configure a logger.

a. In the navigator pane, expand WebLogic Domain.

b. Expand the domain. c. Select the desired server from the list. The WebLogic Server home page is displayed.

2. From the WebLogic Sever menu, select Logs Log Configuration.

The Log Configuration page is displayed.

3. Select the Log Files tab.

The current list of log files is displayed, as shown in Figure 16–8 . The Log Configuration page shows the currently configured log path, file format, and rotation policy. Table 16–2 Default Log Files for Oracle WSM Default Log File Description odl-handler Logs general diagnostic data for the Java EE components in the server. owsm-message-handler Logs SOAP messages as per Oracle WSM logging policies. 16-24 Oracle Fusion Middleware Security and Administrators Guide for Web Services Figure 16–8 Current Log Files

4. If you wish to edit the log policy configuration, select the log file in the list and

click Edit Configuration . . .. The Edit Log File page is displayed. Figure 16–9 Edit Log File Page

5. Edit the log file information, as required.

Diagnosing Problems 16-25

6. Click OK to edit the log file configuration.

Table 16–3 Fields in Edit Log File Page Field Description Log Path Path to the log file. This field is required. Log File Format Format of the log file. Valid values are text or XML. Log Level Default log level for the logger. Select a log level from the list. Valid values include: ■ INCIDENT_ERROR:1 SEVERE+100 ■ ERROR:1 SEVERE ■ WARNING:1 WARNING ■ NOTIFICATION:1 INFO ■ NOTIFICATION:16 CONFIG ■ TRACE:1 FINE ■ TRACE:16 FINER ■ TRACE:32 FINEST Use Default Attributes Flag that specifies whether to use default attributes for the logger. Supplemental Attributes Supplemental attributes required. Loggers to Associate Components to associate with the logger. Rotation Policy Specify whether you wish to rotate log files based on file size of length of time. For more information, see Configuring Log File Rotation in Oracle Fusion Middleware Administrators Guide. If Size Based is selected as the rotational policy, Maximum Log Files Size is a required field. If Time Based is selected as the rotational policy, Frequency is a required field. 16-26 Oracle Fusion Middleware Security and Administrators Guide for Web Services