Hi Simon, AFAIK there is nothing implemented in the JAX-RS runtime to support this. I can't say anything about the hot deployment of Restlet. Do you tried to denbug it? I meen: Start in debug mode, try again and interrupt, if Restlet hangs.
best regards Stephan -----Ursprüngliche Nachricht----- Von: "Simon Temple" <[email protected]> Gesendet: 29.09.2011 12:20:17 An: [email protected] Betreff: 2.0.3: re-deploying a JAXRS application without restarting the JVM >I'm trying to all add classes to my JaxRs application at run-time but this >seems to hang Restlet - I can connect to the HTTP port but get no response. > >Is it possible to hot deploy JaxRS classes? > >I currently do something a bit like this to redeploy: > > comp.stop > this.application.stop(); > comp.getDefaultHost().detach(this.application); > > this.application = new JaxRsApplication( comp.getContext( > ).createChildContext( ) ); > this.application.add( JaxRsApp.getInstance( ) ); > this.comp.getDefaultHost( ).attach( "/rest/", this.application ); > comp.start(); ___________________________________________________________ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2847693

