WAS Agent
WAS 지원범위
WAS 공식 지원 범위는 아래 항목과 같습니다.
* Web Application Server 최소 지원 범위 *
Servlet-API 2.5 이상 JAVA JDK 1.6 이상
Linux Kernel 2.6 이상 Windows 2008 이상 Java EE6 인증을 획득한 WAS Server
지원 범위를 벗어난 WAS는 Agent를 설치하여 사용할 순 있으나 공식 지원 범위가 아니므로 문제 발생 시 기술 지원에 제약이 발생할 수 있습니다.
OS | Tomcat 6.X | Jeus6 | Resin4 |
---|---|---|---|
Centos 6.X | O | O | O |
Amazon Linux 1 | O | O | O |
Ubuntu 14.04 LTS | O | O | O |
Windows Server 2008 | O | O | O |
JAVA 1.6 이상 환경 |
WAS Config
- WAS별 Default config 설정 정보는 다음과 같습니다.
WAS명 | web.xml 위치 |
---|---|
Tomcat | $TOMCAT_HOME/conf/web.xml |
Jeus | $JEUS_HOME\config$SERVER$SERVER_servlet_engine/webcommon.xml |
JBOSS | $JBOSS_HOME/server/[config name]/deploy/jboss-web.deployer/conf/web.xml |
Resin | $RESIN_HOME/conf/cluster-defalut.xml |
GlassFish | $GLASSFISH_HOME/user_projects/domains/[config name]/lib/web.xml |
WebLogic | $WEBLOGIC_HOME/user_projects/domains/[config name]/lib/web/xml |
WebSphere | $WebSphere_HOME/$CONTEXT_HOME/WEB-INF/lib/web.xml |
WAS Library
- WAS별 Default library 디렉터리는 다음과 같습니다.
WAS명 | Library 위치 |
---|---|
Tomcat | $TOMCAT_HOME/lib |
Jeus | $JEUS_HOME/system/lib |
Resin | $RESIN_HOME/ lib |
GlassFish | $GLASSFISH_HOME/user_projects/domains/[config name]/lib |
WebLogic | $WEBLOGIC_HOME/user_projects/domains/[config name]/lib |
WebSphere | $WebSphere_HOME/$CONTEXT_HOME/WEB-INF/lib |
그 외 WAS Start script 내 classpath에 $DeepFinder_AGENT_HOME/lib의 jar library를 추가 등록해서 사용할 수 있습니다.
WAS Filter Script
<web-app> 구문 사이에 Filter 설정 구문을 입력합니다.
<filter>
<filter-name>DfFilter</filter-name>
<filter-class>com.df.filter.DfFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>DfFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<servlet>
<description></description>
<display-name>DfError</display-name>
<servlet-name>DfError</servlet-name>
<servlet-class>com.df.servlet.DfError</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DfError</servlet-name>
<url-pattern>/DfError</url-pattern>
</servlet-mapping>
<servlet>
<description></description>
<display-name>DfDeny</display-name>
<servlet-name>DfDeny</servlet-name>
<servlet-class>com.df.servlet.DfDeny</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DfDeny</servlet-name>
<url-pattern>/DfDeny</url-pattern>
</servlet-mapping>