Solved

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now