Try org.apache.catalina.startup.Embedded.addValve(...) or use the JMX
Embedded API.
-- Jeanfrancois
Mike Kellstrand wrote:
OK, adding a Valve to server.xml worked great for a standalone Tomcat.
Now Part II, how do I do this with an embedded Tomcat?
I get the impression that embedded doesn't
OK, adding a Valve to server.xml worked great for a standalone Tomcat.
Now Part II, how do I do this with an embedded Tomcat?
I get the impression that embedded doesn't use a server.xml file.
Is there a way to make it read a partial one with the element I need,
or another way to set up this
PROTECTED]
Sent: Thursday, September 25, 2003 2:34 PM
To: Tomcat Users List
Subject: Re: How do I config EMBEDDED Tomcat to only service requests
from localhost?
OK, adding a Valve to server.xml worked great for a standalone Tomcat.
Now Part II, how do I do this with an embedded Tomcat?
I get
]
Sent: Thursday, September 25, 2003 2:44 PM
To: 'Tomcat Users List'
Subject: [OT] RE: How do I config EMBEDDED Tomcat to only service
requests
from localhost?
So is there really any difference between the intentions of a
Valve and the intentions of a Filter?
http://java.sun.com/products/servlet
Subject: Re: How do I config EMBEDDED Tomcat to only service requests
from
localhost?
OK, adding a Valve to server.xml worked great for a standalone Tomcat.
Now Part II, how do I do this with an embedded Tomcat?
I get the impression that embedded doesn't use a server.xml file.
Is there a way