Solved

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

Posted on 2004-08-13
3
2,241 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 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