Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Extracting Xml file from ZIP

Status
Not open for further replies.

TechyRaul

Technical User
May 3, 2006
7
IN
Hi,
I am using my application undr weblogic 8.1 . Here I am creating a zip file which contains some xml files. I had problems in extracting the xml files from the zip file using Winzip.

However the same code is working fine under tomcat.

Is there any support issue with weblogic for extraction?

Thanks in Advance.
 
If the problem is with WinZip, I cannot see what has to do with WebLogic.

Cheers,
Dian
 
Thanks Diancecht

The problem is certainly not woth Winzip because the same thing is working absoluely fine under tomcat.
 
More info needed: do you have problems creating the zip file? Extracting it? It doesn't work after extracting? What errors do you get?

Cheers,
Dian
 
No, the zip file is created but when I open it with winzip, it gives the error showing error opening the file, the file may be corrupt.
 
The more info you give, the more help you receive. How is the zip being generated?

Cheers,
Dian
 
Firstly the xmls are generate using Betwixt and then for zipping those files we are using the pacakeges provided by jdk by using
java.util.zip.ZipEntry
java.util.zip.ZipFile and
java.util.zip.ZipOutputStream


 
Hi Dian... did you got anything regarding this...

 
Actually not. I can think on some ideas, but nothing definitive:

- Check that the code is actually the same
- Check the VM version on each server
- Check the classpath on each server
- Check for bugs in your server version
- Contact support if you can

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top