말쓰하신대로 하드상의 절대경로로 파일위치를 잡아도 동일한 에러가 발생합니다.
String file="D:\common\gauce\install.xml";
또, 호출하는 jsp 와 동일한 폴더에 위치하고
String file="install.xml";
updateManager.init(); <-- 이부분에서 에러가 발생을 하는데
좀더 자세한 에러 로그를 파악하는 방법은 없는지요?
File f = new File(file);
System.out.println("exists=="+f.exists()); 를 이용해 해당 파일 존재 체크까지 했으나 동일 에러가 발생을 합니다.
혹 가우스 필터 문제인가 해서 web.xml 까지 내용 올립니다.
<!-- [Begin] Filters -->
<!-- Character Encoding 을 위한 Filter -->
<filter>
<filter-name>CharacterEncodingFilter</filter-name>
<filter-class>pbf.fw.foundation.servlet.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<!-- Web Context Handling 을 위한 Filter -->
<filter>
<filter-name>WebContextFilter</filter-name>
<filter-class>pbf.fw.support.util.WebContextFilter</filter-class>
</filter>
<filter>
<filter-name>GauceFilter</filter-name>
<filter-class>com.gauce.filter.GauceFilter</filter-class>
<init-param>
<param-name>conf-reload</param-name>
<param-value>5000</param-value>
</init-param>
</filter>
===> 그리고 설치 방법이 UpdateManager.jsp 를 호출하는 이런방법이 정석인가요?
매뉴얼을 보면 xml 파일을 직접 param 에 셋팅을 하는데...
>
>
>해당 에러는 install.xml 파일의 경로를 찾지 못할 경우 발생하는 에러인 경우가 많습니다.
>혹시 개발 환경이 윈도우 환경이시라면 경로를
>
>String file="D:\common\gauce\install.xml";
>
>이렇게 지정해 주셔야 합니다
>
>
>>게시판을 이용해 주셔서 감사합니다.
>>다음양식에 맞게 입력해주세요.
>>
>>* 고객시스템명 : LIGNEX1
>>* GAUCE 버전 : 4.0.3
>>* WAS 종류(WebLogic 등등) : 웹로직
>>* DB 종류 : 오라클
>>* 문의 유형(질문/요청/참조) : 첫페이지에서 가우스 업데이터 설치시 오류
>>* 내용 :
>>로컬의 개발환경에서 최초 가우스 install 시 아래와 같은 에러가 발생합니다.
>>현재 구조의 동일 소스를 그대로 개발서버 및 운영 서버 적용하면 정상적입니다.
>>
>>호출 구조 index.jsp -> update 체크 cab파일 호출 -> UpdateManager.jsp -> install.xml
>>
>>1. 에러 화면 : 첫화면_에러스크린샷.bmp
>> OnUpdateError 이벤트 발생!
>> Error Code : 1012
>> Error Message : 설치정보 파일 오류
>> 0x800C0008 지정한 리소스 다운로드에 실패했습니다.
>>2. 콘솔의 error 내용 첨부파일 참고 console_error_log.txt
>> java.lang.Exception: InnoXync or Gauce Filter Error..
>> at com.shift.utils.common.InstallUpdateManager.init(Unknown Source)
>> at org.apache.jsp.common.gauce.UpdateManager_jsp._jspService(UpdateManager_jsp.java:53)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.security.LogFilter.doFilter(LogFilter.java:112)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.security.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:138)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.security.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:138)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.security.RefererUriFilter.doFilter(RefererUriFilter.java:96)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.common.ipfilter.RouteFilter.doFilter(RouteFilter.java:99)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.util.WebContextFilter.doFilter(WebContextFilter.java:74)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.foundation.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:113)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>> at java.lang.Thread.run(Thread.java:534)
>> java.lang.Exception: InnoXync or Gauce Filter Error..
>> at com.shift.utils.common.InstallUpdateManager.init(Unknown Source)
>> at org.apache.jsp.common.gauce.UpdateManager_jsp._jspService(UpdateManager_jsp.java:53)
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.security.LogFilter.doFilter(LogFilter.java:112)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.security.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:138)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.security.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:138)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.security.RefererUriFilter.doFilter(RefererUriFilter.java:96)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.common.ipfilter.RouteFilter.doFilter(RouteFilter.java:99)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.support.util.WebContextFilter.doFilter(WebContextFilter.java:74)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at pbf.fw.foundation.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:113)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>> at java.lang.Thread.run(Thread.java:534)
>>3. UpdateManager.jsp 내용
>> String file = "/common/gauce/install.xml";
>> InstallUpdateManager updateManager = new InstallUpdateManager(application, file);
>> updateManager.setServer(request.getServerName());
>> updateManager.setVersion("JS01");
>>
>> try {
>> updateManager.init();
>> response.setContentLength(updateManager.getHeader().length + updateManager.getBody().length);
>>
>> out.clear();
>> ServletOutputStream sos = response.getOutputStream();
>> sos.write(updateManager.getHeader());
>> sos.write(updateManager.getBody());
>> sos.close();
>> } catch(Exception e) {
>> e.printStackTrace();
>> response.sendError(HttpServletResponse.SC_FORBIDDEN);
>> }
>