Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 90396 invoked from network); 4 Feb 2005 22:00:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Feb 2005 22:00:42 -0000 Received: (qmail 94956 invoked by uid 500); 4 Feb 2005 22:00:27 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 94940 invoked by uid 500); 4 Feb 2005 22:00:27 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 94927 invoked by uid 99); 4 Feb 2005 22:00:27 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO [127.0.0.1]) (209.237.227.194) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Feb 2005 14:00:26 -0800 Message-ID: <4203F079.2020100@apache.org> Date: Fri, 04 Feb 2005 22:00:25 +0000 From: Mark Thomas User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: pluggable protocols in web apps References: <8DF2F537FB6E7948BE469827A1CBE2984E2675@sanexch.uniqueno.root> In-Reply-To: <8DF2F537FB6E7948BE469827A1CBE2984E2675@sanexch.uniqueno.root> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N No useful info at the moment but this looks a lot like bug 10982 (http://issues.apache.org/bugzilla/show_bug.cgi?id=10982) that I am just starting to look at. Keep an eye on this bug report. If I make any progress I will update it. Mark Martin Goldhahn wrote: > We use pluggable protocols to access resources. These don't seem to work > with the class loading scheme Tomcat is using. Having a class > no.mycomp.protocols.myprot.Handler I do the following: > 1. prepend "no.mycomp.protocols|" to the system property > "java.protocol.handler.pkgs" > 2. create a URL with URL u = new URL("myprot://whatever"); > I get a MalformedUrlException: unknown protocol myprot > When I debug the code I see that the call Class.forName(....) in > URL.getURLStreamHandler() fails (The one in the try block). After that > the System class loader cannot load my protocol handler either. > > Is ther a way to get this working. perferably without moving archives to > Tomcat's common\ or Java's endorsed path? > > Martin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org