Re: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-26 Thread Jean-Francois Arcand
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

Re: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Mike Kellstrand
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

[OT] RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Robert Priest
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

RE: [OT] RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Shapira, Yoav
] 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

RE: How do I config EMBEDDED Tomcat to only service requests from localhost?

2003-09-25 Thread Shapira, Yoav
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