I figured out the problem. I had installed the valve, in my 
org.apache.catalina.valves, in catalina.jar in tomcat. I expected that jonas would 
also run the tomcat scripts, when starting up tomcat. But, instead, jonas runs its 
version of server.xml and web.xml (in preference to the ones defined in 
%tomcat_home%\conf) during startup.
 
So, it was when i updated server.xml, in jonas\conf, it was looking for the file in 
its directory structure, i.e. org.apache.catalina.valves, in jonas, defined in 
web_catalina.jar. Once I updated this jar to include my file, its working fine with 
Jonas and Tomcat.
 
The valve I made is a modified version of the RequestDumperValve.
 
Steve.

"Shapira, Yoav" <[EMAIL PROTECTED]> wrote:

Howdy,
What seems to be happening with the Valve?

(And should I just throw away my hopes of getting people to write
portable applications? Is the appeal of container-specific features
really that great? Ignore these questions, I'm just asking myself ;))

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Steven Perry [mailto:[EMAIL PROTECTED]
>Sent: Monday, October 06, 2003 6:34 AM
>To: Tomcat Users List
>Subject: Tomcat, Jonas and Valves.
>
>
>I have implemented a Valve, and configured it in
>%tomcat_home%\conf\server.xml . When I run "catalina
>start", this valve work perfectly.
>
>I have integrated tomcat and jonas, since Jonas is my
>preferred ejb-container. But, when i use "jonas
>start", my valve doesn't seem to be functioning.
>
>I even configured server.xml in %jonas_base%\conf, but
>to no avail.
>
>If anyone has any idea how to go about this, I'd be
>grateful to hear from you.
>
>--Steve
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged. This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else. If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Reply via email to