# HTTP ERROR 404 Not Found    java.util.zip.ZipException: invalid entry size (expected 5623126 but got 5623165 bytes) while installing CData synch using java -jar sync.jar on macos

**URL:** <https://community.cdata.com/t/http-error-404-not-found-java-util-zip-zipexception-invalid-entry-size-expected-5623126-but-got-5623165-bytes-while-installing-cdata-synch-using-java-jar-sync-jar-on-macos/344>\
**Category:** CData Sync\
**Tags:** question\
**Created:** [August 18, 2023, 11:03am UTC](https://community.cdata.com/t/http-error-404-not-found-java-util-zip-zipexception-invalid-entry-size-expected-5623126-but-got-5623165-bytes-while-installing-cdata-synch-using-java-jar-sync-jar-on-macos/344 "2023-08-18T11:03:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdullah028](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@abdullah028](https://community.cdata.com/u/abdullah028)\
**Post date:** [August 18, 2023, 11:03am UTC](https://community.cdata.com/t/http-error-404-not-found-java-util-zip-zipexception-invalid-entry-size-expected-5623126-but-got-5623165-bytes-while-installing-cdata-synch-using-java-jar-sync-jar-on-macos/344/1 "2023-08-18T11:03:28Z")

</div>

INFO: Get app data directory form /Users/mac/Downloads/CDataSync /sync.properties file. null

Aug 18, 2023 3:51:40 PM cdata.sync.SyncServer a

INFO: The server log directory is /Users/mac/Downloads/CDataSync /logs/httpserver

Aug 18, 2023 3:51:40 PM b.d q

INFO: Init Jetty log with default settings.

Aug 18, 2023 3:51:40 PM b.d b

INFO: Starting server from /Users/mac/Downloads/CDataSync /sync.properties configuration.

Aug 18, 2023 3:51:40 PM d.a a

INFO: The properties deserializes success.

Aug 18, 2023 3:51:41 PM b.d c

INFO: Enabling embedded Jsp support…

Aug 18, 2023 3:51:41 PM b.d c

INFO: Successfully enabled embedded Jsp support.

2023-08-18 15:51:41.719:INFO :oejs.Server:main: jetty-10.0.14; built: 2023-02-22T23:12:32.272Z; git: 976721d0f3e903a243584d47870ad2f2c1bf9e55; jvm 17.0.8+9-LTS-211

2023-08-18 15:51:49.684:WARN :oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@7d3a22a9{/,null,STOPPED}{/Users/mac/Downloads/CDataSync /webapp/sync.war}

java.util.zip.ZipException: invalid entry size (expected 5623126 but got 5623165 bytes)

at java.base/java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:399)

at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:198)

at java.base/java.util.jar.JarInputStream.read(JarInputStream.java:194)

at org.eclipse.jetty.util.IO.copy(IO.java:166)

at org.eclipse.jetty.util.IO.copy(IO.java:116)

at org.eclipse.jetty.util.resource.JarResource.copyTo(JarResource.java:235)

at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:372)

at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:56)

at org.eclipse.jetty.webapp.Configurations.preConfigure(Configurations.java:496)

at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:509)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:531)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)

at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)

at org.eclipse.jetty.server.Server.start(Server.java:470)

at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)

at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)

at org.eclipse.jetty.server.Server.doStart(Server.java:415)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)

at b.d.b(Unknown Source)

at cdata.sync.SyncServer.main(Unknown Source)

2023-08-18 15:51:49.718:INFO :oejs.AbstractConnector:main: Started ServerConnector@4883b407{HTTP/1.1, (http/1.1)}{0.0.0.0:8181}

2023-08-18 15:51:49.827:INFO :oejs.Server:main: Started Server@2d127a61{STARTING}[10.0.14,sto=0] @10338ms

Aug 18, 2023 3:51:49 PM b.d b

INFO: Sync is now running. Please visit [http://localhost:8181](http://localhost:8181) to login.

---

<div class="post-metadata">

**Author:** ![anonymous](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@anonymous](https://community.cdata.com/u/anonymous)\
**Post date:** [September 12, 2023, 5:27pm UTC](https://community.cdata.com/t/http-error-404-not-found-java-util-zip-zipexception-invalid-entry-size-expected-5623126-but-got-5623165-bytes-while-installing-cdata-synch-using-java-jar-sync-jar-on-macos/344/2 "2023-09-12T17:27:49Z")

</div>

Hello, and thanks for reaching out to us at the CData Community!

I’m sorry to hear about the issue you’re facing with CData Sync. An issue of this nature would be best handled by our technical support team. I’d highly recommend creating a ticket within their system by reaching out to [support@cdata.com](mailto:support@cdata.com)&nbsp;with the details that you’ve included here.
