Re: Cannot load customized valve and realm from META-INF/context.xml

2007-06-20 Thread Zhiyong Liu
hread. To response Chris's question. I saw my valve and realm were invoked by debugging it as a Java remote application. Zhiyong Mark Thomas wrote: Christopher Schultz wrote: Zhiyong Liu wrote: It looks to be that the difference is the placement of the JAR file. Perhaps valves must be

Re: Cannot load customized valve and realm from META-INF/context.xml

2007-06-19 Thread Zhiyong Liu
ginal Message - From: Charles R Caldarale <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, June 19, 2007 5:47:14 o'clock PM GMT-0500 Auto-Detected Subject: RE: Cannot load customized valve and realm from META-INF/context.xml > From: Zhiyong Liu [mailto:[EMAIL PROTECTED] >

Cannot load customized valve and realm from META-INF/context.xml

2007-06-19 Thread Zhiyong Liu
I am using Tomcat 5.0.28 and trying to get my customized valve and realm work but no luck with the following steps. (1) put the jar file containing MyRealm.class and MyValve.class into webapps/myapp/WEB-INF/lib; (2) created a context.xml file in webapps/myapp/META-INF with the following content