The service is asynchronous due to external resources, the thread has to wait for some time before it can actually process the request. I think i should either separate the consumer thread to a stand alone service, or make it work with other instances of threads as well.

I have also noted that my 'free' function of Axis Svc Skeleton is not being called on stopping Apache. When it is called?

Uthaiyashankar wrote:

On Fri, May 22, 2009 at 12:22 PM, Abdul Sami <as...@folio3.com> wrote:
Uthaiyashankar wrote:
Each instance will load their own service library and serve from them,
but they will load only once. What do you want to achieve? If you want
to share some data between consecutive requests, then you can enable
shared global pool [1] .

Regards,
Shankar.

[1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2


What effect the Shared global pool will have on the Service? I have a Queue
and a consumer thread. I want to have only one consumer thread running.

I am still not clear on your requirements. Why do you want to have
only one consumer thread? If it is due to some other external factors,
then shared global pool will not help. But what you want to achieve is
to share a data between two requests, then you can do it using shared
global pool..

If the limitation is due to external factors, then you have to
configure httpd as you specified in your mail. In that case, service
library will be loaded once and all the requests will be served by
that.

Regards,
Shankar.






Reply via email to