ENTERPRISE

IBM WebSphere Process Server 7 and Enterprise Service Bus 7 : Solution administration tasks (part 2)

9/18/2012 7:03:32 PM

Troubleshooting and Problem Determination

Having deployed the Sales Fulfillment Application, how do we troubleshoot and diagnose it in case of problems? Troubleshooting is one of the critical features needed to diagnose the issues and rectify the problem with as minimum impact as possible. When troubleshooting, you should be asking these questions or items you will have to address:

  • What is causing the problem?

  • Which part of the application is it occurring in?

  • When do the problems appear?-Time of the day, certain scenarios, and so on. What are the symptoms of the problem?

  • How can I reproduce the problem?

You need tools that assist you in the troubleshooting process. WPS/WESB and WID include several tools you can use to troubleshoot your applications that you develop and deploy on the server. The admin console provides capabilities for troubleshooting. In the admin console, under the Troubleshooting navigation item, you can perform several things to troubleshoot your module(s) if anything goes wrong.

  • Logs and Trace is used to configure logging and tracing levels for the server logs. These logs can also be viewed through these pages.

  • Cross-Component Trace allows you to identify data that is captured in the trace.log. This data can include error and event information, such as corrupted data or runtime exceptions, captured during SCA processing. The input and output data passing between WPS and WESB components can also be captured and used for determining a problem using WID.

  • Configuration Problems is used to view and identify issues that may exist in the current configuration.

  • Class Loader Viewer helps you to troubleshoot issues that may occur with class loaders.

  • Runtime Messages pages show events published by the application server class including errors, warnings, and information.

The runtime messages that appear in the logs during installation consist of a four- or five-character message prefix, followed by a four- or five-character message number, which is followed by a single-letter message type code (CWWBS0000E, CWWBS0032I, CWWBS0059W, and so on).

  • C: Indicates a severe message

  • E: Indicates an urgent message

  • I: Indicates an informational message

  • N: Indicates an error message

  • W: Indicates a warning message

You can often resolve the problem by reading the entire message text and the recovery actions that are associated with the message.

First Failure Data Capture (FFDC) provides the instrumentation for exception handlers (catch blocks) to record exceptions that are thrown by a component. The captured data is saved in a logfile for use in analyzing the problem. These logfiles can be found in your WTE under:

%WID7_WTE_HOME%\runtimes\bi_v7\profiles\qwps\logs\ffdc

Administration tasks using Business Space

Business Space provides templates that help you administer solutions deployed on WPS and WESB. You can create a Solution Administration space in Business Space to manage and administer the Sales Fulfillment Application deployed on WPS and WESB. To create a new space, once you log in to the Business Space, click on the Actions | Create Space menu option on the top menu. As shown in the following screenshot, this will bring up a wizard where you can specify a name for the space and select Solution Administration from the list of available templates. You can also specify a Space style and Space icon to customize its look and feel.

Once you create this Solution Administration space, it becomes the container that allows you to browse all the modules deployed on the server through Module Browser. When you click on the module name to expand the tree view, as shown in the following screenshot, you will be able to see the following as pertinent to the module:

  • Service imports and service exports

    • Click on the view service import or export name in Module Browser to display its high-level binding endpoint details in the Module Administration widget

  • Any properties and policies defined for the module

  • Business rule groups defined

  • Processes and process instances

    • You can view the process instances by clicking on the process component name in the Module Browser widget, clicking the link to open Business Process Choreographer Explorer in a new browser window, and administering the artifact

  • Business state machines

  • Human tasks

  • Business calendars defined

  • Security roles defined

You must have the BPMAdmin or BPMRoleManager authority to assign or modify roles


  • Service control points defined

Installing versioned SCA modules

You can deploy a different version of the same SCA module into a server or cell that has a different version of the same module such that both the versions can co-exist on the server or in the cell. To be able to do this, you should make sure that the module is versioned in WID and export it for command-line deployment.

