반응형

10:04:08 DEBUG [org.springframework.web.servlet.DispatcherServlet]  Handler execution resulted in exception - forwarding to resolved error view: ModelAndView: reference to view with name 'cmmn/egovError'; model is {exception=org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Fail to save: an error occurs while saving the package : The part /docProps/core.xml failed to be saved in the stream with marshaller org.apache.poi.openxml4j.opc.internal.marshallers.ZipPackagePropertiesMarshaller@186ab677}
org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Fail to save: an error occurs while saving the package : The part /docProps/core.xml failed to be saved in the stream with marshaller org.apache.poi.openxml4j.opc.internal.marshallers.ZipPackagePropertiesMarshaller@186ab677

 

 

위의 버그 발생시

엑셀 저장시에 발생하는 에러이다.

필자의 경우에는 프로그램 소스에서 발생한 사항이 아니라(예외처리를 제대로 하지못함의 발생을 제외),

서버 설정에 의해 발생하였다.

 

서버는 apache + tomcat 으로 proxy 로 설정되어있다.

아파치에서 tomeout 이 발생하여 연결을 끊었기때문에 , tomcat에서 에러가 발생하게 된다.(엑셀 저장중에 발생한 에러)

아파치 config 파일에 해당 내용을 추가하면 된다. (단위 : 초)

 

Timeout 600
ProxyTimeout 600

<Proxy balancer://Test>
    BalancerMember http://localhost:8080/Test/
    BalancerMember http://localhost:8080/Test/
</Proxy>

<Location "/Test">
    ProxyPass           balancer://Test
    ProxyPassReverse    balancer://Test
</Location>

 

반응형

+ Recent posts