Troubleshooting
Problem
This technote explain why the error "IWAE0016E Line 1 in the MANIFEST.MF file in archive {jarfile} exceeds the specification limit of 72 bytes" appears in the Problems view after migrating your code from Rational Application Developer for WebSphere Software v6 to Rational Software Development Platform (SDP) v7.
Cause
SDP v7 uses JDK 1.5. The JDK 1.5 specification limits the length of a line in the manifest file to 72 bytes in length.
http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Manifest%20Specification
Any characters beyond the 72 character limit should be continued on a new line that starts with a SPACE character.
Rational Application Developer v6 uses JDK 1.4. The JDK 1.4 specification for manifest file line length also says that no line in the manifest file can be greater than 72 bytes
The validation used SDP v7 is much more thorough than that used in Rational Application Developer v6. This explains why the problem was not reported in Rational Application Developer v6.
Resolving The Problem
WORKAROUNDS:
- One workaround is to break any line that is longer than 72 bytes (characters) and begin the next line with a SPACE character.
- Another workaround is to configure the filters in the problems view (select the down triangle in the problems view and choose "Configure Filters") to ignore this particular error. You must then select Window > Preferences > Server > WebSphere and "Allow applications containing errors to be published on a server". Since all other errors will be reported in the problems view you will always be aware of any errors before publishing.
Was this topic helpful?
Document Information
Modified date:
10 September 2020
UID
swg21294495