geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carver <>
Subject Problem with defining custom Valve in config.xml
Date Thu, 20 Sep 2007 10:08:41 GMT


I try to define a custom valve in config.xml by the following XML fragment:

<gbean gbeanInfo="org.apache.geronimo.tomcat.ValveGBean"
<attribute name="className">org.compnay.valve.MyValve</attribute>
<attribute name="initParams">debug=1</attribute>
<gbean name="TomcatHost">
<reference name="TomcatValveChain"/>
<gbean name="FirstValve">
<reference name="NextValve">

The custom valve cannot start since the valve class not found. But I don't
know how to import the third-party classes in the config.xml.

Anyone know how to import the third-party classes?

many thanks

View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message