Solved

java.util.zip.ZipException while creating the EAR file

Posted on 2004-08-13
3
2,246 Views
Last Modified: 2013-12-10
hi all,
   I encounter java.util.zip.ZipException while creating the EAR file. App server is WLS 8.1.3.0 and sdk Version is 1.4.2.04.

 the brief error message is
     exec] java.util.zip.ZipException: duplicate entry: fd2web/WEB-INF/web.xml
     [exec]     at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:163)
     [exec]     at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:90)
     [exec]     at sun.tools.jar.Main.update(Main.java:464)
     [exec]     at sun.tools.jar.Main.run(Main.java:167)
     [exec]     at sun.tools.jar.Main.main(Main.java:917)
     [exec] Result: 1

regards, eswar

0
Comment
Question by:eswaraprasadh
3 Comments
 
LVL 11

Expert Comment

by:sompol_kiatkamolchai
ID: 11791430
Try to find web.xml in the folder and sub-folder. There may be some duplicated web.xml files.
0
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 250 total points
ID: 11803136
Hi,

you do these steps to over come from this problem..

1.Import an application EAR file.
2.Export the installed applications to a J2EE EAR file.
3.Delete the application from the server, then import the J2EE EAR file.
4.Export the newly imported application.

R.K
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question