Enabling Waltz and Sonata traces on the HCL Connections Server

You need to enable Waltz and Sonata on the HCL Connections WebSphere® Application Server to see logs for these applications.

About this task

Waltz provides the common Directory Services and its extension such as WPI/WCI framework for Enterprise web Applications on the Java EE platform. As a shareable common directory service component Waltz focuses on accessing directory profile data. Waltz also supports web-based applications that run on WebSphere® without having to set up an extra set of LDAP parameters. Because it automatically picks up all system-wide, directory-related settings, no additional, application-level configuration for directory profiles is needed.

Sonata provides the common HttpClient services for a RESTful backend with a set of configurable authenticators to support various SSO security tokens and cookies for secure server-to-server communication.

Both Waltz and Sonata support profile and community membership lookups in FileNet®.

Procedure

Select the Runtime tab on the Change Log Detail Levels page to enable this trace without restarting the server. Make sure Save runtime changes to configuration as well is selected to have these trace packages continue to take effect when you restart the servers.
For example:
  1. Trace Strings:
  2. Waltz: com.ibm.connections.directory.services.*=all
  3. Sonata: com.ibm.connections.httpClient.*=all
  4. WebSphere® Application Server VMM/WIM: com.ibm.websphere.wim.*=all:com.ibm.ws.wim.*=all
  5. WebSphere® Application Server SPNEGO: com.ibm.ws.security.spnego.*=all
  6. Apache commons HttpClient: org.apache.commons.httpclient.*=all
  7. WebSphere® Application Server security: com.imb.ws.security.*=all:com.ibm.ws.security.policy.*=off;
Here are examples of traces: Waltz Trace
Waltz Trace: 

Waltz Basic Usage: "com.ibm.connections.directory.services.*=all", which will track all basic Waltz 
configuration settings and transactions.

Waltz LDAP Usage: "WaltzLDAPUsage=all", which will track all LDAP transactions in between Waltz & 
LDAP server(s).

Waltz Cache for DN Entry: "WaltzDNEntryCache=all", which will track all LDAP entry to be cached and 
hit from cache upon DN of LDAP entries.

Waltz Cache for Exact ID Match: "WaltzExactIDMatchCache=all", which will track all LDAP entry to be 
cached and hit from cache upon ID of LDAP entries.

Waltz Cache for Group Membership: "WaltzGroupMembershipCache=all", which will track all group membership
(a list of groups) for a given user upon ID.

Waltz Cache for Member Expansion: "WaltzMemberExpansionCache=all", which will track all members (a list 
of users) for a given group upon ID.

Sonata Trace
Sonata Trace:

Sonata Basic Usage: "com.ibm.connections.httpClient.*=all", which will track all basic Sonata 
configuration settings and transactions.

Sonata HTTP Usage: "SonataHttpUsage=all", which will track all numbers of HTTP(S) transactions.

Sonata HTTP Header: "SonataHttpHeader=all", which will track all headers received for all HTTP(S) 
transactions.

Sonata HTTP Body: "SonataHttpBody=all", which will track all bodies received for all HTTP(S) transactions.

VMM/WIM Trace
VMM/WIM Trace: "com.ibm.websphere.wim.*=all:com.ibm.ws.wim.*=all"

Apache Commons HttpClient
Apache Commons HttpClient: "org.apache.commons.httpclient.*=all"

WebSphere® Security
WebSphere Security: "com.ibm.ws.security.*=all:com.ibm.ws.security.policy.*=off"  WebSphere SPNEGO: "com.ibm.ws.security.spnego.*=all"  IBM JDK6 JGSS API: "com.ibm.security.jgss.debug" to all, which must be set through server’s JVM custom  properties.  IBM JDK6 KRB5 API: "com.ibm.security.krb5.krb5Debug" to all, which must be set through server’s JVM  custom properties.