But if someone is using just a generated client should they really have to
call Bus.shutdown()?  Maybe we should add some shutdown hooks so
Bus.shutdown() is called automatically when someone exits the JVM.

- Dan

On 3/13/07, Andrea Smyth <[EMAIL PROTECTED]> wrote:

Bharath Ganesh wrote:

>Hi
>
>I could see a Timer created at org.apache.cxf.ws.rm.RMManager using the
default Timer constructor. This causes the associate timer thread to run as
a non-daemon thread.
>
>Since this timer is never cancelled, the thread to be there forever,
stopping the VM from exiting. (Matters a lot at the JAX-WS client side)
>
>This needs to be fixed.
>
>Thanks
>-Bharath
>http://www.bharathganesh.com
>
>
Hi Barath,

This timer is canceled - in the RMManager's  @PreDestroy annotated
shutdown method, which is called when the the bus is shutdown. Do you
call Bus.shutdown() in your application?

Andrea.





--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to