Re: weblogic URL("resource:///..") problem
Chris Burdess <[email protected]> Fri, 7 May 2004 10:30:35 +0100
| Newsgroups | gmane.linux.redhat.ccm.general |
|---|---|
| Message-ID | <[email protected]> |
Dennis Gregorovic wrote: > sun.net.www.protocol.resource.Handler is the URL protocol handler for > resource://. This class is part of WAF. You're right. You appear to be unaware that this is a violation of the EULA for the Java runtime: http://java.sun.com/j2se/1.4.2/j2sdk-1_4_2_04-license.txt See the last sentence of section D of "Supplemental Licence Terms". As such, you are prohibited from distributing CCM under the current licences (CCM Public Licence and GPL), and you need to issue a recall for all versions already distributed in which this class exists. Technically, it is not difficult to solve this problem. Instead of using "resource:" URLs, you need to use the Class or ClassLoader getResource() and/or getResourceAsStream() methods. Alternatively, you can set the system property java.protocol.handler.pkgs to include the package (in a suitable non-"sun" namespace) with the "Handler" class that you want to handle the "resource:" URL scheme. This property was documented in the API for Java 1.2 and is implemented in GNU Classpath, but is not documented in recent Sun versions and therefore may not work either in those versions or in the future, so the first solution is preferable. What are your plans as regards a new release that resolves this problem, especially regarding the APLAWS+ distribution under GPL? -- Redhat-ccm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/redhat-ccm-list Archives: https://www.redhat.com/pipermail/redhat-ccm-list/