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

Bug 137542

Summary: [Functionality] File deployment fails if destination is a mapped drive and AC is run as service
Product: z_Archived Reporter: Kevin Mooney <kmooney>
Component: TPTPAssignee: Joe Toomey <jptoomey>
Status: CLOSED INVALID QA Contact:
Severity: major    
Priority: P1 CC: jptoomey, paulslau
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kevin Mooney CLA 2006-04-19 13:29:42 EDT
A consuming product cannot execute a test if the workspace is on a Windows mapped drive.  Failure seems to be in file deployment.  Sometimes error message is null, but most often the message is:  An established connection was aborted by the software in your host machine.
Comment 1 Kent D Siefkes CLA 2006-05-01 14:33:37 EDT
Left severity at normal only due to assumption that use of mapped drives for this purpose is not a common configuration, nor is this a regression.  Otherwise this would be a high severity defect with higher priority.

Scott, please re-assign as appropriate if this turns out to be platform issue.
Comment 2 Joe Toomey CLA 2006-05-15 16:03:53 EDT
May be related to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4938442

If so, we should trap this error and copy the file in smaller chunks.
Comment 3 Joe Toomey CLA 2006-07-10 10:36:00 EDT
Upgrading severity to lobby for 4.2.1
Comment 4 Joe Toomey CLA 2006-07-31 10:46:53 EDT
Discussed this with Kent and agreed to defer to 4.3
Comment 5 Joe Toomey CLA 2006-10-23 08:48:16 EDT
Per AG call on 10/20, all non-blocking/non-critical defects are to be retargeted to 4.4.
Comment 6 Paul Slauenwhite CLA 2007-01-17 09:44:02 EST
Has the priority for this defect been recently reviewed given its severity?  If not, please take a few minutes and reevaluate the priority.
Comment 7 Paul Slauenwhite CLA 2007-01-26 10:21:00 EST
Increasing the priority to P1 since including in the 4.4 plan.
Comment 8 Paul Slauenwhite CLA 2007-01-26 10:21:23 EST
Increasing the priority to P1 since including in the 4.4 plan.
Comment 9 Paul Slauenwhite CLA 2007-03-23 16:13:21 EDT
Assigning target.
Comment 10 Paul Slauenwhite CLA 2007-05-18 16:18:28 EDT
This defect is a candidate for deferral from the 4.4 release.  If the originator has opposition, please provide an argument against this deferral.
Comment 11 Paul Slauenwhite CLA 2007-05-28 15:09:24 EDT
Assigning to i4 since i3 is complete but this defect belongs to a block of in-plan 4.4 defects that are candidates for deferral.
Comment 12 Joe Toomey CLA 2007-05-29 15:22:52 EDT
I have tried reproducing this as described, and I'm not able to make it fail.  I have created a workspace on a mapped drive (z:\mappedWorkspace, which lives on a remote machine), and created a JUnit test in a new project in that workspace.  I have verified that the testsuite really lives on that mapped drive, and I artificially inflated the size of the test suite (to ~29MB) to ensure the problem wasn't file size.  Deployment and execution still work for me.

I discussed this with Kevin, and I'm closing this as WORKSFORME for now.  Kevin is going to investigate further in the consuming product, and if he concludes that the problem is in TPTP code, I'll debug TPTP within the consuming product.
Comment 13 Paul Slauenwhite CLA 2007-06-02 14:52:25 EDT
Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release.  Thanks.
Comment 14 Kevin Mooney CLA 2007-07-09 08:28:37 EDT
This problem still occurs for consuming product failing in file services.
Comment 15 Paul Slauenwhite CLA 2007-07-09 10:49:14 EDT
Joe will investigate today this issue.  Re-targetting to the next maintenance release (4.4.1).
Comment 16 Joe Toomey CLA 2007-07-12 18:03:27 EDT
Further investigation shows that this problem is specific to AC running as a service.

The root cause of this is that services are unable to access mapped drives in windows (XP and above).  Actually, that's a bit of an exaggeration.  In truth, mapped drives are managed independently in windows XP and above for each login (and with multiple concurrent logins, each user can see only his/her drive mappings and not other users' mappings.)  Since services run in a different login, they can not access drive mappings done in a user login.  A service can still access a mapped drive in XP if the mapping was created by the service login session (though this will never be the case for our users, since that means the AC would have to map the drive.)  From what I have read, this was a behavior change between Win2k (where services could access mapped drives) and XP (where they no longer are able to.)

http://msdn2.microsoft.com/en-us/library/ms685143.aspx

Closing this defect as invalid (doesn't make sense to mark as WONTFIX -- it's really more CANTFIX).  
Comment 17 Paul Slauenwhite CLA 2008-06-27 08:53:36 EDT
Closing by default since not closed by the originator in the 7+ months since being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the resolution is not correct.