HPCCommunity.org
 
Register

Go Back   HPC Community - High Performance Computing (HPC) Community > Symphony Developer Edition (DE) > Symphony DE Articles and Helpful Tips > Development and Debugging Tips

Development and Debugging Tips Share development and debugging tips for Symphony DE.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 11th, 2008, 07:13 AM
Ajith's Avatar
Symphony DE Moderator
 
Join Date: February 28th, 2008
Location: Markham, Ontario
Posts: 95
Blog Entries: 2
Default Running IBM (Rational) Purify on a Symphony DE Service Binary

Scenario

You are debugging the service part of your application. You have IBM Purify installed on your Windows system and would like to instrument and run your service in Purify.

Steps

1. Instrument your service using the command
purify /Replace=yes /Run=no MyService.exe

2. Run symphony in a foreground process. Enter the following command from the command line.
soamservice -unregister

To re-enable Symphony DE to run in background service mode, use the following command. Don't enter the following command until you are finished with IBM Purify.
soamservice -register

3. Start Symphony DE from the tray icon or enter the command
soamstartup

4. Modify your application profile to pre-start your Symphony service and ensure that only one instance of the service is running. This assumes you have a one host cluster setup.

Edit your application profile and change the following line

Code:
        <Consumer applicationName="SampleAppCPP" consumerId="/SampleAppCPP"
              taskHighWaterMark="1.0" taskLowWaterMark="1.0"
              preStartApplication="false" numOfPreloadedServices="1"/>
to

Code:
        <Consumer applicationName="SampleAppCPP" consumerId="/SampleAppCPP"
              taskHighWaterMark="1.0" taskLowWaterMark="1.0"
              preStartApplication="true" numOfPreloadedServices="1"/>
Reregister your application
soamreg myAppProfile.xml

4. Run your application's client
The IBM Purify window should appear. Don't forget to modify your PATH variable to search the Purify cache directory.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.0 Release Candidate 1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.