Hi Hayden,

That's a weird behavior indeed. Did you make any progress?

I suggest that you try again with the latest 1.0.6 version as we fixed an
issue regarding the start/restart of an application.

Otherwise, feel free to post a bug report:
http://restlet.tigris.org/servlets/ProjectIssues

Best regards,
Jerome  

> -----Message d'origine-----
> De : Metz, Hayden [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 6 novembre 2007 18:36
> À : [email protected]
> Objet : Unable to cleanly undeploy restlet application from 
> servlet container
> 
> When I try to undeploy my restlet application from a running 
> servlet container it can't remove the deployed app completely 
> because it seems unable to delete com.noelios.restlet.jar 
> from the exploded WAR contents.  I assume there is still some 
> resource in use within the reference implementation code 
> (possibly because of the way I'm using it?) but I can't 
> figure out what.  Does anyone have any experience with this 
> problem or something similar, and what I can do to work around it?
> 
> I've tried a variety of app servers (Tomcat 6.0, Sun App 
> Server PE 9, BEA WebLogic 9.2), and they've all shown the 
> same behavior.  Here's my super-stripped-down test application:
> 
> import org.restlet.*; 
> import org.restlet.data.*; 
> 
> public class SimpleApp extends Application { 
>         public SimpleApp(Context context) { super(context); } 
>         public Restlet createRoot() { 
>                 return new Restlet() { 
>                         public void handle(Request rqst, 
> Response resp) { 
>                                 resp.setEntity( 
>                                         
> rqst.getResourceRef().toString(), 
>                                         MediaType.TEXT_PLAIN); 
>                         } 
>                 }; 
>         } 
> } 
> 
> I build this application into a WAR with a web.xml file like 
> the sample shown in question 2 of the developer FAQ.  I 
> should mention that if I stop and restart the app server 
> before ever accessing my web service then it undeploys 
> correctly (the code has to be loaded and executed for the 
> problem to occur).
> 
> I'd appreciate any help or advice you can give. 
> 
> Hayden 
> 
> 

Reply via email to