|
Re: jetty locks jars in WEB-INF/lib?: msg#00146java.jetty.support
Greg Wilkins wrote: >The problem is that the underlying URL handler caches the jar files. >I'll try to call URLConnection.disconnect when appropriate, but I think >that jboss may need to do something similar. > >Also a lot of this is out of both Jetty and JBoss's control as we >both just use the normal URLClassLoader that comes with the JVM - if >it keeps the jar open, then there is not a lot we can do about it :-( > >The thing to do is - stop the context, replace the jars, start the context. > But he mentions redeployment - in JBoss terms that is a stop, destroy, create, start Context... :-( Jules > > >regards > > >Alexey Yudichev wrote:> No it does not. Jars cannot be deleted regardless > >>Java2ClassLoadingCompliance is true or false. >>Java2ClassLoadingCompliance=false just makes it impossible for me to >>have copies of other deployed apps' classes in my webapp . >> >>-----Original Message----- >>From: Jules Gosnell [mailto:jules@xxxxxxxxxxx] >>Sent: Friday, December 13, 2002 11:48 >>To: jetty-support@xxxxxxxxxxxxxxx >>Subject: Re: [jetty-support] jetty locks jars in WEB-INF/lib? >> >> >>Alexey Yudichev wrote: >> >> > I use jboss-3.0.4 (with jetty 4.1.3). After webapp is deployed I >> > cannot delete jars in WEB-INF/lib under Windows. I can overwrite them >> > but after that jetty reports broken ZIP structure when trying to >> > redeploy the webapp. Is that the supposed behaviour? >> > >> > >> > For the latest information about Jetty, please see >> > http://jetty.mortbay.org >> > >> > >> > >> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service >> > <http://docs.yahoo.com/info/terms/> . >> >>This may be a JBoss ClassLoader caching stuff underneath us. Try >>toggling the Java2Compliance flag in your >>jbossweb.sar/META-INF/jboss-service.xml. This is not a real fix, but >>should give us more of a clue. Let me know if this works around the >>problem. >> >>Jules >> >> >>P.S >> >>Works fine under Linux :-) >> >> >> >>________________________________________________________________________ >>This email has been scanned for all viruses by the MessageLabs SkyScan >>service. For more information on a proactive anti-virus service working >>around the clock, around the globe, visit http://www.messagelabs.com >>________________________________________________________________________ >> >> >>For the latest information about Jetty, please see http://jetty.mortbay.org >> >> >> >>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ >> >> >>For the latest information about Jetty, please see http://jetty.mortbay.org >> >> >> >>Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service >><http://docs.yahoo.com/info/terms/>. >> > > > ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM ---------------------------------------------------------------------~-> For the latest information about Jetty, please see http://jetty.mortbay.org Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: jetty locks jars in WEB-INF/lib?, Greg Wilkins |
|---|---|
| Next by Date: | Re: jetty locks jars in WEB-INF/lib?, Greg Wilkins |
| Previous by Thread: | Re: jetty locks jars in WEB-INF/lib?, Greg Wilkins |
| Next by Thread: | Re: jetty locks jars in WEB-INF/lib?, Greg Wilkins |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |