Bug 796461

Summary: File path lengths should be minimized where possible to accomodate NTFS file path length limitations
Product: [JBoss] JBoss Operations Network Reporter: Marc Shirley <mshirley>
Component: ProductizationAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.0.0CC: loleary
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-05 16:50:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marc Shirley 2012-02-22 22:37:32 UTC
Description of problem:
When installing on a Windows NTFS system, there is a standard file path length limitation of 260 characters, which equates to 256 usable characters for the actual path (260 less 4 characters for the drive letter, colon, backslash, and a terminating null character at the end of the path).  This is documented in the "Maximum Path Length Limitation" section of the MSDN article [1] linked below.

Depending on the user's environment, they may exceed this amount by installing to a subdirectory of a drive.  For example, the below path is 242 characters, so would exceed the path length limitation when installed to a directory such as "d:\middleware\management\jboss\", which would push the path length to 273 characters.  

jon-server-3.0.0.GA/jbossas/server/default/deploy/rhq.ear.rej/coregui.war/WEB-INF/classes/org/rhq/enterprise/gui/coregui/client/inventory/groups/detail/configuration/HistoryGroupResourceConfigurationMembers$MembersTable$DataSource$Field.class


This may cause exceptions when attempting to unzip the server installation, or may cause other issues later such as an inability to open/copy/modify/rename files


[1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath


Version-Release number of selected component (if applicable):
JBoss Operations Network (JON) 3.0

Comment 2 Mike Foley 2012-03-05 16:50:04 UTC
close per triage (crouch, loleary, foley)

nothing we can do except document.

Comment 3 Mike Foley 2012-03-05 17:09:36 UTC
capturing testcase for QE in https://engineering.redhat.com/trac/jon/ticket/51

Comment 4 Larry O'Leary 2012-03-05 20:11:06 UTC
Captured documentation request as Bug 800139

Comment 5 Mike Foley 2012-03-21 17:18:59 UTC
added TCMS testcase