HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Java Zip Problems
Operating System - HP-UX
1833861
Members
2411
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 05:52 PM
11-19-2002 05:52 PM
Java Zip Problems
We are using the java.util.zip package to retrieve a large number of images from a zip file (e.g. zip all the images for a day). This works fine with zip files up to approximately 200 MB, however, with a 500 MB file we can retrieve all of the entries. Also, on Windows, we were able to access a zip file over 1 GB successfully. Has anyone noticed similar behavior on HP?
Thanks,
Shaun
Thanks,
Shaun
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 05:59 PM
11-19-2002 05:59 PM
Re: Java Zip Problems
Sorry - typo in the original post. I should have said that we cannot access all of the entries in a zip file if it is over 500 MB. A quick code snippet is below.
File file = new File(archiveFile);
ZipFile zipFile = new ZipFile(file);
ZipEntry entry = zipFile.getEntry(imageEntry);
The result on large files is a null entry on entries that occur later in the zip file.
File file = new File(archiveFile);
ZipFile zipFile = new ZipFile(file);
ZipEntry entry = zipFile.getEntry(imageEntry);
The result on large files is a null entry on entries that occur later in the zip file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 06:01 PM
11-19-2002 06:01 PM
Re: Java Zip Problems
Shaun,
""This works fine with zip files up to approximately 200 MB, however, with a 500 MB file we can retrieve all of the entries.""
are you saying that only a 200mb file works but a 500MB doesn't, and that a 1Gb file is OK, in windows?
And you are asking if HP behaves like windows?
One thing you do need for hpux, is the latest zip patches.
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 06:01 PM
11-19-2002 06:01 PM
Re: Java Zip Problems
Ah, now it's clear!
Ok, one thing with java is to make sure you are upto date in patches: java.patches(http://www.hp.com/products1/unix/java/infolibrary/patches.html)
live free or die
harry
Live Free or Die
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP