try {
XMLByteStreamCompiler serializer = new XMLByteStreamCompiler();
Source source = session.resolveURI(uri, this.resolver);
LoaderThread loader = new LoaderThread(source, serializer);
final RunnableManager runnableManager = (RunnableManager)this.manager.lookup( RunnableManager.ROLE );
session.add(uri, loader);
runnableManager.execute( new CocoonRunnable(loader) );
this.manager.release( runnableManager );
if (this.getLogger().isDebugEnabled()) {
this.getLogger().debug("Thread started for " + uri);
}
} catch (ServiceException ce) {