File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Adding Valve to Tomcat+JBoss" Watch "Adding Valve to Tomcat+JBoss" New topic
Author

Adding Valve to Tomcat+JBoss

Dan Johnsson
Greenhorn

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
Greenhorn

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: http://aspose.com/file-tools
 
subject: Adding Valve to Tomcat+JBoss