[EMAIL PROTECTED] wrote:
Modified: 
cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/resources/META-INF/cocoon/spring/cocoon-servlet-service-block-servlet-map.xml
URL: 
http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/resources/META-INF/cocoon/spring/cocoon-servlet-service-block-servlet-map.xml?rev=640476&r1=640475&r2=640476&view=diff
==============================================================================
--- 
cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/resources/META-INF/cocoon/spring/cocoon-servlet-service-block-servlet-map.xml
 (original)
+++ 
cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/resources/META-INF/cocoon/spring/cocoon-servlet-service-block-servlet-map.xml
 Mon Mar 24 10:27:24 2008
@@ -29,4 +29,15 @@
                            type="javax.servlet.Servlet"
                            has-properties="mountPath"
                            key-property="mountPath"/>
+ + <bean id="org.apache.cocoon.servletservice.URLStreamFactoryInstaller" class="org.apache.cocoon.servletservice.URLStreamFactoryInstaller"
+          scope="singleton" init-method="init">
+      <property name="globalSourceFactories">
+        <!-- only blockcontext and file protocols are supported by SSF -->
+        <map>
+            <entry key="file" 
value-ref="org.apache.excalibur.source.SourceFactory/file"/>
+            <entry key="blockcontext" 
value-ref="org.apache.excalibur.source.SourceFactory/blockcontext"/>
+        </map>
+      </property>
+    </bean>
 </beans>

Out of curiosity: Where is org.apache.excalibur.source.SourceFactory/blockcontext being setup?

--
Reinhard Pötz                            Managing Director, {Indoqa} GmbH
                          http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair        [EMAIL PROTECTED]
_________________________________________________________________________

Reply via email to