关于hession web service的问题

2013-03-23 00:07:45[com.meritit.sjcj.business.AuditMgr]-[ERROR]根据审计服务查找添加和更新的数据出现问题.com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


java.lang.Exception: com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


at com.meritit.sjcj.hessianServlet.InitJob.getQueryReturn(InitJob.java:62)
at com.meritit.sjcj.business.AuditMgr.getQueryReturn(AuditMgr.java:5824)
at com.meritit.sjcj.business.AuditMgr.zlSynch(AuditMgr.java:5745)
at com.meritit.sjcj.hessianServlet.QuartsServiceImp.incSynchro(QuartsServiceImp.java:345)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:155)
at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:391)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.meritit.dymis.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:87)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:213)
at $Proxy61.getQueryDataReturn(Unknown Source)
at com.meritit.sjcj.hessianServlet.InitJob.getQueryReturn(InitJob.java:57)
... 24 more

Caused by: com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:191)
... 26 more

2013-03-23 00:07:45[com.meritit.sjcj.business.AuditMgr]-[ERROR]审计服务增量同步的时候出现错误,请联系系统管理员!com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


com.meritit.sjcj.exception.SjcjException: com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


at com.meritit.sjcj.business.AuditMgr.getQueryReturn(AuditMgr.java:5827)
at com.meritit.sjcj.business.AuditMgr.zlSynch(AuditMgr.java:5745)
at com.meritit.sjcj.hessianServlet.QuartsServiceImp.incSynchro(QuartsServiceImp.java:345)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:155)
at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:391)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.meritit.dymis.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:87)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Caused by: java.lang.Exception: com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


at com.meritit.sjcj.hessianServlet.InitJob.getQueryReturn(InitJob.java:62)
at com.meritit.sjcj.business.AuditMgr.getQueryReturn(AuditMgr.java:5824)
... 23 more

Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:213)
at $Proxy61.getQueryDataReturn(Unknown Source)
at com.meritit.sjcj.hessianServlet.InitJob.getQueryReturn(InitJob.java:57)
... 24 more

Caused by: com.caucho.hessian.io.HessianProtocolException: 500: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">


Error 500--Internal Server Error





Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:191)
... 26 more

以上是bug日志,求高手帮助分析下该问题。

2个回答

500错误 即服务器端出问题了 估计是getQueryReturn有问题 可以try-catch看看具体错误

at com.meritit.sjcj.hessianServlet.InitJob.getQueryReturn(InitJob.java:62)
at com.meritit.sjcj.business.AuditMgr.getQueryReturn(AuditMgr.java:5824)

wbpipi
wbpipi 跟服务端的系统联系过了,也通过其他系统进行过测试,无法确保是服务端的异常。不过分给你了。
接近 7 年之前 回复

先看一下这里
[code="java"]
com.meritit.sjcj.hessianServlet.InitJob.getQueryReturn(InitJob.java:62)
[/code]
看看InitJob类第62行代码返回的对象是什么?或者直接对返回的对象使用序列化api,看看是否能够序列化。

wbpipi
wbpipi 跟服务端的系统联系过了,也通过其他系统进行过测试,无法确保是服务端的异常。
接近 7 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问