then I would leave it running without a filter, the difference is negligible, so that way you run error free

Filip



Milan Cvejic wrote:
Unfortunately i don't have test case... Can you suggest me some way so i can
make test case, and give results back to you.

Interesting thing is that if filter parameter is empty for example:
<Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter="" />

i don't get any exceptions. In any other case null pointer exceptions occur.

Filip Hanik - Dev Lists wrote:
it happens on the line ReplicationValve.java

348 : Manager manager = request.getContext().getManager();


probably getContext() returns null,
do you have a simple test case how this is happening?

Filip

Milan Cvejic wrote:
I am using 6.0.14 version of tomcat. And jdk 1.6 update 4. Any suggestions ?

Thanks.

Filip Hanik - Dev Lists wrote:
what version of tomcat 6 are you using?

Filip

Milan Cvejic wrote:
Hello,
i am getting null pointer exceptions when i add the following line in server.xml

<Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;" />

if i remove that line everything is working fine... but load is increased...

here is part from catalina.out

23-Jun-2008 17:04:39 org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing
java.lang.NullPointerException
at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:348) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:419) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:394) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:619)


Thanks for any help.



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






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






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