IBM Support

MustGather: Service Data Objects (SDO) problems for WebSphere Application Server

Troubleshooting


Problem

Collecting data for problems with the IBM WebSphere Application Server Service Data Objects (SDO) component. Gathering this MustGather information before calling IBM support will help you understand the problem and save time analyzing the data. SDOs use mediators. IBM WebSphere Application Server supports a number of data mediators, such as JDBC and XML.

Resolving The Problem

For more information on SDO, see Introduction to Service Data Objects.

If you have already contacted support, continue on to collect SDO MustGather data. Otherwise, click: MustGather: Read first for WebSphere Application Server.

SDO specific MustGather information

  1. What type of Mediation are you using, JDBC, EJB, XML, or other?

  2. Is this a problem in programming with the SDO APIs or with the data returned from SDO?

  3. Can you provide a code snippet of the code that is using SDO?

  4. If you are using a custom data binder with your SDO application, please provide a copy of the binding.

  5. If possible, please provide a copy of the datagraph you are using.

  6. What is your back-end data source? For example, DB2 UDB 8.2 database.

  7. Enable the following trace:
    • For a servlet:

    • a. Run genHistoryReport.bat or genHistoryReport.sh which is located in the following directory:


      install_root/profiles/profile_name/bin

      The historyreport.html file will be generated in your working directory.

      b. Log on to the administrative console.


      c. In the left panel, expand Troubleshooting.


      d. Click on Logs and Trace.


      e. In right panel, click on Logging and Tracing > server_name > Diagnostic Trace Service.


      f. Perform the following tasks in Configuration tab:
      1. Select the Enable Log property.

      2. In the Trace Output, choose File Name and type a file name.

      3. Increase the Maximum file size to 100 MB.

      4. Increase Maximum number of historical files to 10 as well.

      5. Select Basic (Compatible) Trace Output Format unless otherwise specified by support.

      g. Navigate back to Logging and Tracing > server_name > Change Log Detail Levels.


      h. In the Configuration tab under Trace Specification, enter the following line:


      *=info:com.ibm.ws.sdo.*=all
      :com.ibm.websphere.sdo.*=all
      :WAS.j2c=all
      :WAS.database=all
      :RRA=all
      :Webcontainer=all
      :HTTPChannel=all
      :GenericBNF=all

      Note: The preceding string should be entered as 1 line, with no spaces.

      i. Click Apply then OK and then Save your configuration (select Synchronize changes with Nodes option).


      j. Stop the Application Server.


      k. Clear all logs for your Application Server:
      • native_stderr
      • native_stdout
      • SystemErr
      • SystemOut

      The logs are located in the following directory:


      install_root/profiles/profile_name/logs/server_name

      If you are configured to write Application Server log files into a different location, then clear
      them accordingly.

      l. Stop the Node Agent.


      m. Clear all Application Server FFDC logs. FFDC files are located in the followign directory:


      install_root/profiles/profile_name/logs/ffdc

      If you are configured to write FFDC log files into a different location, then clear them accordingly.

      n. Start the Node Agent and WebSphere Application Server.


      o. Recreate the problem.


      p. Run the collector tool to create a JAR file of the logs, trace, and configuration.

  8. For an EJB
    Enable the following trace events
    1. Run genHistoryReport.bat or genHistoryReport.sh which is located in the following directory:


      install_root/profiles/profile_name/bin

    2. The historyreport.html file will be generated in your working directory.

    3. Log on to the administrative console.

    4. In left panel expand Troubleshooting.

    5. Click on Logs and Trace.

    6. In the right panel click on Logging and Tracing > server_name > Diagnostic Trace Service.

    7. Perform the following tasks in the Configuration tab:
      1. Select the Enable Log property.

      2. In the Trace Output, choose File Name and type a file name.

      3. Increase the Maximum file size to 100 MB.

      4. Increase Maximum number of historical files to 10 as well.

      5. Select Basic (Compatible) Trace Output Format unless otherwise specified by support.

    8. Navigate back to Logging and Tracing > server_name > Change Log Detail Levels.

    9. In the Configuration tab under Trace Specification, enter the following line:


      *=info:com.ibm.ws.sdo.*=all
      :com.ibm.websphere.sdo.*=all
      :WAS.j2c=all
      :WAS.database=all
      :RRA=all
      :EJBContainer=all

    10. Note: The preceding string should be entered as 1 line, with no spaces.

    11. Click Apply then OK and then Save your configuration (select Synchronize changes with Nodes option).

    12. Stop the Application Server.

    13. Clear all logs for your Application Server:
      • native_stderr
      • native_stdout
      • SystemErr
      • SystemOut

      The logs are located in the following directory:


      install_root/profiles/profile_name/logs/server_name

      If you are configured to write Application Server log files into a different location, then clear them accordingly.

    14. Stop the Node Agent.

    15. Clear all Application Server FFDC logs. FFDC files are located in the following directory:


      install_root/profiles/profile_name/logs/ffdc

    16. If you are configured to write FFDC log files into a different location, then clear them accordingly.

    17. Start the Node Agent and Application Server.

    18. Recreate the problem.

    19. Run the collector tool to create a JAR file of the logs, trace, and configuration.

  9. Follow instructions to send diagnostic information to IBM support.

For a listing of all technotes, downloads, and educational materials specific to the SDO component, search the WebSphere Application Server Product Support page. The IBM developerWorks site also has some helpful technical articles and tutorials.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Service Data Objects (SDO)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF012","label":"IBM i"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0.0.0;8.5.5;8.5;8.0;7.0","Edition":"Base","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21256043