옥타비우스
92
2019-07-12 17:19:27 작성 2019-07-13 02:23:38 수정됨
0
61

전자정부프레임워크 jfile 로 파일 업로드시 에러가 나오는데 머가 문제인지 잘모르겠습니다.


개발 서버 : apache,tomcat 입니다.

운영 서버 : apache,jboss 입니다.

/solomondj/jfile/processUpload.do 이쪽으로 던져줄때 임시파일이  일정 용량(20MB)이 넘어가면  생성이 안되고 널포인트가 뜹니다.(업로드 파일이 20MB보다 작을때는 업로드가 이상없이 작동합니다.)

일단 가능한 상황은 임시 폴더 용량문제,메모리문제,업로드 최대 파일 문제등으로 해결을 할려고 하였으나 실패했습니다.

jboss 메모리 설정으로 -Xms512m -Xmx1024m -XX:MaxPermSize=256m를 -Xms512m -Xmx1024m -XX:MaxPermSize=1024m 로 변경 하였고

jboss 임시 폴더 용량문제인지에 대해서 확인하였습니다만 20GB정도 남았습니다. 

최대 업로드 파일 문제일수도있어서 확인해보았으나 https://offbyone.tistory.com/345 이런식으로 설정은 되있습니다.


일단 에러내용은 이렇습니다.


16:58:29,748 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 1 18

16:58:29,748 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 1003 18

16:58:29,749 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) DispatcherServlet with name 'action' processing POST request for [/solomondj/jfile/readFileId.do]

