IBM Support

Line 1 in MANIFEST.MF file exceeds the specification limit of 72 bytes

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:

  1. One workaround is to break any line that is longer than 72 bytes (characters) and begin the next line with a SPACE character.

  2. 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.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020

UID

swg21294495