Did you try calling server.stop() before calling server.destroy()?   I kind of 
wondering if destroy isn't properly checking  to see if it's stopped first.

Dan


On Friday, October 07, 2011 6:41:16 AM nkunkov wrote:
> Thank you Glen.  If there is no other option I will consider running it in
> the application server container.
> But before I do that I'd like to still try to work this out.
> 
> Should I be able to stop the server?  Should I be able to get a handle to
> it?
> In other words should the below work?
> Server server  = svrFactory.create();
> ......
> 
> server.destroy();
> 
> Also, what is this error now -
> [java] java.lang.RuntimeException: Soap 1.1 endpoint already registered
> on
> address http://localhost:9005/NotifyNewSearch
> 
> Thanks for your help.
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Calling-CXF-WebService-from-a-standalone-wi
> ndows-service-tp4878387p4880066.html Sent from the cxf-user mailing list
> archive at Nabble.com.
-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to