RE: [OT] Cannot cleanly undeploy a web application

2013-07-17 Thread Konstantin Preißer
Hi, From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Cannot cleanly undeploy a web application I believe that the underlying issue here is the difference in behaviour between Windows and Unix/Linux, with regard to a file opened by one process, when another process tries

Re: [OT] Cannot cleanly undeploy a web application

2013-07-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 7/16/13 7:47 PM, Mark Eggers wrote: For a JAR file, I use the following code (don't shoot me - I'm an admin / architect, not a developer). This may be part of the problem. Don't feel bad: you just need a developer in this case to bail

[OT] Cannot cleanly undeploy a web application

2013-07-16 Thread Mark Eggers
Folks, Off topic, so I'm going to be burning a little karma (OK, a lot). Environment: Window 7 64 bit JRE 1.7.0_25 Tomcat 7.0.42 (with tcnative) run from startup.bat I have a web application that scans for a resource path using: this.getClass().getClassLoader().getResources(resourcePath) It

Re: [OT] Cannot cleanly undeploy a web application

2013-07-16 Thread André Warnier
Mark Eggers wrote: Folks, Off topic, so I'm going to be burning a little karma (OK, a lot). Environment: Window 7 64 bit JRE 1.7.0_25 Tomcat 7.0.42 (with tcnative) run from startup.bat I have a web application that scans for a resource path using:

Re: [OT] Cannot cleanly undeploy a web application

2013-07-16 Thread Mark Thomas
On 16/07/2013 22:43, Mark Eggers wrote: 5. Do this right How, I'm not exactly sure. Hence, the question. At a guess, call close on the JarFile. Looks like you might need to refactor the code to be able to do that. Mark -

RE: [OT] Cannot cleanly undeploy a web application

2013-07-16 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Cannot cleanly undeploy a web application What probably happens here, is that one level below the InputStream which holds the filehandle in Java, is some native file object which has the file open. The InputStream object

Re: [OT] Cannot cleanly undeploy a web application

2013-07-16 Thread Mark Eggers
On 7/16/2013 4:07 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Cannot cleanly undeploy a web application What probably happens here, is that one level below the InputStream which holds the filehandle in Java, is some native file object which