Home
TeamSite
Duplicate META-INF/SUN_MICR.SF in odadapter.jar
clogan
I have OD 6.0 for Solaris 9.
I am trying to add my custom code to <odhome>/userlib/odadapter.jar and it is saying:
java.util.zip.ZipException: duplicate entry: META-INF/SUN_MICR.SF
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:163)
at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:90)
at sun.tools.jar.Main.update(Main.java:464)
at sun.tools.jar.Main.run(Main.java:167)
at sun.tools.jar.Main.main(Main.java:904)
If I open up the jar with winzip, there are actually two META-INF/SUN_MICR.SF files.
Is it ok to delete one of these files so I can update the jar?
Find more posts tagged with
Comments
Dwayne
I ran into that as well. I just made a bacup copy, and the went ahead and removed the duplicates. I haven't seen any problems so far.
--
Current project: TS 5.5.2/6.1 W2K
clogan
It is good to see I am not the only one with this problem. Thanks.
Migrateduser
Hi,
Jarring your custom jars into odadapter.jar has been found to exibit this issue.
This procedure avoids the problem:
1. unjar odadapter.jar into a working location
2. place your custom classes OR unjar your custom jar into the working location
3. re-jar the working location contents as odadapter.jar
Hope this helps.
Bill
Interwoven Engineering
Dwayne
Jarring your custom jars into odadapter.jar has been found to exibit this issue
Sorry. Wrong answer. Or, at least, a partially wrong answer.
"Jarring" (is that even a word?) your own custom jars in has nothing to do with it, other than showing the problem. The problem is that the
odadapter.jar
file that ships with OD 6 has duplicate entries in its directory.
However, you are correct in that the procedure you describe will fix it, but only because the filesystem won't allow those duplicate entries.
--
Current project: TS 5.5.2/6.1 W2K
Migrateduser
Yup, it's a bug. Filed as #56596.
Todd Scallan
Director of Product Management
Interwoven
t: 408-530-7167
e:
tscallan@interwoven.com