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)
- 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)
相关文章推荐
- Apache HttpClient设置请求超时时间和返回超时时间,以及超时重试
- go http.Get请求 http.Post请求 http.PostForm请求 Client 超时设置
- 设置Apache的HttpClient请求时间超时
- HttpPost设置请求超时的2种方法:DefaultHttpClient与BasicHttpParams
- android httpget httppost 请求,超时参数的设置
- HttpClient 4.5版本设置连接超时时间
- 利用volley进行http设置请求头、超时及请求参数设置(post)
- Java爬虫(六)-- httpClient进阶:超时时间设置+cookie保存策略
- 包括post,get请求(http,https)的HttpClientUtils
- Java用org.apache.http.client的HttpClient发送Post请求 可获取返回Header
- HttpClient 4.5.2版本设置连接超时时间-CloseableHttpClient设置Timeout
- Java用org.apache.http.client的HttpClient发送Post请求 可获取返回Header
- cxf和HttpClient调用WebService,并设置超时时间
- 为ServerXMLHTTP对象的HTTP请求设置超时时间
- 关于http socket timeout 超时时间 未设置 导致线程一直在等待(线程饥饿),微信公众号开发过程遇到的。java
- 为ServerXMLHTTP对象的HTTP请求设置超时时间
- httpClient 超时时间设置(转)
- 为ServerXMLHTTP对象的HTTP请求设置超时时间
- HttpClient请求时connectionRequestTimeout 、connectionTimeout、socketTimeout三个超时时间的含义
- apache httpclient4 设置超时时间