Hi Thomas, The Component class, like all Restlet subclasses, automatically starts upon first request (call to the handle(..) method) if it has not already started.
However, in your case, as the component isn't explicitly started, the server connector isn't started either and you should immediately exit the JVM. I have tested it with tutorial's example Part05. And there is a different if the component isn't started :-) Something else must be starting your component... Best regards, Jerome -----Message d'origine----- De : news [mailto:[EMAIL PROTECTED] De la part de Thomas Envoye : dimanche 1 juin 2008 23:48 A : [email protected] Objet : component never gets started Hello, as you can see in the code from above, I've commented out the call to comp.start(), but the example still works fine. Why isn't it necessary to call this method? public static void main(String[] args) throws Exception { // Create a component with an HTTP server connector // The component encompasses the whole application Component comp = new Component(); comp.getServers().add(Protocol.HTTP, 8080); // Attach the application to the default host and start it comp.getDefaultHost().attach("", new Application()); //comp.start(); } thanks for your help, Thomas

