我正在使用wso2esb4.7.0。之前我使用过wso2esb4.6.0 我的问题是在wso2esb4.6.0中我们无法使用多个http传输但是在Wso2esb 4.7.0中我们可以.it工作正常但有时它的抛出错误 如果我没错,这个问题是因为传输在Esb 4.7.0版本中HTTP传输是默认的,但在wso2esb 4.6.0中使用HTTP + NIO传输 它抛出这样的错误并忽略连接如何在wso2esb4.7.0中进行HTTP + NIO传输
2013-08-14 17:10:19,801] WARN - SourceHandler Connection time out while writing the response: http-incoming-2161
[2013-08-14 17:10:19,801] WARN - SourceHandler Connection time out while writing the response: http-incoming-2171
[2013-08-14 17:10:19,802] WARN - SourceHandler Connection time out while writing the response: http-incoming-2162
[2013-08-14 17:10:19,802] WARN - SourceHandler Connection time out while writing the response: http-incoming-2178
[2013-08-14 17:10:19,802] WARN - SourceHandler Connection time out while writing the response: http-incoming-2159
[2013-08-14 17:10:19,802] WARN - SourceHandler Connection time out while writing the response: http-incoming-2173
[2013-08-14 17:10:19,803] WARN - SourceHandler Connection time out while writing the response: http-incoming-2179
[2013-08-14 17:10:19,803] WARN - SourceHandler Connection time out while writing the response: http-incoming-2174
我们如何在wso2esb4.7.0中避免这个错误,否则我将使用4.6.0是4.7.0版本中的Bug
答案 0 :(得分:0)
您可以修改axis2.xml
位置中的ESB_HOME/repository/conf/axis2
文件以启用/禁用传输。您必须在“听众”和“发件人”部分下评论/取消注释相关部分。检查this blog post启用NIO传输。