Bug 1261437 - Unable to extract update patch file on Windows
Unable to extract update patch file on Windows
Status: NEW
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: Deployment (Show other bugs)
6.1.0
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Kris Verlaenen
Lukáš Petrovický
:
Depends On: 1203726
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-09 06:29 EDT by Martin Weiler
Modified: 2016-02-23 07:22 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Weiler 2015-09-09 06:29:14 EDT
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 07:22:55 EST
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?

Note You need to log in before you can comment on or make changes to this bug.