User: janb
Date: 02/03/03 17:38:54
Modified: jetty/src/main/org/jboss/jetty
JBossWebApplicationContext.java
Log:
Update Jetty version (mainly for fix to force creation of a mortbay context class
loader for all webapps).
Revision Changes Path
1.30 +9 -7
contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java
Index: JBossWebApplicationContext.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- JBossWebApplicationContext.java 24 Feb 2002 14:10:47 -0000 1.29
+++ JBossWebApplicationContext.java 4 Mar 2002 01:38:54 -0000 1.30
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: JBossWebApplicationContext.java,v 1.29 2002/02/24 14:10:47 jules_gosnell
Exp $
+// $Id: JBossWebApplicationContext.java,v 1.30 2002/03/04 01:38:54 janb Exp $
// A Jetty HttpServer with the interface expected by JBoss'
// J2EEDeployer...
@@ -154,12 +154,14 @@
protected void initClassLoader()
throws java.net.MalformedURLException, IOException
- {
- super.initClassLoader();
-
- ClassLoader _loader=getClassLoader();
- if (_loader instanceof org.mortbay.http.ContextLoader)
-
((org.mortbay.http.ContextLoader)_loader).setJava2Compliant(_jetty.getJava2ClassLoadingCompliance());
+ {
+ // force the creation of a context class loader for JBoss
+ // web apps
+ super.initClassLoader(true);
+
+ ClassLoader _loader=getClassLoader();
+ if (_loader instanceof org.mortbay.http.ContextLoader)
+
((org.mortbay.http.ContextLoader)_loader).setJava2Compliant(_jetty.getJava2ClassLoadingCompliance());
}
String _separator=System.getProperty("path.separator");
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development