请问,有时候地图访问数据库,会得不到返回结果是什么问题了,一下是日记报的问题
<!--StartFragment -->
26-Jun-2017 10:32:53.325 SEVERE [catalina-exec-29] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [default] in context with path [/iserver] threw exception java.net.SocketTimeoutException at org.apache.tomcat.util.net.NioBlockingSelector.read(NioBlockingSelector.java:201) at org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:235) at org.apache.tomcat.util.net.NioSelectorPool.read(NioSelectorPool.java:216) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1212) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1163) at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:742) at org.apache.coyote.http11.Http11InputBuffer.access$400(Http11InputBuffer.java:38) at org.apache.coyote.http11.Http11InputBuffer$SocketInputBuffer.doRead(Http11InputBuffer.java:1073) at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:100) at org.apache.coyote.http11.Http11InputBuffer.doRead(Http11InputBuffer.java:303) at org.apache.coyote.Request.doRead(Request.java:511) at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:318) at org.apache.tomcat.util.buf.ByteChunk.checkEof(ByteChunk.java:397) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:338) at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:155) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2146) at org.apache.commons.io.IOUtils.copy(IOUtils.java:2102) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123) at org.apache.commons.io.IOUtils.copy(IOUtils.java:2078) at com.supermap.server.host.webapp.HttpServletRequestUtil$ReusableRequest.c(SourceFile:198) at com.supermap.server.host.webapp.HttpServletRequestUtil$ReusableRequest.b(SourceFile:137) at com.supermap.server.host.webapp.HttpServletRequestUtil$ReusableRequest.getParameter(SourceFile:149) at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handle(SourceFile:376) at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:193) at com.supermap.server.host.webapp.handlers.AbstractHandler.a(SourceFile:219) at com.supermap.server.host.webapp.handlers.AbstractHandler.invokeLowerPriorityHandlers(SourceFile:208) at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:195) at com.supermap.server.host.webapp.handlers.BasicHandler.process(SourceFile:299) at com.supermap.server.host.webapp.ApplicationFilter.doFilter(SourceFile:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
之前也遇到过类似的问题,不过后来解决了,你用这个新包试一下 <!--StartFragment -->
链接:http://pan.baidu.com/s/1i5iiFbB 密码:xx8k