Author: norman
Date: Sat Oct 9 10:47:42 2010
New Revision: 1006132
URL: http://svn.apache.org/viewvc?rev=1006132&view=rev
Log:
Don't start Jackrabbit by default. Just waste of memory in default configuration
Modified:
james/server/trunk/spring-deployment/src/main/config/james/mailstore.xml
james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
Modified:
james/server/trunk/spring-deployment/src/main/config/james/mailstore.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/mailstore.xml?rev=1006132&r1=1006131&r2=1006132&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/src/main/config/james/mailstore.xml
(original)
+++ james/server/trunk/spring-deployment/src/main/config/james/mailstore.xml
Sat Oct 9 10:47:42 2010
@@ -107,7 +107,9 @@
<model>CACHE</model>
</models>
</repository>
-
+
+ <!-- If you enable this you need to make sure that embedded Jackrabbit
instance is started as well. Check the container configuration -->
+ <!--
<repository class="org.apache.james.mailrepository.JCRMailRepository">
<protocols>
<protocol>jcr</protocol>
@@ -122,5 +124,6 @@
<workspace>default</workspace>
</config>
</repository>
+ -->
</repositories>
</mailstore>
\ No newline at end of file
Modified:
james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml?rev=1006132&r1=1006131&r2=1006132&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
(original)
+++ james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
Sat Oct 9 10:47:42 2010
@@ -346,6 +346,7 @@
<!-- JCR implementation of IMAP Storage-->
+ <!-- Make sure that Jackrabbit is configured as well -->
<!--
<bean id="imapCndLoader"
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject"><ref local="jcrUtils"/></property>
@@ -427,15 +428,16 @@
</bean>
<!-- Jackrabbit JCR Repository -->
+ <!--
<bean id="jcrRepository" class="org.apache.jackrabbit.core.RepositoryImpl"
destroy-method="shutdown">
<constructor-arg index="0" ref="config" />
</bean>
- <!-- Jackrabbit config -->
<bean id="config"
class="org.apache.jackrabbit.core.config.RepositoryConfig"
factory-method="create">
<constructor-arg index="0"
value="filesystem=file://conf/jcr-repository.xml"/>
<constructor-arg index="1" value="filesystem=file://var/jackrabbit" />
</bean>
+ -->
<!-- ####################################################################
-->
</beans>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]