Here's where it exists in the Tomcat5 CVS. I haven't looked at whether the fix is there or not, but at least you know where to check it out now...
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java Jake Quoting Philip Baruc <[EMAIL PROTECTED]>: > I just tried to run tomcat 5.0.22 and i don't belive > the bug(10469) is resolved in this build. > I see the fix here: > http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java > > This also were i got the version 1.50 that i alluded > to in an earlier email. > > from what i can see. IN the 1.50 version. there has > been a change made to the getURL(File file) function: > > /** > * Get URL. > */ > protected URL getURL(File file) > throws MalformedURLException { > > File realFile = file; > try { > realFile = realFile.getCanonicalFile(); > } catch (IOException e) { > // Ignore > } > > //return new URL("file:" + > realFile.getPath()); > URLEncoder urlEncoder = new URLEncoder(); > urlEncoder.addSafeCharacter(','); > urlEncoder.addSafeCharacter(':'); > urlEncoder.addSafeCharacter('-'); > urlEncoder.addSafeCharacter('_'); > urlEncoder.addSafeCharacter('.'); > urlEncoder.addSafeCharacter('*'); > urlEncoder.addSafeCharacter('/'); > urlEncoder.addSafeCharacter('!'); > urlEncoder.addSafeCharacter('~'); > urlEncoder.addSafeCharacter('\''); > urlEncoder.addSafeCharacter('('); > urlEncoder.addSafeCharacter(')'); > > return new > URL(urlEncoder.encode(realFile.toURL().toString())); > } > > > In the tomcat 5.0.22 version, it appears that the > getURL(File) still looks as it did before markt made > his feb 22 fix to the bug. > > It appears that the fix is in the tomcat 4.0 branch > but not in the tomcat 5.0 branchs. I hope i am reading > the cvs repositories correctly. If not perhaps you can > help me. Basially I'm looking for a build of tomcat > (perferably a 4.0 build) that has this fix. I am > reluctant to build the tomcat source files myself and > distribute a custom bug fixed version of tomcat to our > customers. > > I'm running into a problem without this fix because > i'm attempting to make an RMI call from with in > tomcat. When tomcat attempts to resolve the remove > interface i get an exception like: > > java.rmi.UnmarshalException: error unmarshalling > arguments; nested exception is: > java.net.MalformedURLException: no protocol: > Files/Apache > > I belive that this is cause WebAppClassLoader > getURL(File) function is suffering from a bug encoding > problem in the jdk. > > http://developer.java.sun.com/developer/bugParade/bugs/4273532.html > > I belive that Apache has recognized this problem and > has implemented its fix in its cvs repositories in its > tomcat 4.0 branch, but no in any of the builds on the > 4.0 branch. > > Please advice... > > Thank You, > P.B. > > > --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > > > > http://www.apache.org/dist/jakarta/tomcat-5/v5.0.22-alpha/ > > > > Yoav Shapira > > Millennium Research Informatics > > > > > > >-----Original Message----- > > >From: Philip Baruc [mailto:[EMAIL PROTECTED] > > >Sent: Monday, April 12, 2004 3:04 PM > > >To: Tomcat Users List > > >Subject: RE: Require a tomcat build with bug > > fix.... > > > > > >Is there a place where i can download a build of > > the > > >5.0.22-alpha version of tomcat, or does this > > require > > >me pulling the 5.0.22 branch from cvs and building > > it? > > > > > >philip b > > > > > >--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > >> > > >> Hi, > > >> > > >> >I've also downloaded > > >> >the 4.1.30 source and noticed that the > > >> >WebAppClassLoader is only at version 1.48 where > > as > > >> the > > >> >bug fix is applied to a 1.50 version of the > > >> >WebAppClassLoader. > > >> > > >> I'm not sure where you're getting your version > > >> numbers. > > >> > > > >http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/ > > s > > >> hare/org/apache/catalina/loader/ shows that 1.31 > > is > > >> the current CVS > > >> version of WebAppClassLoader, so what's 1.48 and > > >> 1.50 that you're > > >> talking about? > > >> > > >> Mark marked the issue as fixed on 2004-02-22. > > >> 4.1.30 was released on > > >> 2004-01-25. So what I said before was wrong: > > 4.1.30 > > >> doesn't have your > > >> fix. For that matter, 5.0.19 is from 2004-02-14, > > so > > >> it doesn't have > > >> your fix either. 5.0.22-alpha is from last week > > and > > >> should have your > > >> fix. > > >> > > >> Tomcat 5 is not so different that you should be > > >> afraid to try it. > > >> > > >> Yoav Shapira > > >> > > >> > > >> > > >> > > >> > > >> This e-mail, including any attachments, is a > > >> confidential business communication, and may > > contain > > >> information that is confidential, proprietary > > and/or > > >> privileged. This e-mail is intended only for the > > >> individual(s) to whom it is addressed, and may > > not > > >> be saved, copied, printed, disclosed or used by > > >> anyone else. If you are not the(an) intended > > >> recipient, please immediately delete this e-mail > > >> from your computer system and notify the sender. > > >> Thank you. > > >> > > >> > > >> > > > >--------------------------------------------------------------------- > > >> To unsubscribe, e-mail: > > >> [EMAIL PROTECTED] > > >> For additional commands, e-mail: > > >> [EMAIL PROTECTED] > > >> > > > > > > > > >===== > > >--------------------------- > > >Philip G. Baruc > > >[EMAIL PROTECTED] > > > > > >__________________________________ > > >Do you Yahoo!? > > >Yahoo! Tax Center - File online by April 15th > > >http://taxes.yahoo.com/filing.html > > > > > > >--------------------------------------------------------------------- > > >To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > >For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > This e-mail, including any attachments, is a > > confidential business communication, and may contain > > information that is confidential, proprietary and/or > > privileged. This e-mail is intended only for the > > individual(s) to whom it is addressed, and may not > > be saved, copied, printed, disclosed or used by > > anyone else. If you are not the(an) intended > > recipient, please immediately delete this e-mail > > from your computer system and notify the sender. > > Thank you. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > ===== > --------------------------- > Philip G. Baruc > [EMAIL PROTECTED] > > __________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online by April 15th > http://taxes.yahoo.com/filing.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]