greenrd 00/12/12 08:08:04
Modified: . changes.xml
src/org/apache/cocoon Cocoon.java
Log:
workaround for websphere classloader: URL handler bug
Revision Changes Path
1.164 +5 -1 xml-cocoon/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/changes.xml,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -r1.163 -r1.164
--- changes.xml 2000/12/11 11:33:19 1.163
+++ changes.xml 2000/12/12 16:07:59 1.164
@@ -4,7 +4,7 @@
<!--
History of Cocoon changes
- $Id: changes.xml,v 1.163 2000/12/11 11:33:19 greenrd Exp $
+ $Id: changes.xml,v 1.164 2000/12/12 16:07:59 greenrd Exp $
-->
<changes title="History of Changes">
@@ -18,6 +18,10 @@
</devs>
<release version="@version@" date="@date@">
+ <action dev="RDG" type="fix" due-to="Berin Loritsch"
+ due-to-email="[EMAIL PROTECTED]">
+ Workaround for Websphere classloader: URL handler bug
+ </action>
<action dev="RDG" type="add">
Added encoding support to util:get-file-contents and various similar
XSPUtil methods
1.18 +10 -2 xml-cocoon/src/org/apache/cocoon/Cocoon.java
Index: Cocoon.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Cocoon.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Cocoon.java 2000/11/16 17:31:53 1.17
+++ Cocoon.java 2000/12/12 16:08:02 1.18
@@ -1,4 +1,4 @@
-/*-- $Id: Cocoon.java,v 1.17 2000/11/16 17:31:53 greenrd Exp $ --
+/*-- $Id: Cocoon.java,v 1.18 2000/12/12 16:08:02 greenrd Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -64,10 +64,18 @@
* separate different knowledge contexts in different processing layers.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
- * @version $Revision: 1.17 $ $Date: 2000/11/16 17:31:53 $
+ * @version $Revision: 1.18 $ $Date: 2000/12/12 16:08:02 $
*/
public class Cocoon extends HttpServlet implements Defaults {
+
+ // Quick workaround for Websphere bug
+ static {
+ try {
+ Class.forName ("com.ibm.servlet.classloader.Handler");
+ }
+ catch (Throwable t) {} // ignore
+ }
Engine engine = null;
String message = null;