This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Adding Valve to Tomcat+JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Adding Valve to Tomcat+JBoss" Watch "Adding Valve to Tomcat+JBoss" New topic

Adding Valve to Tomcat+JBoss

Dan Johnsson

Joined: May 31, 2004
Posts: 24
I am trying to add a (self-implemented) Valve to a JBoss+Tomcat.

I try to do this by adding the <Valve> to the <Host>. However, it seems to me as a autenticator valve (it is a such), must be added to a <Context>.

Is that so?

When I try to add a <Context> I do not know how to set up the docBase. The docBase should be relative to the <Host> appBase, but I cannot find a such in my tomcat.sar/server.xml.

Can someone shed light over this mystery to me?
Dan Johnsson

Joined: May 31, 2004
Posts: 24
Extra info: We are using JBoss 3.2.5, and deploy everything as exploaded ear/war:s.
I agree. Here's the link:
subject: Adding Valve to Tomcat+JBoss
It's not a secret anymore!