?
Solved

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

Posted on 2004-08-13
3
Medium Priority
?
2,267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 750 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

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

Question has a verified solution.

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

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
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.…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

765 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