If i want to restrict for a single webapp, how can i do that?
and, one more, how can i restrict my tomcat valve to be executed only for
specified webapps? currently i registered in the catalina-server.xml ,
which runs globally..


On 16 December 2013 16:16, Kasun Gajasinghe <[email protected]> wrote:

>
>
>
> On Mon, Dec 16, 2013 at 12:08 PM, Sumedha Rubasinghe <[email protected]>wrote:
>
>> Add this to <YOUR-WEB-APP>/WEB-INF/web.xml.
>>
>>
> +1. The repository\conf\tomcat\web.xml config gets processed before each
> webapp's web.xml when deploying a webapp. So, if you need your listener
> to be available for all the webapps, this is the place you need to add your
> listener.
>
> The location [1] is the web.xml of carbon webapp.
>
> [1] repository\conf\tomcat\carbon\WEB-INF\web.xml
>
> Regards,
> KasunG
>
>
>
>>
>> On Mon, Dec 16, 2013 at 12:00 PM, Vijayaratha Vijayasingam <
>> [email protected]> wrote:
>>
>>>
>>> Hi all;
>>> I try to keep an Application Listener for a webapp, which needs to be
>>> notified whenever that webapp stopped or started.
>>>
>>> I want to know, where can i register this listener ?
>>> There are two web.xml files available
>>>
>>>    -  AS\repository\conf\tomcat\web.xml
>>>    -  AS\repository\conf\tomcat\carbon\WEB-INF\web.xml
>>>
>>> And I don't see any <listener> tags in those weba.xmls ..Can anyone
>>> point me, what i have to do?
>>>
>>> Thanks.
>>>  --
>>> -Ratha
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> /sumedha
>> m: +94 773017743
>> b :  bit.ly/sumedha
>>
>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer;
> WSO2 Inc.; http://wso2.com
>
>
>  ,
> *email: *
> *kasung AT spamfree wso2.com <http://wso2.com>   ** cell: **+94 (77)
> 678-0813 <%2B94%20%2877%29%20678-0813>*
> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>
>
>
> *blog: **http://kasunbg.org* <http://kasunbg.org>
>
>
>
> *twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>
>
>
>


-- 
-Ratha
mobile: (+94)755906608
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to