Now, next are the high-level steps to follow:
  1. Export the versioned module as an installable EAR file using serviceDeploy. For example, serviceDeploy BizServices-CustomerBillingMgmt.zip.

  2. Install the module using the admin console by performing the steps mentioned in the earlier sections.

  3. If you want to install the versioned module on multiple servers or clusters in a cell, do the following for each module instance you require:

    • Use the createVersionedSCAModule command to create an instance of the module

    createVersionedSCAModule -archiveAbsolutePath input_archive_dir -workingDirectory working_dir -uniqueCellID cell_ID
    
    
    					  
    • Install the resulting EAR file, as described in Step 2

Other  
  •  Hardware With An Expiry Date (Part 2)
  •  Hardware With An Expiry Date (Part 1)
  •  Managing SharePoint 2010 Data : Custom Field Types
  •  Managing SharePoint 2010 Data : Content Types
  •  Active Directory Domain Services 2008 : Enable a Group Policy Object Link, Enforce a Group Policy Object Link, Remove the Enforcement of a Group Policy Object Link
  •  Active Directory Domain Services 2008 : Link a Group Policy Object, Remove a Group Policy Object Link, Disable a Group Policy Object Link
  •  Microsoft Dynamics AX 2009 : Building Lookups - Creating a lookup dynamically
  •  Microsoft Dynamics AX 2009 : Building Lookups - Creating an automatic lookup
  •  Introducing Our New Zero-Point
  •  Exchange Server 2010 Administration Overview (part 3) - Using the Graphical Administration Tools, Using the Command-Line Administration Tools
  •  Exchange Server 2010 Administration Overview (part 2) - Exchange Server and Windows,Exchange Server and Active Directory
  •  Exchange Server 2010 Administration Overview (part 1) - Exchange Server 2010 and Your Hardware, Exchange Server 2010 Editions
  •  Touch Screens Are Everywhere
  •  Intel Builds Bridge to Next - Generation Macs
  •  Microsoft vs. Google vs. Apple: Who will win?
  •  Phone Business: The Age Of Convergence
  •  Microsoft Visual Basic 2008 : Services That Listen - Allowing Multiple Connections
  •  Microsoft Visual Basic 2008 : Services That Listen - Listening with TCP/IP
  •  Seagate GoFlex Satellite Wireless
  •  Toshiba MQ01ABD100 1TB Hard Drive
  •  
    Most View
    Intel Core i7-3970X Extreme Edition Processor Review (Part 1)
    Xiaomi Phone 2 - High-End Specifications In A Surprisingly Cheap Package (Part 5)
    Crestron Speakers - First-Class Performance And Excellent Reliability
    SQL Server 2005 : Advanced OLAP - Partitions, Aggregation Design, Storage Settings, and Proactive Caching
    Sony VPL-HW50ES – Sony’s Best Home Cinema Projector
    Free Website Builders Group Test: Webnode
    New Year Gift Guide 2013 (Part 2)
    MasterClass: How To Automate Your Life (Part 2)
    Multimedia: Tips and Tricks – Feb 2013 (Part 3)
    Change In Technology Services In 2013
    Top 10
    Windows Management and Maintenance : The Windows 7 Control Panel (part 11) - Region and Language, System
    Windows Management and Maintenance : The Windows 7 Control Panel (part 10) - Programs and Features
    Windows Management and Maintenance : The Windows 7 Control Panel (part 9) - Notification Area Icons, Performance Information and Tools
    Windows Management and Maintenance : The Windows 7 Control Panel (part 8) - Fonts
    Windows Management and Maintenance : The Windows 7 Control Panel (part 7) - Ease of Access Center
    Windows Management and Maintenance : The Windows 7 Control Panel (part 6) - Devices and Printers
    Windows Management and Maintenance : The Windows 7 Control Panel (part 5) - AutoPlay
    Windows Management and Maintenance : The Windows 7 Control Panel (part 4) - AutoPlay
    Windows Management and Maintenance : The Windows 7 Control Panel (part 3) - Action Center
    Windows Management and Maintenance : The Windows 7 Control Panel (part 2)