现在我们服务器,是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。就是这里除了问题。请问大家遇到没有