> Hi All,
> 
> I am having difficulty in setting up a RemoteHostValve for my WebApp.
> I have created a configuration descriptor file named CST_CLIENT.xml
> with the following Context defined:
>    
>  <Context path="/CST_CLIENT">
>       <Valve className="org.apache.catalina.valves.RemoteHostValve"
> allow="*.gc.ca"/>
>       <!-- <Valve
> className="org.apache.catalina.valves.RemoteAddrValve"
> allow="142.135.*"/> -->
> </Context>
> 
> I am running Tomcat 5.0.27 on Windows 2000 Server.  I have no problem
> when I use RemoteAddrValve but cannot get the RemoteHostValve to work.
> Here is the error in the stdout.log file:
> 
> SEVERE: Error deploying configuration descriptor CST_CLIENT.xml
> java.io.IOException: java.lang.IllegalArgumentException: Syntax error
> in request filter pattern *.gc.ca
>       at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDepl
> oyer.java:494)
>       at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
> 
> I have tried a lot of different regex expressions but have not had any
> luck.  If I try to perform an NSLOOKUP on the server this works also
> without any problem.
> What am I missing?  Any help would be appreciated!
> 
> Thanks in advance
> 
> Andrew

Reply via email to