Bug 174778 - [dstore] REXEC Launcher from New Connection Wizard is not accepted
Summary: [dstore] REXEC Launcher from New Connection Wizard is not accepted
Status: CLOSED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 175142 179363
Blocks: 181162 175101
  Show dependency tree
 
Reported: 2007-02-20 09:45 EST by Martin Oberhuber CLA
Modified: 2008-08-13 13:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-02-20 09:45:39 EST
Create a new connection of type Linux, on 2nd wizard page select Server Launcher = Rexec and enter appropriate properties.
Press Next, Next, Finish.
Expand the files subsystem to connect.

Observe "Cannot connect to daemon: Connection refused on port 4035".

--> Rexec settings have not been persisted from the New Connection Wizard.

Workaround: Select the files subsystem, choose Properties, and specify the
Rexec server launcher there. Now it works correctly.

-----------Enter bugs above this line-----------
TM 2.0M5 Testing
installation : eclipse-SDK-3.3M5 (I20070209-1006), cdt-4.0M5, emf-2.3M5
RSE install  : RSE-SDK I20070219-1645 + discovery + efs
java.runtime : Sun 1.4.2_13
os.name:     : Windows XP 5.1, Service Pack 1
------------------------------------------------
systemtype   : Unix-ssh / Linux-dstore-processes
targetos     : Red Hat Enterprise Linux WS release 4 (Nahant Update 3)
targetuname  : Linux parser.takefive.co.at 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 athlon i386 GNU/Linux
targetvm     : Sun Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
------------------------------------------------
Comment 1 David McKnight CLA 2007-02-20 11:10:55 EST
This works for me.  Could this have been related the the new connection problems that have now been fixed?
Comment 2 Martin Oberhuber CLA 2007-02-22 05:56:03 EST
Reproduced the issue again with I20070221-1831 on Windows.
The problem is, that the wizard pages don't exchange data about the Launcher:

* New Connection, Type = Linux, enter hostname, Next
* Select dstore.files, Launcher, switch to Rexec, enter a server-path
* Press Next
* Select dstore.processes, Launcher
  --> Note that the Launcher is "Daemon" again

It would be good to get this done for M5 if the fix involves no risk.
If it seems risky, better wait for M6.
Comment 3 Martin Oberhuber CLA 2007-02-22 13:01:19 EST
On further investigation, it works OK for me when I enter the launcher in the first page only and press Finish early enough. It looks like this is related to bug 175142 and the problem is, that the Service page for the org.eclipse.rse.subsystems.processes.shell.linux subsystem is somehow broken.
Comment 4 Martin Oberhuber CLA 2007-04-05 06:10:24 EDT
With the fix for bug 179363 the original problem is fixed, since any modification of standard settings has priority over unchanged settings: thus, if REXEC Launcher is specified on one of the pages, it will be accepted.

It is still nonintuitive, though, that when REXEC launcher is selected on the first wizard page, the second wizard page still shows the Daemon launcher. This is being tracked in bug 181162 now.
Comment 5 Martin Oberhuber CLA 2007-04-05 06:33:23 EDT
Verified with I20070405-0600. Closing.
Comment 6 Martin Oberhuber CLA 2008-08-13 13:17:31 EDT
[target cleanup] 2.0 M6 was the original target milestone for this bug