Skip to content

WAS

WAS Agent

WAS Support Scope

The official support scope for WAS is as follows.

* Minimum Supported Scope for Web Application Server *
Servlet-API 2.5 or higher      JAVA JDK 1.6 or higher
Linux Kernel 2.6 or higher     Windows 2008 or higher     WAS Server with Java EE6 certification

While the Agent can be installed and used on WAS versions outside the official support scope, technical support may be limited if issues arise.

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 R2 O O O


WAS Config

  • The default config file locations for each WAS are as follows.
WAS Name web.xml Location
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

  • The default library directories for each WAS are as follows.
WAS Name Library Location
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


Alternatively, you can add the jar library from $DeepFinder_AGENT_HOME/lib to the classpath in the WAS start script.

WAS Filter Script

Insert the filter configuration statements between the <web-app> tags.

<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>