您的位置:首页 > 理论基础 > 计算机网络

HttpClientUtils.post不设置超时时间容易导致,请求无法返回

2017-12-22 14:43 801 查看
Thread 6957: (state = IN_NATIVE)
 - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Compiled frame; information may be imprecise)
 - java.net.SocketInputStream.socketRead(java.io.FileDescriptor, byte[], int, int, int) @bci=8, line=116 (Compiled frame)
 - java.net.SocketInputStream.read(byte[], int, int, int) @bci=117, line=171 (Compiled frame)
 - java.net.SocketInputStream.read(byte[], int, int) @bci=11, line=141 (Compiled frame)
 - java.io.BufferedInputStream.read1(byte[], int, int) @bci=39, line=284 (Compiled frame)
 - java.io.BufferedInputStream.read(byte[], int, int) @bci=49, line=345 (Compiled frame)
 - org.apache.commons.httpclient.ChunkedInputStream.read(byte[], int, int) @bci=71, line=182 (Compiled frame)
 - java.io.FilterInputStream.read(byte[], int, int) @bci=7, line=133 (Compiled frame)
 - org.apache.commons.httpclient.AutoCloseInputStream.read(byte[], int, int) @bci=14, line=108 (Compiled frame)
 - java.io.FilterInputStream.read(byte[]) @bci=5, line=107 (Compiled frame)
 - org.apache.commons.httpclient.AutoCloseInputStream.read(byte[]) @bci=11, line=127 (Compiled frame)
 - org.apache.commons.io.IOUtils.copyLarge(java.io.InputStream, java.io.OutputStream) @bci=14, line=1025 (Compiled frame)
 - org.apache.commons.io.IOUtils.copy(java.io.InputStream, java.io.OutputStream) @bci=2, line=999 (Compiled frame)
 - org.apache.commons.io.IOUtils.toByteArray(java.io.InputStream) @bci=10, line=218 (Compiled frame)
 - com.utils.HttpClientUtils.executeMethod(org.apache.commons.httpclient.HttpMethodBase, javax.servlet.http.Cookie[]) @bci=160, line=327 (Compiled frame)
 - com.utils.HttpClientUtils.post(java.lang.String, org.apache.commons.httpclient.NameValuePair[], java.lang.String, javax.servlet.http.Cookie[]) @bci=34, line=102 (Compiled frame)
 - com.utils.HttpClientUtils.post(java.lang.String, org.apache.commons.httpclient.NameValuePair[]) @bci=5, line=168 (Compiled frame)
 - com.lehu.thirdParty.jl.JLService.getPageInfo(java.lang.String, java.lang.String) @bci=62, line=424 (Compiled frame)
 - com.lehu.backend.ao.goods.impl.SyncGoodsInfoImpl.incrementalSyncGoodsInfo() @bci=826, line=464 (Compiled frame)
 - com.lehu.backend.job.IncrementalSyncGoodsStockJob.execute(com.dangdang.ddframe.job.api.ShardingContext) @bci=4, line=24 (Compiled frame)
 - com.dangdang.ddframe.job.executor.type.SimpleJobExecutor.process(com.dangdang.ddframe.job.api.ShardingContext) @bci=5, line=41 (Compiled frame)
 - com.dangdang.ddframe.job.executor.AbstractElasticJobExecutor.process(com.dangdang.ddframe.job.executor.ShardingContexts, int, com.dangdang.ddframe.job.event.type.JobExecutionEvent) @bci=45
, line=206 (Compiled frame)
 - com.dangdang.ddframe.job.executor.AbstractElasticJobExecutor.process(com.dangdang.ddframe.job.executor.ShardingContexts, com.dangdang.ddframe.job.event.type.JobExecutionEvent$ExecutionSour
ce) @bci=73, line=171 (Compiled frame)
 - com.dangdang.ddframe.job.executor.AbstractElasticJobExecutor.execute(com.dangdang.ddframe.job.executor.ShardingContexts, com.dangdang.ddframe.job.event.type.JobExecutionEvent$ExecutionSour
ce) @bci=92, line=150 (Compiled frame)
 - com.dangdang.ddframe.job.executor.AbstractElasticJobExecutor.execute() @bci=229, line=125 (Compiled frame)
 - com.dangdang.ddframe.job.lite.internal.schedule.LiteJob.execute(org.quartz.JobExecutionContext) @bci=11, line=26 (Compiled frame)
 - org.quartz.core.JobRunShell.run() @bci=271, line=202 (Compiled frame)
 - org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=62, line=573 (Compiled frame)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  HttpClientUtils