cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19282] - [PATCH] CocoonComponentManager must be loaded in own classloader
Date Thu, 24 Apr 2003 18:30:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19282>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19282

[PATCH] CocoonComponentManager must be loaded in own classloader





------- Additional Comments From leo.sutic@inspireinfrastructure.com  2003-04-24 18:30 -------
Ooops.

@@ -258,12 +259,13 @@
             org.apache.excalibur.source.Source source = resolver.resolveURI( 
xconfURL );
             try {
                 SAXConfigurationHandler handler = new SAXConfigurationHandler
();
-                SourceUtil.toSAX(source, handler);
+                SourceUtil.toSAX(manager, source, null, handler);
                 builtin = handler.getConfiguration();
             } finally {
                 resolver.release( source );
             }
         } catch(Exception e) {
+            e.printStackTrace ();
             String msg = "Error while reading " + xconfURL + ": " + 
e.getMessage();
             throw new ConfigurationException(msg, e);
         } finally {


The e.printStackTrace (); was supposed to be removed.

Mime
View raw message