简体   繁体   English

TIBCO活动HTTP启动器上的错误

[英]Error on the TIBCO activity HTTP starter

TIBCO embedes the tomcat to handle the HTTP requests in the HTTP starter activity. TIBCO嵌入了tomcat来处理HTTP启动程序活动中的HTTP请求。 This error happened while executing the send HTTP response activity with close connection option. 执行带有关闭连接选项的发送HTTP响应活动时,发生此错误。


Tomcat version 5.5.7 Tomcat版本5.5.7

 Error [BW-Core] BWENGINE-100001 null
java.lang.NullPointerException
    at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:751)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
    at org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:400)
    at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1015)
    at org.apache.coyote.Response.action(Response.java:183)
    at org.apache.coyote.Response.finish(Response.java:305)
    at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:291)
    at org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104)
    at com.tibco.plugin.share.http.wssdk.ServletTransportDriver.sendMessage(ServletTransportDriver.java:327)
    at com.tibco.plugin.share.http.wssdk.ServletTransportDriver.sendMessage(ServletTransportDriver.java:260)
    at com.tibco.bw.service.binding.bwhttp.impl.DefaultBwHttpReplyHandler.fault(DefaultBwHttpReplyHandler.java:94)
    at com.tibco.bw.service.binding.bwhttp.impl.HttpEventContext.failed(HttpEventContext.java:124)
    at com.tibco.pe.core.JobPool.removeJob(JobPool.java:1400)
    at com.tibco.pe.core.JobDispatcher$JobCourier.runx(JobDispatcher.java:252)
    at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)

I've tried a workaround which is splitting writing the response into two parts : 我尝试了一种解决方法,将响应分为两个部分:

  1. HTTP response activity for flushing the response to the client to make sure that the client have received the response data. HTTP响应活动,用于刷新对客户端的响应,以确保客户端已接收到响应数据。
  2. HTTP response activity for closing the connection. 用于关闭连接的HTTP响应活动。

I hope this could help! 希望对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM