永洪社区

标题: 资源导入异常 [打印本页]

作者: yhdata_H8d0SAsO    时间: 2022-3-11 09:07
标题: 资源导入异常
资源导入的时候一直提示超时


作者: yhdata_H8d0SAsO    时间: 2022-3-11 09:08
错误信息如下:
[2022-03-11 09:06:41.772] |-[WARN] |-[8b216779546c4d8a993ded8cc8d076b5] |-[admin] |-[g5.io.FileSystem.close(FileSystem.java:292)] |-[ERROR: [ErrCode: 0]  java.io.IOException: 断开的管道]
org.apache.catalina.connector.ClientAbortException: java.io.IOException: 断开的管道
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:310) ~[catalina.jar:9.0.54]
        at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:273) ~[catalina.jar:9.0.54]
        at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:118) ~[catalina.jar:9.0.54]
        at java.util.zip.DeflaterOutputStream.flush(DeflaterOutputStream.java:283) ~[?:?]
        at g5.io.DataOutputStream2.flush(DataOutputStream2.java:39) ~[product.jar:?]
        at g5.io.FileSystem.close(FileSystem.java:272) [product.jar:?]
        at g5.sv.WebProc.writeHtmlStream(WebProc.java:2080) [product.jar:?]
        at g5.sv.WebProc.processWeb(WebProc.java:1573) [product.jar:?]
        at g5.sv.WebProc.service(WebProc.java:803) [product.jar:?]

作者: 永洪tech-Bella    时间: 2022-3-11 09:33
新部署的环境吗?导入的jar包大概多大呢?这个报错看着是IO方面的问题,是导入指定jar包有问题,还是任意一个都是这样呢?是否有代理?
作者: yhdata_H8d0SAsO    时间: 2022-3-11 09:50
永洪tech-Bella 发表于 2022-3-11 09:33
新部署的环境吗?导入的jar包大概多大呢?这个报错看着是IO方面的问题,是导入指定jar包有问题,还是任意一 ...

是新部署的环境,jar很小28k
作者: 永洪tech-Bella    时间: 2022-3-11 10:17
yhdata_H8d0SAsO 发表于 2022-3-11 09:50
是新部署的环境,jar很小28k

确认下excel数据集,上传excel文件呢?验证下是否是上传到服务器有问题。如果也有问题,可能需要检查下网络这块,是否有什么限制上传

作者: yhdata_H8d0SAsO    时间: 2022-3-11 12:27
永洪tech-Bella 发表于 2022-3-11 10:17
确认下excel数据集,上传excel文件呢?验证下是否是上传到服务器有问题。如果也有问题,可能需要检查下网 ...

上传excel文件都是正常的,但是进行导入资源就是不行

作者: 永洪tech-Bella    时间: 2022-3-11 13:11
yhdata_H8d0SAsO 发表于 2022-3-11 12:27
上传excel文件都是正常的,但是进行导入资源就是不行

清理一下缓存,重新导入jar包,报错后取一下bi.log吧
换一个jar包也是这个情况吗?
作者: yhdata_H8d0SAsO    时间: 2022-3-11 15:30
永洪tech-Bella 发表于 2022-3-11 13:11
清理一下缓存,重新导入jar包,报错后取一下bi.log吧
换一个jar包也是这个情况吗? ...

换一个也是这样的情况,清理缓存也不行。这个和产品有没有激活有关系吗
作者: 永洪tech-Bella    时间: 2022-3-11 15:49
yhdata_H8d0SAsO 发表于 2022-3-11 15:30
换一个也是这样的情况,清理缓存也不行。这个和产品有没有激活有关系吗 ...

激活是指什么?
按照这个取下日志看看吧,之前的那段太少了
清理一下缓存,重新导入jar包,报错后取一下bi.log吧
作者: yhdata_H8d0SAsO    时间: 2022-3-11 15:55
永洪tech-Bella 发表于 2022-3-11 15:49
激活是指什么?
按照这个取下日志看看吧,之前的那段太少了
清理一下缓存,重新导入jar包,报错后取一下b ...


