To enable web statistic monitoring in AS, We are too using tomcat valve to
intercept message. Shameera is developing a touch point to add another xml
element to a existing xml file. You might be able to use that. Please refer
mail thread "[Architecture] Can we use P2 based solution to control AS
product size"

Thanks

*G. K. S. Munasinghe
*
*Software Engineer,*
*WSO2, Inc. http://wso2.com *
*lean.enterprise.middleware.*
*
*
email: [email protected]
phone:(+94) 777911226


On Thu, Jul 11, 2013 at 1:37 PM, Afkham Azeez <[email protected]> wrote:

> Sorry, maintaining your own cartalina.xml is not acceptable. I spoke to
> NuwanD and mentioned how the current carbon Tomcat valve has to be changed
> to support the chaining model. you will need to implement a Carbon tomcat
> valve, not a Catalina valve
>
>
> On Thu, Jul 11, 2013 at 1:16 PM, Dinusha Senanayaka <[email protected]>wrote:
>
>> Hi All,
>>
>> When embedding api-management functionalities into GReg, we had to wrote
>> an tomcat valve as an interceptor for handle requests. For that we
>> implemented a direct tomcat valve which extended from
>> catalina.valves.ValveBase instead of CarbonTomcatValve. But currently we
>> don't have a way to register this tomcat valve programmatically, we have to
>> manually register this using  catalina-server.xml.
>>
>> For Greg , we have to maintain a it's own catalina-server.xml file at the
>> product level by including apimgt-valve into it and override the
>> catalina-server.xml coming from the platform.. Instead of doing like that,
>> is it possible to support the registering of tomcat valves programmatically
>> in future ?
>>
>> Regards,
>> Dinusha.
>>
>>
>> --
>> Dinusha Dilrukshi
>> Senior Software Engineer
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94725255071
>> Blog: http://dinushasblog.blogspot.com/
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to