Stopping the Server will only remove the endpoint from the started Jetty Engine. However you can stop jetty itself
programmtically with something like: JettyHTTPServerEngineFactory.destroyForPort(9448); Where 9448 is the port number your jetty engine is running on. I don't know what the official recommendation is for this but that will certainly do the trick. Although cxf javadoc might not be all up to scratch this mailing rocks so its a pretty good alternative. Cheers Jason Sent from my Galaxy S2 On Nov 1, 2012 3:01 AM, "selvakumar netaji" <[email protected]> wrote: > Hi All, > > I'm new to apache cxf. I have tried out the hello world example. The > service is exposed using the JaxWsServerFactoryBean. After starting the > server I tested the services. It was working fine and tired to stop the > server using the destroy method. It didn't work out. So I tried to see the > javadoc but nothing was mentioned in those javadoc except the method > summary. The server is stopped only on stopping the vm. Can you please > help on this to find out the javadocs. >
