Hi,
Please make sure you CC to CXF users list,
To be honest I'm not quite sure what the issue is.
Are you saying that you have a CXFServlet instance created on every
request ?
Either way if no static resource support is required then blocking it
via a custom override is fine
Cheers, Sergey
On 12/10/15 03:39, Akshay Raj wrote:
Hi Sergey,
A gentle reminder...
Can you please confirm the query as mentioned below .
Thanks & Regards,
Akshay
---------- Forwarded message ----------
From: *Akshay Raj* <[email protected] <mailto:[email protected]>>
Date: Mon, Oct 5, 2015 at 8:58 AM
Subject: Re: Static resource STATIC_RESOURCES_MAP_RESOURCE
To: Sergey Beryozkin <[email protected] <mailto:[email protected]>>
Hi Sergey,
Thanks for the reply.
Actually I have customized the CXFServlet and CXFNonSpringServlet a bit
for my use case.
I need to get destination from destination registry for every request
which will contain dynamic endpoint url and all the request go to a
central application which contains the mapping for custom CXFServlet.
My customization is working fine except for the performance bottlenecks
however I have commented the static resource initialization part that
occurs in init method as I mentioned earlier.
So I wanted to know what will be impact of not doing static resource
initialization.
Thanks,
Akshay
On Mon, Oct 5, 2015 at 2:33 AM, Sergey Beryozkin <[email protected]
<mailto:[email protected]>> wrote:
Hi
CXFServlet is not expected to be initialized per every request, it
is only initialized once and then used, so I'm not sure why it is
the problem - but I guess you can def block it in a servlet subclass
Cheers, Sergey
On 01/10/15 08:49, [email protected]
<mailto:[email protected]> wrote:
Hi Sergey,
I am using CXFServlet for exposing soap endpoints and
performing load testing for the exposed endpoints.I am running
into a thread blocking issue with a massive response time build
up.When I debugged the code I found that there is a static
resource STATIC_RESOURCES_MAP_RESOURCE =
"/cxfServletStaticResourcesMap.txt"; which is being looked up
after a resource resolver call initiates from
AbstractHttpServlet.This is getting called from
CXFNonSpringServlet init() method via finalizeServletInit()
method call.As I dont have any static resource in my exposed
service I tried commenting finalizeServletInit() and the same
worked for.Can you please tell me what will be the impact of not
having a call to method finalizeServletInit().
Thanks,
Akshay
_____________________________________
Sent from http://cxf.547215.n5.nabble.com
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/