Solved

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

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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