现在我们服务器,是tongweb,现在通过tongeasy中间件连接接口。总是连接不上,报的错误是:2009.08.25 19:34:18: Console output,INFO: com.tongweb.servlet.ServletIOException: 管道断开 (errno:32)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.ServletIOException.rethrow(ServletIOException.java:47)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.connectionMethods.http.HttpInputStream.read(HttpInputStream.java:259)
2009.08.25 19:34:18: Console output,INFO: at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
2009.08.25 19:34:18: Console output,INFO: at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
2009.08.25 19:34:18: Console output,INFO: at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.modules.server.Http10.doRead(Http10.java:162)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.modules.server.HttpRequest.doRead(HttpRequest.java:164)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.Request.readBody(Request.java:1068)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.Request.handlePostParameters(Request.java:505)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.facade.HttpServletRequestFacade.getParameterNames(HttpServletRequestFacade.java:384)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webrun.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:280)
2009.08.25 19:34:18: Console output,INFO: at info_main_66._jspService(info_main_66:55)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webrun.runtime.HttpJspBase.service(HttpJspBase.java:97)
2009.08.25 19:34:18: Console output,INFO: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.facade.ServletHandler.doService(ServletHandler.java:532)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.Handler.invoke(Handler.java:322)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.Handler.service(Handler.java:235)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.facade.ServletHandler.service(ServletHandler.java:464)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:95)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:185)
2009.08.25 19:34:18: Console output,INFO: at java.security.AccessController.doPrivileged(Native Method)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:181)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain.wrappedDoFilter(ApplicationFilterChain.java:160)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ContextManager.internalService(ContextManager.java:959)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ContextManager.service(ContextManager.java:837)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.startup.TabascoAdapter.service(TabascoAdapter.java:299)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.servletManager.ServletManager.service(ServletManager.java:805)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.connectionMethods.http.HttpHandler.doARequest(HttpHandler.java:280)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.connectionMethods.http.HttpHandler.processRequests(HttpHandler.java:300)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.connectionMethods.http.HttpHandler.run(HttpHandler.java:76)
2009.08.25 19:34:18: Console output,INFO: at java.lang.Thread.run(Thread.java:595)
方法: flag = te.PKTIS_XA;
res = te.TE_tpbegin(flag, iTTimeOut, id);
res =te.TE_SetBranchMsg(flag,48,id);//12.16日新加,设置事务分支信息
if (res < 0) {
System.out.println("TE_tpbegin Fail res====" + res);
te.TE_tpterm(id);
return "22222";
}
调用的时候,res返回值小于0。就是这里除了问题。请问大家遇到没有
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.ServletIOException.rethrow(ServletIOException.java:47)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.connectionMethods.http.HttpInputStream.read(HttpInputStream.java:259)
2009.08.25 19:34:18: Console output,INFO: at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
2009.08.25 19:34:18: Console output,INFO: at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
2009.08.25 19:34:18: Console output,INFO: at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.modules.server.Http10.doRead(Http10.java:162)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.modules.server.HttpRequest.doRead(HttpRequest.java:164)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.Request.readBody(Request.java:1068)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.Request.handlePostParameters(Request.java:505)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.facade.HttpServletRequestFacade.getParameterNames(HttpServletRequestFacade.java:384)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webrun.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:280)
2009.08.25 19:34:18: Console output,INFO: at info_main_66._jspService(info_main_66:55)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webrun.runtime.HttpJspBase.service(HttpJspBase.java:97)
2009.08.25 19:34:18: Console output,INFO: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.facade.ServletHandler.doService(ServletHandler.java:532)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.Handler.invoke(Handler.java:322)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.Handler.service(Handler.java:235)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.facade.ServletHandler.service(ServletHandler.java:464)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:95)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:185)
2009.08.25 19:34:18: Console output,INFO: at java.security.AccessController.doPrivileged(Native Method)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:181)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ApplicationFilterChain.wrappedDoFilter(ApplicationFilterChain.java:160)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ContextManager.internalService(ContextManager.java:959)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.core.ContextManager.service(ContextManager.java:837)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.webbase.startup.TabascoAdapter.service(TabascoAdapter.java:299)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.servletManager.ServletManager.service(ServletManager.java:805)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.connectionMethods.http.HttpHandler.doARequest(HttpHandler.java:280)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.connectionMethods.http.HttpHandler.processRequests(HttpHandler.java:300)
2009.08.25 19:34:18: Console output,INFO: at com.tongweb.servlet.connectionMethods.http.HttpHandler.run(HttpHandler.java:76)
2009.08.25 19:34:18: Console output,INFO: at java.lang.Thread.run(Thread.java:595)
方法: flag = te.PKTIS_XA;
res = te.TE_tpbegin(flag, iTTimeOut, id);
res =te.TE_SetBranchMsg(flag,48,id);//12.16日新加,设置事务分支信息
if (res < 0) {
System.out.println("TE_tpbegin Fail res====" + res);
te.TE_tpterm(id);
return "22222";
}
调用的时候,res返回值小于0。就是这里除了问题。请问大家遇到没有
解决方案 »
- pushlet comet 服务器推技术
- 新手求助!Eclipse中连接sqlserver2000数据库,用maven管理包,出现如下错误
- ubuntu下配置maven和hudson
- 在对象数组作为参数传递前,若不先实例化对象数组,有没有方法?
- 数据库联动机制
- log的问题,请高手帮忙!!!!
- 浏览器提示:不支持嵌入式框架,或被配置为不显示嵌入式框架,请问怎么显示呀?
- proxool抛出异常? Couldn't load property file Proxool.properties
- 懂xml的进来看一下!!
- 推荐:近百篇hibernate、spring、struts开发资料
- hibernate的简单问题
- 散分问题 回答的都有分
什么服务器,看来真的见识短浅啊该多关注新东西了