Android Question jRDC2 java.util.zip.ZipException: Not in GZIP format

schalkgreyling

Member
Licensed User
Longtime User
Hi All,

Im running jRDC2 on a windows10 VM with paralles, my server starts up successfully and connects to the mySQL db. Whenever I execute a job from b4a I get the following exception:

java.util.zip.ZipException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91)
at anywheresoftware.b4a.remotedatabase.Servlet.doGet(Servlet.java:75)
at anywheresoftware.b4a.remotedatabase.Servlet.doPost(Servlet.java:52)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Thread.java:745)

Has anyone encountered this before?

Using:
jRDC2
httputils2 v2.01
randomaccessfile v2.20

MYSQL:
innodb_version5.7.13
protocol_version10
slave_type_conversions
tls_versionTLSv1,TLSv1.1
version5.7.13-log
version_commentMySQL Community Server (GPL)
version_compile_machinex86_64
version_compile_osWin64

Any feedback appreciated
 

Jan Kanon PA7X

Member
Licensed User
Longtime User
Hi All,

I also have this problem. What I did to ipgrade to jRDC2 for B4A usage was :

1. Replaced the ReqManager.bas with the latest version (And see that HandleJobAsync was in there)
2. Changed my code to Async call.
3. Compiled the B4A source with no errors
4. Started RDC (which supposedly should be replaced by jRDC2) Actually RDC is working fine with Apps not using HandleJobAsync
5. I tried to find the jRDC2.jar but could not find it, is there a compile needed from jRDC2.b4j, how I do this, I am not using B4J)
6. Till now I do not get the clue whats ment with 'older version' and running SDK As in the previous comment in this thread which
probably also can solve my problem


Thanks for attention
 
Upvote 0

schalkgreyling

Member
Licensed User
Longtime User
Upvote 0
Top