Hi all,
I'm trying to implement a custom
tomcat valve. My application server is
JBoss 4.0.5GA with Tomcat 5.5. I created a class, "RenewSession.java" extending ValveBase.java and I declared the valve in the server.xml as follows.
<Host name="localhost" autoDeploy="false" deployOnStartup="false" deployXML="false">
<Valve className="com.alcatel.ni.html.login.RenewSessionValve" />
<DefaultContext cookies="true" crossContext="true" override="true" />
</Host>
In my project, I'm want to use the valve along with a
servlet filter. The flow is suppose to be like this
Valve -> Login filter -> Page servlet -> etc..
My problem is that, I'm getting the request in my Valve but it is not proceeding to the filter. Can anyone help me on this. Its really urgent.
Regards
Shenaz
PS: Please find below my Valve code.