tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederic Collin" <fcol...@quixiz.com>
Subject RE: Developing my own tomcat valve
Date Thu, 31 Jul 2003 16:10:51 GMT
Hi Nathan,

Do u have a small sample valve that I can test to see if it works ?


Frédéric.


-----Original Message-----
From: Nathan Ward [mailto:nrward@cox.net] 
Sent: jeudi 31 juillet 2003 16:31
To: Tomcat Developers List; fcollin@quixiz.com
Subject: Re: Developing my own tomcat valve

I made a valve and copied to server/classes/... and it works. My valve
allows/denies access based on ServerName. Very similar to the
HostNameValve
and HostAddrValve. I need to submit it to the Tomcat project. I've never
contributed before and haven't looked into how to go about that yet.

   Nathan

----- Original Message -----
From: "Frederic Collin" <fcollin@quixiz.com>
To: <tomcat-dev@jakarta.apache.org>
Sent: Thursday, July 31, 2003 5:30 AM
Subject: Developing my own tomcat valve


> Hi ,
>
> I would like to develop my own tomcat valve.
>
> If I've well understanded, I have to:
>
> -         Create a class extending
org.apache.catalina.valves.ValveBase
> -         Implement its invoke method
> -         Add a <valve> entry in the server.xml file
> -         Pack my class(es) into a jar file and copy it in the
> [CATALINA_HOME]/server/lib directory
>
>
> I've made all of these steps, but my valve seems not to be called when
a
> request arrives to tomcat. Can u tell me what's wrong ?
>
>
> Thx !
>
>
> Frederic Collin.
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message