Bug 1261437

Summary: Unable to extract update patch file on Windows
Product: [Retired] JBoss BPMS Platform 6 Reporter: Martin Weiler <mweiler>
Component: DeploymentAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:09:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1203726    
Bug Blocks:    

Description Martin Weiler 2015-09-09 10:29:14 UTC
Description of problem:
Trying to open jboss-bpmsuite-6.1.2-patch.zip on Windows with built in zip utility fails:

Windows cannot open the folder


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Download jboss-bpmsuite-6.1.2-patch.zip to a Windows machine
2. Try to extract it using Windows Explorer
3.

Actual results:
Extracting fails


Expected results:
Extracting works as expected

Additional info:
This is due to the file name limit of 260 characters in Windows. The patch archive, however, contains files which exceed this limit:

$ unzip -l jboss-bpmsuite-6.1.2-patch.zip |awk -F' ' '{print $4}'|wc -L
323

Example of such a long path:
jboss-bpmsuite-6.1.2-patch/updates/wls12c/new-content/business-central.war/WEB-INF/classes/org/jboss/errai/marshalling/server/impl/ServerMarshallingFactoryImpl$Marshaller_for_org_drools_workbench_models_guided_dtree_shared_model_parser_messages_AmbiguousRootParserMessageImpl.class

This problem is showing up with the zip distributions of the platform as well, see related BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1203726

Workaround:
- Use 3rd party tools (eg. 7zip) to extract the zip file
- Use java's jar command to extract the zip file:
jar.exe -xvf jboss-bpmsuite-6.1.2-patch.zip

Comment 3 Ryan Zhang 2016-02-23 12:22:55 UTC
This is the same/similar issue to https://bugzilla.redhat.com/show_bug.cgi?id=1203726#c9

Looking at the comments in https://bugzilla.redhat.com/show_bug.cgi?id=1203726#c11
Could we mark this as fixed?