16:58:29,749 DEBUG [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] (ajp-/10.188.80.236:8709-33) Matching patterns for request [/jfile/readFileId.do] are [/jfile/*.*, /jfile/*]

16:58:29,749 DEBUG [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] (ajp-/10.188.80.236:8709-33) URI Template variables for request [/jfile/readFileId.do] are {}

16:58:29,750 DEBUG [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] (ajp-/10.188.80.236:8709-33) Mapping [/jfile/readFileId.do] to HandlerExecutionChain with handler [egovframework.com.jfile.web.JFileController@c385fa9] and 1 interceptor

16:58:29,750 DEBUG [org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver] (ajp-/10.188.80.236:8709-33) Returning handler method name 'readFileId' for lookup path: /jfile/readFileId.do

16:58:29,750 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 90 18

16:58:29,751 DEBUG [org.springframework.web.bind.annotation.support.HandlerMethodInvoker] (ajp-/10.188.80.236:8709-33) Invoking request handler method: public org.springframework.web.servlet.ModelAndView egovframework.com.jfile.web.JFileController.readFileId(egovframework.com.jfile.service.impl.JFileVO,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String[])

16:58:29,751 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] (ajp-/10.188.80.236:8709-33) Creating new transaction with name [egovframework.com.jfile.service.impl.JFileServiceImpl.getFileId]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,-Exception

16:58:29,753 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] (ajp-/10.188.80.236:8709-33) Acquired Connection [scouter.xtra.jdbc.DetectConnection@472c835a] for JDBC transaction

16:58:29,753 DEBUG [org.mybatis.spring.SqlSessionUtils] (ajp-/10.188.80.236:8709-33) Creating a new SqlSession

16:58:29,753 DEBUG [org.mybatis.spring.SqlSessionUtils] (ajp-/10.188.80.236:8709-33) Registering transaction synchronization for SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3b63ae37]

16:58:29,753 DEBUG [org.mybatis.spring.transaction.SpringManagedTransaction] (ajp-/10.188.80.236:8709-33) JDBC Connection [scouter.xtra.jdbc.DetectConnection@472c835a] will be managed by Spring

16:58:29,754 DEBUG [jFile.updateAttachFileDeleteYnByFileId] (ajp-/10.188.80.236:8709-33) ooo Using Connection [scouter.xtra.jdbc.DetectConnection@472c835a]

16:58:29,754 DEBUG [jFile.updateAttachFileDeleteYnByFileId] (ajp-/10.188.80.236:8709-33) ==>  Preparing: UPDATE T_ATTACH_FILE SET DELETE_YN = ? WHERE FILE_ID = ?

16:58:29,754 DEBUG [jFile.updateAttachFileDeleteYnByFileId] (ajp-/10.188.80.236:8709-33) ==> Parameters: N(String), 16be4e4dd3a11(String)

16:58:29,755 DEBUG [org.mybatis.spring.SqlSessionUtils] (ajp-/10.188.80.236:8709-33) Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3b63ae37]

16:58:29,755 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] (ajp-/10.188.80.236:8709-33) Initiating transaction commit

16:58:29,755 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] (ajp-/10.188.80.236:8709-33) Committing JDBC transaction on Connection [scouter.xtra.jdbc.DetectConnection@472c835a]

16:58:29,759 DEBUG [org.mybatis.spring.SqlSessionUtils] (ajp-/10.188.80.236:8709-33) Transaction synchronization committing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3b63ae37]

16:58:29,759 DEBUG [org.mybatis.spring.SqlSessionUtils] (ajp-/10.188.80.236:8709-33) Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3b63ae37]

16:58:29,759 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] (ajp-/10.188.80.236:8709-33) Releasing JDBC Connection [scouter.xtra.jdbc.DetectConnection@472c835a] after transaction

16:58:29,759 DEBUG [org.springframework.jdbc.datasource.DataSourceUtils] (ajp-/10.188.80.236:8709-33) Returning JDBC Connection to DataSource

16:58:29,759 DEBUG [egovframework.com.jfile.session.SessionUploadChecker] (ajp-/10.188.80.236:8709-33)


================== session upload check ==================

 jsessionid_fileId : dEkJcmSTL8mcR208IV0v8awy.dj12

==========================================================


16:58:29,760 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ajp-/10.188.80.236:8709-33) Returning cached instance of singleton bean 'jsonView'

16:58:29,760 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) Rendering view [egovframework.com.jfile.view.JSonView: name 'jsonView'] in DispatcherServlet with name 'action'

16:58:29,760 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) Successfully completed request

16:58:29,796 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 1 18

16:58:29,796 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 1002 18

16:58:29,797 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) DispatcherServlet with name 'action' processing POST request for [/solomondj/jfile/processUpload.do]

16:58:29,797 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 2 18

16:58:29,797 DEBUG [org.springframework.web.servlet.handler.SimpleMappingExceptionResolver] (ajp-/10.188.80.236:8709-33) Resolving exception from handler [null]: org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadException

16:58:29,797 DEBUG [org.springframework.web.servlet.handler.SimpleMappingExceptionResolver] (ajp-/10.188.80.236:8709-33) Resolving to default view 'common/error' for exception of type [org.springframework.web.multipart.MultipartException]

16:58:29,797 DEBUG [org.springframework.web.servlet.handler.SimpleMappingExceptionResolver] (ajp-/10.188.80.236:8709-33) Exposing Exception as model attribute 'exception'

16:58:29,797 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) Handler execution resulted in exception - forwarding to resolved error view: ModelAndView: reference to view with name 'common/error'; model is {exception=org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadException}: org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadException

        at org.springframework.web.multipart.commons.CommonsMultipartResolver.parseRequest(CommonsMultipartResolver.java:165) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.multipart.commons.CommonsMultipartResolver.resolveMultipart(CommonsMultipartResolver.java:142) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:1067) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:906) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]

        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) [sitemesh-2.4.2.jar:]

        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) [sitemesh-2.4.2.jar:]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:91)

        at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:72)

        at org.jboss.as.web.security.SubjectInfoSetupValve.invoke(SubjectInfoSetupValve.java:34) [jboss-as-web-7.5.19.Final-redhat-2.jar:7.5.19.Final-redhat-2]

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.19.Final-redhat-2.jar:7.5.19.Final-redhat-2]

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:490) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:422) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at java.lang.Thread.run(Thread.java:748) [rt.jar:1.7.0_161]

Caused by: org.apache.commons.fileupload.FileUploadException

        at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:385) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.springframework.web.multipart.commons.CommonsMultipartResolver.parseRequest(CommonsMultipartResolver.java:158) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        ... 33 more

Caused by: ClientAbortException:  java.io.IOException: JBWEB002011: Socket read failed

        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:371) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:422) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:393) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:976) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:886) [commons-fileupload-1.2.2.jar:1.2.2]

        at java.io.InputStream.read(InputStream.java:101) [rt.jar:1.7.0_161]

        at org.apache.commons.fileupload.util.Streams.copy(Streams.java:96) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.MultipartStream.readBodyData(MultipartStream.java:592) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.MultipartStream.discardBodyData(MultipartStream.java:618) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.MultipartStream.skipPreamble(MultipartStream.java:637) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.findNextItem(FileUploadBase.java:984) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:965) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351) [commons-fileupload-1.2.2.jar:1.2.2]

        ... 35 more

Caused by: java.io.IOException: JBWEB002011: Socket read failed

        at org.apache.coyote.ajp.AjpProcessor.read(AjpProcessor.java:1130) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:1208) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.receive(AjpProcessor.java:1147) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.refillReadBuffer(AjpProcessor.java:1188) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.access$000(AjpProcessor.java:65) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor$SocketInputBuffer.doRead(AjpProcessor.java:1277) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.Request.doRead(Request.java:438) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:361) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        ... 50 more


16:58:29,799 DEBUG [org.springframework.web.servlet.view.BeanNameViewResolver] (ajp-/10.188.80.236:8709-33) No matching bean found for view name 'common/error'

16:58:29,799 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) Rendering view [org.springframework.web.servlet.view.JstlView: name 'common/error'; URL [/WEB-INF/jsp/egovframework/common/error.jsp]] in DispatcherServlet with name 'action'

16:58:29,799 DEBUG [org.springframework.web.servlet.view.JstlView] (ajp-/10.188.80.236:8709-33) Added model object 'exception' of type [org.springframework.web.multipart.MultipartException] to request in view with name 'common/error'

16:58:29,799 DEBUG [org.springframework.web.servlet.view.JstlView] (ajp-/10.188.80.236:8709-33) Forwarding to resource [/WEB-INF/jsp/egovframework/common/error.jsp] in InternalResourceView 'common/error'

16:58:29,799 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/solomondj].[jsp]] (ajp-/10.188.80.236:8709-33)  Disabling the response for futher output

16:58:29,799 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/solomondj].[jsp]] (ajp-/10.188.80.236:8709-33)  The Response is vehiculed using a wrapper: com.opensymphony.sitemesh.webapp.ContentBufferingResponse

16:58:29,800 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) Successfully completed request

16:58:29,871 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 1 18

16:58:29,871 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 1002 18

16:58:29,872 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) DispatcherServlet with name 'action' processing POST request for [/solomondj/jfile/processUpload.do]

16:58:29,872 DEBUG [org.apache.coyote.ajp.AjpMessage] (ajp-/10.188.80.236:8709-33) Received 2 18

16:58:29,872 DEBUG [org.springframework.web.servlet.handler.SimpleMappingExceptionResolver] (ajp-/10.188.80.236:8709-33) Resolving exception from handler [null]: org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadException

16:58:29,872 DEBUG [org.springframework.web.servlet.handler.SimpleMappingExceptionResolver] (ajp-/10.188.80.236:8709-33) Resolving to default view 'common/error' for exception of type [org.springframework.web.multipart.MultipartException]

16:58:29,872 DEBUG [org.springframework.web.servlet.handler.SimpleMappingExceptionResolver] (ajp-/10.188.80.236:8709-33) Exposing Exception as model attribute 'exception'

16:58:29,872 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) Handler execution resulted in exception - forwarding to resolved error view: ModelAndView: reference to view with name 'common/error'; model is {exception=org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadException}: org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadException

        at org.springframework.web.multipart.commons.CommonsMultipartResolver.parseRequest(CommonsMultipartResolver.java:165) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.multipart.commons.CommonsMultipartResolver.resolveMultipart(CommonsMultipartResolver.java:142) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:1067) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:906) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]

        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) [spring-webmvc-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) [sitemesh-2.4.2.jar:]

        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) [sitemesh-2.4.2.jar:]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:91)

        at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:72)

        at org.jboss.as.web.security.SubjectInfoSetupValve.invoke(SubjectInfoSetupValve.java:34) [jboss-as-web-7.5.19.Final-redhat-2.jar:7.5.19.Final-redhat-2]

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.19.Final-redhat-2.jar:7.5.19.Final-redhat-2]

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:490) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:422) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at java.lang.Thread.run(Thread.java:748) [rt.jar:1.7.0_161]

Caused by: org.apache.commons.fileupload.FileUploadException

        at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:385) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.springframework.web.multipart.commons.CommonsMultipartResolver.parseRequest(CommonsMultipartResolver.java:158) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE]

        ... 33 more

Caused by: ClientAbortException:  java.io.IOException: JBWEB002011: Socket read failed

        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:371) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:422) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:393) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:976) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:886) [commons-fileupload-1.2.2.jar:1.2.2]

        at java.io.InputStream.read(InputStream.java:101) [rt.jar:1.7.0_161]

        at org.apache.commons.fileupload.util.Streams.copy(Streams.java:96) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.MultipartStream.readBodyData(MultipartStream.java:592) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.MultipartStream.discardBodyData(MultipartStream.java:618) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.MultipartStream.skipPreamble(MultipartStream.java:637) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.findNextItem(FileUploadBase.java:984) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:965) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331) [commons-fileupload-1.2.2.jar:1.2.2]

        at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351) [commons-fileupload-1.2.2.jar:1.2.2]

        ... 35 more

Caused by: java.io.IOException: JBWEB002011: Socket read failed

        at org.apache.coyote.ajp.AjpProcessor.read(AjpProcessor.java:1130) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:1208) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.receive(AjpProcessor.java:1147) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.refillReadBuffer(AjpProcessor.java:1188) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor.access$000(AjpProcessor.java:65) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.ajp.AjpProcessor$SocketInputBuffer.doRead(AjpProcessor.java:1277) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.coyote.Request.doRead(Request.java:438) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:361) [jbossweb-7.5.27.Final-redhat-1.jar:7.5.27.Final-redhat-1]

        ... 50 more


16:58:29,873 DEBUG [org.springframework.web.servlet.view.BeanNameViewResolver] (ajp-/10.188.80.236:8709-33) No matching bean found for view name 'common/error'

16:58:29,873 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) Rendering view [org.springframework.web.servlet.view.JstlView: name 'common/error'; URL [/WEB-INF/jsp/egovframework/common/error.jsp]] in DispatcherServlet with name 'action'

16:58:29,873 DEBUG [org.springframework.web.servlet.view.JstlView] (ajp-/10.188.80.236:8709-33) Added model object 'exception' of type [org.springframework.web.multipart.MultipartException] to request in view with name 'common/error'

16:58:29,873 DEBUG [org.springframework.web.servlet.view.JstlView] (ajp-/10.188.80.236:8709-33) Forwarding to resource [/WEB-INF/jsp/egovframework/common/error.jsp] in InternalResourceView 'common/error'

16:58:29,874 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/solomondj].[jsp]] (ajp-/10.188.80.236:8709-33)  Disabling the response for futher output

16:58:29,874 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/solomondj].[jsp]] (ajp-/10.188.80.236:8709-33)  The Response is vehiculed using a wrapper: com.opensymphony.sitemesh.webapp.ContentBufferingResponse

16:58:29,874 DEBUG [org.springframework.web.servlet.DispatcherServlet] (ajp-/10.188.80.236:8709-33) Successfully completed request

16:58:32,931 DEBUG [org.jboss.ejb.client.txn] (Periodic Recovery) Send recover request for transaction origin node identifier 1 to EJB receiver with node name dj12



0
0
  • 답변 0

  • 로그인을 하시면 답변을 등록할 수 있습니다.