This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 34524 - DuplicateException thrown for Tomcat module on IDE startup
Summary: DuplicateException thrown for Tomcat module on IDE startup
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-22 04:58 UTC by cmw1
Modified: 2006-06-05 00:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
jar -tvf output for large tomcat40.jar (17.18 KB, text/plain)
2003-06-22 04:59 UTC, cmw1
Details
jar -tvf of small tomcat40.jar file (581 bytes, text/plain)
2003-06-22 05:00 UTC, cmw1
Details
ide.log from first run of IDE (9.15 KB, text/plain)
2003-06-22 05:04 UTC, cmw1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cmw1 2003-06-22 04:58:17 UTC
System is a PIII Win98SE machine. Previously had
JDK 1.3.1 and 1.4.1 installed with NB 3.4.1.

- Removed all java installs and NB 3.4.1.
- Installed JDK 1.4.1_03
- Two NB installations:
-- Installed NB 3.5 to c:\lang\java\nb35
-- Got a "Newer version of file exists" during
install for tomcat40-bundled.jar, chose to keep newer
-- Get the error on startup
-- Uninstalled NB, reboot
-- Installed NB 3.5 again, to c:\lang\java\netbeans35
-- Got "newer file" question during install, chose
to overwrite
-- Got the error on startup

Error fires during "Reading Module Storage"
section of IDE startup according to splash screen.
Dialog titled "Unexpected Exception" shows with
the message "An
org.netbeans.core.modules.DuplicateException
exception has occurred". After that, a warning
dialog shows with the message "File
org-netbeans-modules-web-tomcat-tomcat40.xml
already exists in default system".

Ide.log will be attached, shows error firing for
both installs. Also attached is a dump of the two
tomcat jar files.

The first file that the installer writes for
tomcat40-bundled.jar is a 3k file, and the "older"
one that it asks about is 644k.
Comment 1 cmw1 2003-06-22 04:59:47 UTC
Created attachment 10759 [details]
jar -tvf output for large tomcat40.jar
Comment 2 cmw1 2003-06-22 05:00:51 UTC
Created attachment 10760 [details]
jar -tvf of small tomcat40.jar file
Comment 3 cmw1 2003-06-22 05:04:24 UTC
Created attachment 10761 [details]
ide.log from first run of IDE
Comment 4 Milan Kuchtiak 2003-06-23 10:35:00 UTC
The first attached output (large) is from
tomcat40.jar,
while the second (small) from
tomcat40_bundled.jar
Comment 5 _ rkubacki 2003-06-25 14:46:20 UTC
I am not sure why it expand tomcat40-bundled.jar as tomcat40.jar.
Looks like problem with unpacker.