-----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:

>>> I tried to move the context.html to conf/Catalina/localhost and the
>>> jar file to server/lib then everything went well.

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.

> Is there a simple way to check whether the context.xml is loaded or
> not at all?

If your application deploys, then the context.xml file should have been
"loaded". I'm kind of interested in why the webapp works when those
valves have obviously not been attached.

How are you testing that your valves have been started?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGeGw89CaO5/Lv0PARApb9AJ0a7W0CxncGMbTUragB+9TF1vpelACfQhuF
Rblq9BrsHyGG3jwCC3MosoY=
=AdUp
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to