geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Шевцов С.С." <s...@aisa.ru>
Subject JDBCAccessLogValve
Date Mon, 16 Oct 2006 19:11:50 GMT
Hello all.

I try setup JDBCAccessLogValve in config.xml :

  <module name="geronimo/tomcat/1.1.1/car">
    <gbean gbeanInfo="org.apache.geronimo.tomcat.ValveGBean" 
name="geronimo/tomcat/1.1.1/car?ServiceModule=geronimo/tomcat/1.1.1/car,j2eeType=GBean,name=FirstValve">
      <attribute 
name="className">org.apache.catalina.valves.JDBCAccessLogValve</attribute>
      <attribute name="initParams">connectionName="user"
    connectionPassword="password"
    driverName="com.ibm.db2.jcc.DB2Driver"
        connectionURL="jdbc:db2:jdbclog"
    tableName="access"
    remoteHostField="remoteHost"
    userField="user"
    timestampField="timestamp"
    virtualHostField="virtualHost"
    methodField="method"
    queryField="query"
    statusField="status"
    bytesField="bytes"
    refererField="referer"
    userAgentField="userAgent"
    pattern="common"
    resolveHosts ="false"</attribute>
    </gbean>

Geronimo throw java.sql.SQLException: "com/ibm/db2/jcc/DB2Driver" . How 
to set dependency for JDBCAccessLogValve?

--


Best regards,
Shevtsov Sergey
Head of WEB-programming Department

        e-mail: Sergey.Shevtsov@aisa.ru
        www.aisa.ru

Mime
View raw message