google-code-export / hyk-proxy

Automatically exported from code.google.com/p/hyk-proxy
2 stars 0 forks source link

最新版0.9.4无法启动 #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
一直停留在 starting状态

011-07-17 14:32:37,030 ERROR 
[com.hyk.proxy.client.application.gae.rpc.HttpClientRpcChannel$HttpResponseHandl
er.notifyRpcReader(HttpClientRpcChannel.java:622)] - Can not decrypt 
datacom.hyk.rpc.core.transport.RpcChannelException: Failed to process message!
    at com.hyk.rpc.core.transport.RpcChannel.processRpcChannelData(RpcChannel.java:440)
    at com.hyk.rpc.core.transport.RpcChannel.processIncomingData(RpcChannel.java:229)
    at com.hyk.proxy.server.gae.rpc.channel.HttpServletRpcChannel.processHttpRequest(HttpServletRpcChannel.java:98)
    at com.hyk.proxy.server.gae.servlet.HttpInvokeServlet.doPost(HttpInvokeServlet.java:40)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
    at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:249)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
    at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135)
    at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:260)
    at com.google.apphosting.base.RuntimePb$EvaluationRuntime$2.handleRequest(RuntimePb.java:9673)
    at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:422)
    at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:573)
    at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:448)
    at com.google.tracing.TraceContext.runInContext(TraceContext.java:688)
    at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:326)
    at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:318)
    at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:446)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.IOException: java.io.IOException: No enought data in 
stream!10-97
    at com.hyk.serializer.impl.ArraySerializerStream.unmarshal(ArraySerializerStream.java:56)
    at com.hyk.serializer.impl.SerailizerStream.readObject(SerailizerStream.java:669)
    at com.hyk.serializer.impl.SerailizerStream$Input.readObject(SerailizerStream.java:112)
    at com.hyk.rpc.core.message.Request.readExternal(Request.java:54)
    at com.hyk.serializer.impl.ObjectSerializerStream.unmarshal(ObjectSerializerStream.java:38)
    at com.hyk.serializer.impl.SerailizerStream.readObject(SerailizerStream.java:669)
    at com.hyk.serializer.impl.SerailizerStream$Input.readObject(SerailizerStream.java:112)
    at com.hyk.rpc.core.message.Message.readExternal(Message.java:78)
    at com.hyk.serializer.impl.ObjectSerializerStream.unmarshal(ObjectSerializerStream.java:38)
    at com.hyk.serializer.impl.SerailizerStream.readObject(SerailizerStream.java:669)
    at com.hyk.serializer.impl.SerailizerStream.deserialize(SerailizerStream.java:812)
    at com.hyk.serializer.HykSerializer.deserialize(HykSerializer.java:154)
    at com.hyk.rpc.core.transport.RpcChannel.processRpcChannelData(RpcChannel.java:386)
    ... 38 more
Caused by: java.io.IOException: No enought data in stream!10-97
    at com.hyk.serializer.impl.SerailizerStream.readString(SerailizerStream.java:416)
    at com.hyk.serializer.impl.SerailizerStream.readObject(SerailizerStream.java:639)
    at com.hyk.serializer.impl.ObjectSerializerStream.unmarshal(ObjectSerializerStream.java:53)
    at com.hyk.serializer.impl.SerailizerStream.readObject(SerailizerStream.java:669)
    at com.hyk.serializer.impl.ArraySerializerStream.unmarshal(ArraySerializerStream.java:44)
    ... 50 more

Original issue reported on code.google.com by Tonyut...@gmail.com on 17 Jul 2011 at 6:37

GoogleCodeExporter commented 9 years ago
我的也连不上

Original comment by zhengbo0...@gmail.com on 17 Jul 2011 at 7:20

GoogleCodeExporter commented 9 years ago
替换一下这个文件,第一次打包的文件有误;或者重新下载
<hyk-proxy>/lib下
<hyk-proxy-gae>/war/lib下

Original comment by yinqiwen@gmail.com on 17 Jul 2011 at 8:03

Attachments:

GoogleCodeExporter commented 9 years ago
替换了以后,试了一下还是同样的问题,callstack都一样。

Original comment by Tonyut...@gmail.com on 17 Jul 2011 at 8:17

GoogleCodeExporter commented 9 years ago
另外,新的client似乎和之前版本的server不兼容,这应该是个��
�题。我的本意是应该兼容之前的版本。

Original comment by yinqiwen@gmail.com on 17 Jul 2011 at 8:17

GoogleCodeExporter commented 9 years ago
哦,我现在server端用的0.91

Original comment by Tonyut...@gmail.com on 17 Jul 2011 at 8:20

GoogleCodeExporter commented 9 years ago
重新打一下包

Original comment by yinqiwen@gmail.com on 17 Jul 2011 at 8:31

GoogleCodeExporter commented 9 years ago
server端更新了就OK了。thx

Original comment by Tonyut...@gmail.com on 17 Jul 2011 at 8:45

GoogleCodeExporter commented 9 years ago
V0.9.4.1 重新打了一次包,server兼容旧的client版本, 
client兼容旧的server版本

Original comment by yinqiwen@gmail.com on 17 Jul 2011 at 9:12