Solved

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

  • 18 August 2023
  • 1 reply
  • 56 views

Badge

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 to login.   

icon

Best answer by Alex 12 September 2023, 19:27

View original

1 reply

Userlevel 3
Badge

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 with the details that you’ve included here.

Reply