notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1033 - trunk/main/planet/web/server/src/main/net/dpml/web/server
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1033 - trunk/main/planet/web/server/src/main/net/dpml/web/server
- Date: Sun, 5 Feb 2006 10:06:18 +0100
Author: mcconnell
Date: 2006-02-05 10:06:17 +0100 (Sun, 05 Feb 2006)
New Revision: 1033
Modified:
trunk/main/planet/web/server/src/main/net/dpml/web/server/Server.java
Log:
housekeeping
Modified:
trunk/main/planet/web/server/src/main/net/dpml/web/server/Server.java
===================================================================
--- trunk/main/planet/web/server/src/main/net/dpml/web/server/Server.java
2006-02-05 08:50:36 UTC (rev 1032)
+++ trunk/main/planet/web/server/src/main/net/dpml/web/server/Server.java
2006-02-05 09:06:17 UTC (rev 1033)
@@ -88,7 +88,7 @@
Thread.currentThread().setContextClassLoader(
getClass().getClassLoader() );
if( null != uri )
{
- getLogger().info( "configuration: " + uri );
+ getLogger().debug( "server configuration: " + uri );
URL url = uri.toURL();
XmlConfiguration config = new XmlConfiguration( url );
config.configure( this );
@@ -112,21 +112,17 @@
// check for any internal parts that are context handlers
//
- getLogger().info( "# START HANDLER ADDITION" );
+ getLogger().debug( "commencing context handler addition" );
ComponentHandler[] handlers = parts.getComponentHandlers(
org.mortbay.jetty.handler.ContextHandler.class );
for( int i=0; i<handlers.length; i++ )
{
- getLogger().info( "# HANDLER START " + (i+1) );
ComponentHandler handler = handlers[i];
+ getLogger().info( "adding handler: " + handler );
try
{
- getLogger().info( "# A" );
handler.getContextMap().put( "server", this );
- getLogger().info( "# B" );
Provider provider = handler.getProvider();
- getLogger().info( "# C" );
ContextHandler ch = (ContextHandler) provider.getValue(
false );
- getLogger().info( "# D" );
super.addHandler( ch );
}
catch( Throwable e )
@@ -135,11 +131,8 @@
"Failed to deploy content handler: " + handler;
throw new Exception( error, e );
}
- getLogger().info( "# HANDLER DONE " + (i+1) );
}
- getLogger().info( "# STOP HANDLER ADDITION" );
-
- getLogger().debug( "http server is configured" );
+ getLogger().debug( "server established" );
}
/*
- r1033 - trunk/main/planet/web/server/src/main/net/dpml/web/server, mcconnell at BerliOS, 02/05/2006
Archive powered by MHonArc 2.6.24.