게시판을 이용해 주셔서 감사합니다.
다음양식에 맞게 입력해주세요.
* 고객시스템명 :
* GAUCE 버전 : 4.0(JAVA)
* WAS 종류(WebLogic 등등) : JEUS 5.0 Fix 13
* DB 종류 : Oracle 9i
* 문의 유형(질문/요청/참조) : 질문
* 내용 :
=======================================================
질문에 답변이 없어서 다시한번 질문합니다.
=======================================================
JEUS에서 가우스 필터를 등록해서 사용하고 있습니다.
Gauce FAQ에 있는대로 설정을 해 주었는데
ANT를 이용하여 build한 다음 Gauce Filter가 다시 로딩이 되지 않습니다.
ANT로 빌드시 기존에 있던 클래스 파일들을 자동으로 모두 삭제한 다음
컴파일된 파일이 WEB-INF/classes아래로 옮겨집니다.
다음은 설정된 구성입니다.
<jeus-web-dd.xml>
<?xml version="1.0" encoding="UTF-8"?>
<jeus-web-dd xmlns="http://www.tmaxsoft.com/xml/ns/jeus">
<context-path>/</context-path>
<enable-jsp>true</enable-jsp>
<auto-reload>
<enable-reload>true</enable-reload>
<check-on-demand>false</check-on-demand>
</auto-reload>
<res-ref>
<jndi-info>
<ref-name>import</ref-name>
<export-name>import</export-name>
</jndi-info>
</res-ref>
<max-instance-pool-size>-1</max-instance-pool-size>
<url-rewriting>false</url-rewriting>
<enable-default-login>false</enable-default-login>
<webinf-first>false</webinf-first>
</jeus-web-dd>
<WEBMain.xml>
<?xml version="1.0" encoding="UTF-8"?>
<web-container xmlns="http://www.tmaxsoft.com/xml/ns/jeus">
<monitoring>
<check-class-reload>5000</check-class-reload>
</monitoring>
<context-group>
<group-name>MyGroup</group-name>
<webserver-connection>
<http-listener>
<listener-id>import_02</listener-id>
<port>6066</port>
<output-buffer-size>8192</output-buffer-size>
<thread-pool>
<min>10</min>
<max>20</max>
</thread-pool>
</http-listener>
</webserver-connection>
</context-group>
</web-container>
<web.xml>
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<!-- Session Timeout -->
<session-config>
<session-timeout>720</session-timeout>
</session-config>
<!-- Define Gauce 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>
<filter-mapping>
<filter-name>GauceFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- Define JJActionServlet -->
<servlet>
<servlet-name>JJActionServlet</servlet-name>
<servlet-class>kr.co.jinjin.servlet.JJActionServlet</servlet-class>
<init-param>
<param-name>action_package</param-name>
<param-value>kr.co.jinjin.action</param-value>
</init-param>
<init-param>
<param-name>action_config</param-name>
<param-value>conf/action_config.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>JJActionServlet</servlet-name>
<url-pattern>/Import.cmd</url-pattern>
</servlet-mapping>
<!-- Define Error Page -->
<error-page>
<error-code>500</error-code>
<location>/common/error/500.jsp</location>
</error-page>
<resource-ref>
<description>Oracle Server Datasource Configuration</description>
<res-ref-name>import</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<!-- Define Welcome File -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
</web-app>
왜 그럴까요?
항상 빌드하고 난 다음에는
가우스 필터쪽에서 ClassCastException이 발생하여 여러번 화면을 Refersh 해도
동일한 에러가 발생하여 Jeus Container를 다시 죽였다 살려야합니다.
도와주시죠 ㅡ,.ㅡ;