[2022-03-11 15:54:43.451] |-[INFO] |-[511d9e0e14264de19be450078299e8ab] |-[SYSTEM] |-[g5.mem.AbsLink$Reporter.run0(AbsLink.java:319)] |-[OTHER:   Memory information, max jvm mem: 10240M, used jvm mem: 2667M, free jvm mem: 7572M
--GRLink Report, link count: 4, total link mem: 5120M, used link mem: 0M
--GSLink not used.
--Direct memory report, max: 10240M, used: 0M]
[2022-03-11 15:54:55.526] |-[INFO] |-[d604fc59765f448588bc4ec4df5a03d4] |-[admin] |-[g5.sv.WebProc.getDataFromInputStream(WebProc.java:1709)] |-[OTHER:   Get data from inputStream while content-type is multipart/form-data.]
[2022-03-11 15:54:55.527] |-[ERROR] |-[d604fc59765f448588bc4ec4df5a03d4] |-[admin] |-[g5.sv.deploy.req.ImportAssetReq.importJar(ImportAssetReq.java:325)] |-[ERROR: [ErrCode: 0]  importJar error.]
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer
        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:322) ~[catalina.jar:9.0.54]
        at org.apache.catalina.connector.InputBuffer.checkByteBufferEof(InputBuffer.java:600) ~[catalina.jar:9.0.54]
        at org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:330) ~[catalina.jar:9.0.54]
        at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:84) ~[catalina.jar:9.0.54]
        at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:73) ~[servlet-api.jar:4.0.FR]
        at g5.sv.FileUploader$InputStreamPro.readLine(FileUploader.java:476) ~[product.jar:?]
        at g5.sv.FileUploader$InputStreamPro.readLine(FileUploader.java:446) ~[product.jar:?]
        at g5.sv.FileUploader.readRequest(FileUploader.java:132) ~[product.jar:?]
        at g5.sv.BigFileUploader.<init>(BigFileUploader.java:55) ~[product.jar:?]
        at g5.sv.BigFileUploader.<init>(BigFileUploader.java:24) ~[product.jar:?]
        at g5.sv.deploy.req.ImportAssetReq.importJar(ImportAssetReq.java:309) [product.jar:?]
        at g5.sv.deploy.req.ImportAssetReq.processIns0(ImportAssetReq.java:78) [product.jar:?]
        at g5.sv.AjaxReq.processIns(AjaxReq.java:69) [product.jar:?]
        at g5.sv.WebProc.processWeb(WebProc.java:1563) [product.jar:?]
        at g5.sv.WebProc.service(WebProc.java:803) [product.jar:?]
        at g5.sv.ServletHelper.service(ServletHelper.java:114) [product.jar:?]
        at g5.sv.PortalServlet.service(PortalServlet.java:614) [product.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [servlet-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [catalina.jar:9.0.54]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [catalina.jar:9.0.54]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.54]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [catalina.jar:9.0.54]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [catalina.jar:9.0.54]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [catalina.jar:9.0.54]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [catalina.jar:9.0.54]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [catalina.jar:9.0.54]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [catalina.jar:9.0.54]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.54]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) [catalina.jar:9.0.54]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [catalina.jar:9.0.54]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [catalina.jar:9.0.54]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895) [tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1722) [tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.54]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.54]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.54]
        at java.lang.Thread.run(Thread.java:844) [?:?]
Caused by: java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:?]
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:?]
        at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:?]
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:382) ~[?:?]
        at org.apache.tomcat.util.net.NioChannel.read(NioChannel.java:160) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1292) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1206) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:805) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.Http11InputBuffer.access$400(Http11InputBuffer.java:42) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.Http11InputBuffer$SocketInputBuffer.doRead(Http11InputBuffer.java:1172) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:101) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.Http11InputBuffer.doRead(Http11InputBuffer.java:249) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.Request.doRead(Request.java:640) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:317) ~[catalina.jar:9.0.54]
        ... 39 more
[2022-03-11 15:54:55.531] |-[WARN] |-[d604fc59765f448588bc4ec4df5a03d4] |-[admin] |-[g5.io.FileSystem.close(FileSystem.java:292)] |-[ERROR: [ErrCode: 0]  java.io.IOException: 断开的管道]
org.apache.catalina.connector.ClientAbortException: java.io.IOException: 断开的管道
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:310) ~[catalina.jar:9.0.54]
        at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:273) ~[catalina.jar:9.0.54]
        at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:118) ~[catalina.jar:9.0.54]
        at java.util.zip.DeflaterOutputStream.flush(DeflaterOutputStream.java:283) ~[?:?]
        at g5.io.DataOutputStream2.flush(DataOutputStream2.java:39) ~[product.jar:?]
        at g5.io.FileSystem.close(FileSystem.java:272) [product.jar:?]
        at g5.sv.WebProc.writeHtmlStream(WebProc.java:2080) [product.jar:?]
        at g5.sv.WebProc.processWeb(WebProc.java:1573) [product.jar:?]
        at g5.sv.WebProc.service(WebProc.java:803) [product.jar:?]
        at g5.sv.ServletHelper.service(ServletHelper.java:114) [product.jar:?]
        at g5.sv.PortalServlet.service(PortalServlet.java:614) [product.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [servlet-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [catalina.jar:9.0.54]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [catalina.jar:9.0.54]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.54]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [catalina.jar:9.0.54]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [catalina.jar:9.0.54]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [catalina.jar:9.0.54]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [catalina.jar:9.0.54]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [catalina.jar:9.0.54]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [catalina.jar:9.0.54]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.54]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) [catalina.jar:9.0.54]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [catalina.jar:9.0.54]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [catalina.jar:9.0.54]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895) [tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1722) [tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.54]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.54]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.54]
        at java.lang.Thread.run(Thread.java:844) [?:?]
