ShamithaSIlva commented on issue #20:
URL:
https://github.com/apache/tomcat-jakartaee-migration/issues/20#issuecomment-844891004
> Since -zipInMemory worked as a workaround, I changed the default code path
to use commons-compression instead of the Java code. It seems to me it has good
results. Can you test the tool with the defaults again on your compressed war
that caused the issue ? Can you also check if the performance is better (or
worse) than before ?
We are no longer migrating but I'm getting this exception now:
Migration starting for archive [sm-api.war] using streaming
Migration starting for archive [WEB-INF/lib/jdbc-4.1.0.jar] using streaming
Drop cryptographic signature file [META-INF/MSFTSIG.SF]
Drop cryptographic signature file [META-INF/MSFTSIG.RSA]
Exception in thread "main" java.io.IOException: This archive contains
unclosed entries.
at
org.apache.tomcat.jakartaee.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:521)
at
org.apache.tomcat.jakartaee.commons.compress.archivers.zip.ZipArchiveOutputStream.close(ZipArchiveOutputStream.java:1046)
at
org.apache.tomcat.jakartaee.commons.compress.archivers.zip.ZipArchiveOutputStream.destroy(ZipArchiveOutputStream.java:1844)
at
org.apache.tomcat.jakartaee.commons.compress.archivers.zip.ZipArchiveOutputStream.close(ZipArchiveOutputStream.java:1049)
at
org.apache.tomcat.jakartaee.Migration.migrateArchiveStreaming(Migration.java:228)
at
org.apache.tomcat.jakartaee.Migration.migrateStream(Migration.java:283)
at
org.apache.tomcat.jakartaee.Migration.migrateArchiveStreaming(Migration.java:225)
at
org.apache.tomcat.jakartaee.Migration.migrateStream(Migration.java:283)
at
org.apache.tomcat.jakartaee.Migration.migrateFile(Migration.java:195)
at org.apache.tomcat.jakartaee.Migration.execute(Migration.java:161)
at
org.apache.tomcat.jakartaee.MigrationCLI.main(MigrationCLI.java:94)
Suppressed: java.io.IOException: This archive contains unclosed
entries.
at
org.apache.tomcat.jakartaee.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:521)
at
org.apache.tomcat.jakartaee.commons.compress.archivers.zip.ZipArchiveOutputStream.close(ZipArchiveOutputStream.java:1046)
at
org.apache.tomcat.jakartaee.Migration.migrateArchiveStreaming(Migration.java:228)
... 4 more
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]