jait-purohit / tamacat

Automatically exported from code.google.com/p/tamacat
0 stars 0 forks source link

ServiceUrl set to HttpFilter is different URL from the time of a request. #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Use the HttpFilter in components.xml.
2. And singleton="false" is not used with a bean attribute.

It is, when ServiceUrl is set to different URL from the time of a request.

Original issue reported on code.google.com by tamacat.org on 12 Oct 2011 at 1:52

GoogleCodeExporter commented 8 years ago
You should not make HttpFilter singleton. 
Please be sure to attach singleton="false" in components.xml. 

ex) 
[Before]
  <bean id="AccessControlFilter"
     class="org.tamacat.httpd.examples.AccessControlFilter">

[After]
  <bean id="AccessControlFilter"
     class="org.tamacat.httpd.examples.AccessControlFilter" singleton="false">

Original comment by tamacat.org on 12 Oct 2011 at 1:58