Caused by: java.io.IOException: 断开的管道
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:?]
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[?:?]
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[?:?]
        at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[?:?]
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:473) ~[?:?]
        at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:135) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1363) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:766) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.SocketWrapperBase.flushBlocking(SocketWrapperBase.java:719) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.tomcat.util.net.SocketWrapperBase.flush(SocketWrapperBase.java:709) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.flush(Http11OutputBuffer.java:573) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.filters.ChunkedOutputFilter.flush(ChunkedOutputFilter.java:157) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.Http11OutputBuffer.flush(Http11OutputBuffer.java:221) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.http11.Http11Processor.flush(Http11Processor.java:1205) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:402) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.coyote.Response.action(Response.java:209) ~[tomcat-coyote.jar:9.0.54]
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:306) ~[catalina.jar:9.0.54]
        ... 33 more
[2022-03-11 15:55:00.019] |-[INFO] |-[6e7d2101d3dc4e19bc005555b1224265] |-[SYSTEM] |-[g5.sched.provider.quartz.QuartzJobWrapper.execute(QuartzJobWrapper.java:62)] |-[OTHER:   Quartz start execute job, path:__sys_warning_jobs__/001, job:Job[__sys_warning_jobs__/001, stopped=false, con=SchedCondition[1, loop=0 0/5 * * * ? , executeTime=Fri Mar 04 17:43:32 CST 2022, endExecuteTime=null], error=null, cxt=SchedContext[365483c0], nextFireTime=1646985300000, lastFireTime=1646985000008, lastRunTime=9, isRunning=false, isToRun=false, runningStatus=false, lastModifyTS=1646985000018]]
[2022-03-11 15:55:00.023] |-[INFO] |-[27f70f3b6e5a4695a1af932be25827c4] |-[SYSTEM] |-[g5.sched.SchedulerUtil.updateStatus(SchedulerUtil.java:1149)] |-[OTHER:   Update the job status. the job path:__sys_warning_jobs__/001, status:0]
[2022-03-11 15:55:00.034] |-[INFO] |-[435eaa985ed14283aea08d3d155dbf3c] |-[SYSTEM] |-[g5.sched.impl.SchedExecutor.<init>(SchedExecutor.java:59)] |-[OTHER:   Job[__sys_warning_jobs__/001, stopped=false, con=SchedCondition[1, loop=0 0/5 * * * ? , executeTime=Fri Mar 04 17:43:32 CST 2022, endExecuteTime=null], error=null, cxt=SchedContext[365483c0], nextFireTime=1646985600000, lastFireTime=1646985000008, lastRunTime=9, isRunning=false, isToRun=true, runningStatus=true, lastModifyTS=1646985300023], the old nextfiretime:1646985300000, the quartz`s nextfiretime:2022-03-11T16:00:00.000+0800, timeout:0]

作者: yhdata_H8d0SAsO    时间: 2022-3-11 15:57
永洪tech-Bella 发表于 2022-3-11 15:49
激活是指什么?
按照这个取下日志看看吧,之前的那段太少了
清理一下缓存,重新导入jar包,报错后取一下b ...

这是我重启永洪并且清理浏览器缓存之后上传员工jar报的完整错误
作者: 永洪tech-Bella    时间: 2022-3-11 16:06
yhdata_H8d0SAsO 发表于 2022-3-11 15:57
这是我重启永洪并且清理浏览器缓存之后上传员工jar报的完整错误

好的
作者: 永洪tech-Bella    时间: 2022-3-11 16:25
yhdata_H8d0SAsO 发表于 2022-3-11 15:57
这是我重启永洪并且清理浏览器缓存之后上传员工jar报的完整错误

根据日志报错,目前判断应该是服务器方面的问题呢
可以检查下服务器是否有相关限制。或者换一台机器部署,上传jar包验证
经确认之前遇到过一样的问题,是服务方面的限制导致呢
作者: yhdata_H8d0SAsO    时间: 2022-3-14 14:51
永洪tech-Bella 发表于 2022-3-11 16:25
根据日志报错,目前判断应该是服务器方面的问题呢
可以检查下服务器是否有相关限制。或者换一台机器部署 ...

服务器也没有设置上传文件的限制呀,有具体排查服务器是否有问题的步骤吗?我们现在除了使用帆软,其他方式上传任何文件都是没问题的
作者: 永洪tech-Lerry    时间: 2022-3-15 14:02
yhdata_H8d0SAsO 发表于 2022-3-14 14:51
服务器也没有设置上传文件的限制呀,有具体排查服务器是否有问题的步骤吗?我们现在除了使用帆软,其他方 ...

也就是说您这边试过用其它方式向服务器上传jar包,都是可以正常上传的是吗
作者: humming    时间: 2022-3-15 20:21
yhdata_H8d0SAsO 发表于 2022-3-11 15:55
[2022-03-11 15:54:43.451] |- |-[511d9e0e14264de19be450078299e8ab] |-[SYSTEM] |-[g5.mem.AbsLink$Re ...

看报错是连接被重置了呢。
上传BI的地址服务器路由上会经过几台机器,有什么安全或者防火墙的设置不允许上传后缀是 .jar的文件?




欢迎光临 永洪社区 (https://club.yonghongtech.com/) Powered by Discuz! X3.4