D
David Zwerlin
PLEASE HELP RESOLVE THIS BUG...
We have a Java Notes agent in a Domino application which automatically
creates reports in Zip format and sends them to several users on a daily
basis. The Lotus Notes R5/R6/R7 View action button in the Attachment
property box does not work for Zip files created using Java. My users
are becoming frustrated! This issue seems to a pending bug for the last
7 years. Does anyone from IBM or any Java developers have an answer to
this issue ?
FYI
Notes viewer - Java Zip issue posted in year 2000:
http://groups.google.com/group/comp...gst&q=lotus+notes+java+zip+view&rnum=1&hl=en#
__________________________________________________
Newsgroups: comp.lang.java.programmer
From: "rjb" <[email protected]>
Date: 2000/05/23
Subject: java.util.zip Problem?? Help
Reply to author | Forward | Print | Individual message | Show original |
Report this message | Find messages by this author
We have a servlet that creates a report and attaches it as a .ZIP file
attachment. The problem seems to be that the format of the .ZIP file is not
quite right. We can open this with most programs for .ZIP files, but the
following fails:
When a user receives the attachment in Lotus Notes4.6.x, and chooses the
View Attachment option, the system returns the following error message:-
The file is corrupt.
Is there some deviation from the .ZIP file standard by Sun. I have tried
this using both JDK1.1.7 on Linux, and JDK1.2.2 on Win9X/NT and Linux - both
result in the same problem. If I create a file using WinZip or PKZIP, Lotus
Notes does not have a problem with the file at all.
Any suggestions?
_______________________________________________________
REPLY 1:
Newsgroups: comp.lang.java.programmer
From: (e-mail address removed) (Peter van der Linden)
Date: 2000/05/23
Subject: Re: java.util.zip Problem?? Help
Reply to author | Forward | Print | Individual message | Show original |
Report this message | Find messages by this author
The zip format used in Java is intended to be absolutely the
standard zip format.
Can you use a binary dump program to see where the difference is?
Can you use that to try to boil it down into the simplest example that
fails? Also check for bugs at the JDC site (address in Java FAQ).
Please report back what you find, this looks interesting.
The Java FAQ is at
http://www.afu.com
_______________________________________________________
REPLY 2:
Newsgroups: comp.lang.java.programmer
From: "rjb" <[email protected]>
Date: 2000/05/25
Subject: Re: java.util.zip Problem?? Help
Reply to author | Forward | Print | Individual message | Show original |
Report this message | Find messages by this author
I have zipped a sinlge 2KB file using both methods, and there is a
difference. However, even using the basic no frills options in all other
programs, I cannot put my finger on the reason for this.
FYI -
Zipped with Zip under Linux - Lotus Notes recognises
Zipped with PKZip under Dos - Lotus Notes recognises
Zipped with WinZip7.0 - Lotus Notes recognises
Zipped with WinZip8.0 - Lotus Notes recognises
Zipped with java.util.zip - Lotus Notes says it is corrupt, but I can open
with WinZip et al.
Now, if I was a betting man, I'd have my money on Sun either doing something
funny. Will check the JDC.
regards
_______________________________________________________
REPLY 3:
Newsgroups: comp.lang.java.programmer
From: Marco Schmidt <[email protected]>
Date: 2000/05/26
Subject: Re: java.util.zip Problem?? Help
Reply to author | Forward | Print | Individual message | Show original |
Report this message | Find messages by this author
Maybe you can make that ZIP archive created from your Java app
available for download via HTTP?! I would take a look at it.
There usually is a small difference in ZIP archives created by
different programs (or with different compression ratio settings).
Regards,
Marco
We have a Java Notes agent in a Domino application which automatically
creates reports in Zip format and sends them to several users on a daily
basis. The Lotus Notes R5/R6/R7 View action button in the Attachment
property box does not work for Zip files created using Java. My users
are becoming frustrated! This issue seems to a pending bug for the last
7 years. Does anyone from IBM or any Java developers have an answer to
this issue ?
FYI
Notes viewer - Java Zip issue posted in year 2000:
http://groups.google.com/group/comp...gst&q=lotus+notes+java+zip+view&rnum=1&hl=en#
__________________________________________________
Newsgroups: comp.lang.java.programmer
From: "rjb" <[email protected]>
Date: 2000/05/23
Subject: java.util.zip Problem?? Help
Reply to author | Forward | Print | Individual message | Show original |
Report this message | Find messages by this author
We have a servlet that creates a report and attaches it as a .ZIP file
attachment. The problem seems to be that the format of the .ZIP file is not
quite right. We can open this with most programs for .ZIP files, but the
following fails:
When a user receives the attachment in Lotus Notes4.6.x, and chooses the
View Attachment option, the system returns the following error message:-
The file is corrupt.
Is there some deviation from the .ZIP file standard by Sun. I have tried
this using both JDK1.1.7 on Linux, and JDK1.2.2 on Win9X/NT and Linux - both
result in the same problem. If I create a file using WinZip or PKZIP, Lotus
Notes does not have a problem with the file at all.
Any suggestions?
_______________________________________________________
REPLY 1:
Newsgroups: comp.lang.java.programmer
From: (e-mail address removed) (Peter van der Linden)
Date: 2000/05/23
Subject: Re: java.util.zip Problem?? Help
Reply to author | Forward | Print | Individual message | Show original |
Report this message | Find messages by this author
rjb said:>When a user receives the attachment in Lotus Notes4.6.x, and chooses the
>View Attachment option, the system returns the following error message:-
>The file is corrupt.
>Is there some deviation from the .ZIP file standard by Sun.
The zip format used in Java is intended to be absolutely the
standard zip format.
Can you use a binary dump program to see where the difference is?
Can you use that to try to boil it down into the simplest example that
fails? Also check for bugs at the JDC site (address in Java FAQ).
Please report back what you find, this looks interesting.
The Java FAQ is at
http://www.afu.com
_______________________________________________________
REPLY 2:
Newsgroups: comp.lang.java.programmer
From: "rjb" <[email protected]>
Date: 2000/05/25
Subject: Re: java.util.zip Problem?? Help
Reply to author | Forward | Print | Individual message | Show original |
Report this message | Find messages by this author
I have zipped a sinlge 2KB file using both methods, and there is a
difference. However, even using the basic no frills options in all other
programs, I cannot put my finger on the reason for this.
FYI -
Zipped with Zip under Linux - Lotus Notes recognises
Zipped with PKZip under Dos - Lotus Notes recognises
Zipped with WinZip7.0 - Lotus Notes recognises
Zipped with WinZip8.0 - Lotus Notes recognises
Zipped with java.util.zip - Lotus Notes says it is corrupt, but I can open
with WinZip et al.
Now, if I was a betting man, I'd have my money on Sun either doing something
funny. Will check the JDC.
regards
_______________________________________________________
REPLY 3:
Newsgroups: comp.lang.java.programmer
From: Marco Schmidt <[email protected]>
Date: 2000/05/26
Subject: Re: java.util.zip Problem?? Help
Reply to author | Forward | Print | Individual message | Show original |
Report this message | Find messages by this author
>I have zipped a sinlge 2KB file using both methods, and there is a
>difference. However, even using the basic no frills options in all other
>programs, I cannot put my finger on the reason for this.
Maybe you can make that ZIP archive created from your Java app
available for download via HTTP?! I would take a look at it.
There usually is a small difference in ZIP archives created by
different programs (or with different compression ratio settings).
Regards,
Marco