Thanks for all the reply. I found this page while searching for a
solution
http://mail-archives.apache.org/mod_mbox/geronimo-user/200703.mbox/[EMAIL PROTECTED]
Although it does not address my problem since I don't use Geronimo, I
put the link here in hope helping someone else hits this thread.
Christopher Schultz wrote:
> Zhiyong Liu wrote:
> It looks to be that the difference is the placement of the JAR file.
> Perhaps valves must be available through Tomcat's classloader instead of
> the web application's disposable one.
That will indeed be the problem. They need to be visible to the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zhiyong,
Zhiyong Liu wrote:
> Thanks Chuck's reply.
>
> However, there was no such myapp.xml file there. In fact, I manually
> copied my context.xml into localhost and renamed it to myapp.xml and
> it did not work either.
You claimed that it did:
>
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]
>
> From: Zhiyong Liu [mailto:[EMAIL PROTECTED]
> Subject: Cannot load customized valve and realm from
> META-INF/context.xml
>
> I tried to move the context.html to conf/Catalina/localhost
> and the jar file to server/lib then everything went well.
Is it possible you already had a myapp.xml in