Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332076

Summary: Automatic Resource Manager Startup on Launch
Product: [Tools] PTP Reporter: Greg Watson <g.watson>
Component: RMAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0.4   
Target Milestone: 5.0.4   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Bug Depends on:    
Bug Blocks: 330156    
Attachments:
Description Flags
he uploaded file is a gzipped tar file. none

Description Greg Watson CLA 2010-12-07 14:50:38 EST
If I try to launch a Parallel Application Run Configuration that is tied to a Resource Manager that is not running PTP reports that the "Specified resource manager not found or is not available".

It would be more helpful (and much easier for a beginner) if I got a message along the following lines:
"The Resource Manager for <configuration name> is currently stopped. Do you want to start it? [Yes|No]\n [checkbox] Perform this action automatically in the future.", which is the way such things are usually handled in eclipse.

Steps to reproduce:

Issue 1:
1. Create a Parallel Application Configuration
2. Turn off the resource manager
3. Lauch the Parallel Application Configuration
Comment 1 Greg Watson CLA 2010-12-07 14:51:37 EST
330156 depends on this bug
Comment 2 Greg Watson CLA 2010-12-07 14:51:56 EST
reopen
Comment 3 Greg Watson CLA 2011-10-19 11:14:44 EDT
I've added this functionality to ptp_5_0 and HEAD. Please test.
Comment 4 Ginger CLA 2011-10-25 12:37:42 EDT
Created attachment 205933 [details]
he uploaded file is a gzipped tar file.

The uploaded file is a gzipped tar file containing a text Readme file, and the three modified files that are in their proper directories.

Readme.txt contains my thought process, ideas, and solution.  Don't fret, it's short. 

Hopefully, this solution will be acceptable.

Ginger
Comment 5 Greg Watson CLA 2011-10-26 15:35:35 EDT
Hi Ginger, thanks for the patch. Have you tried the latest version from CVS? I implemented a dialog and preference that allows the RM to be automatically started if required.

One thing I forgot to mention is that you should assign the bug to yourself if you're planning to work on it. That way we don't have two people working on the same thing. Sorry about that!