Re: Axis 1.4 ThreadLocal

2010-12-14 Thread Srikanth Konjarla
Pid,Chris Thanks for your reponses. Meanwhile, I have come up with the following code in the app to clear threadlocals for a thread. I have a ReflectionUtil class that actually sets the accessible to true on the Field after obtaining it via reflection. -

Re: Axis 1.4 ThreadLocal

2010-12-14 Thread Pid
On 13/12/2010 20:56, Ebert, Chris wrote: > I haven't solved this specific issue but (when the object isn't directly > accessible, which I assume is the case) you could: > > 1) find the nearest accessible object to the field you want. > 2) get the field value using reflection, setting accessibilit

[Axis2] How can a service get informed when the service is disabled

2010-12-14 Thread Boris Klug
Hello, we are using Axis2 for several web services. My webservice gets the database connection at startup and closes the connection at shutdown. This is implemented thru the ServiceLifeCycle interface. From time to time we have to close all connections to the database so the db admin team ca