Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WARNING: Duplicate name in Manifest: Weblogic-Application-Version

Jan VerveckenJun 5 2012 — edited Jul 5 2012
hi

Please consider the blog post by Andrejus Baranovskis
"How to set EAR Version for ADF Application on WebLogic"
at http://andrejusb.blogspot.be/2011/12/how-to-set-ear-version-for-adf.html

It refers to the a sample application
at http://jdevsamples.googlecode.com/files/ADFVersionApp.zip

If I use JDeveloper 11.1.1.6.0 to deploy "ADFVersionApp to EAR file",
the "Messages - Log" panel in JDeveloper shows warnings like these:
Jun 5, 2012 9:38:58 AM java.util.jar
WARNING: Duplicate name in Manifest: Manifest-Version.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Jun 5, 2012 9:38:58 AM java.util.jar
WARNING: Duplicate name in Manifest: Manifest-Version.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Jun 5, 2012 9:38:58 AM java.util.jar
WARNING: Duplicate name in Manifest: Weblogic-Application-Version.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
But, it is unclear where these "duplicate entries" occur or how they (or these warnings) can be avoided.

- (q1) What should be done to "Ensure that the manifest does not have duplicate entries" to avoid such "Duplicate name in Manifest" warnings?

many thanks
Jan Vervecken
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2012
Added on Jun 5 2012
4 comments
4,511 views